|
|
26d9f6 |
Name: voikko-fi
|
|
|
26d9f6 |
Version: 2.4
|
|
|
26d9f6 |
Release: 5%{?dist}
|
|
|
26d9f6 |
Summary: A description of Finnish morphology written for libvoikko
|
|
|
26d9f6 |
|
|
|
26d9f6 |
License: GPLv2+
|
|
|
26d9f6 |
URL: https://voikko.puimula.org/
|
|
|
26d9f6 |
|
|
|
26d9f6 |
# See https://voikko.puimula.org/sources.html for the key fingerprint.
|
|
|
26d9f6 |
# I did
|
|
|
26d9f6 |
# gpg --recv-keys "AC5D 65F1 0C85 96D7 E2DA E263 3D30 9B60 4AE3 942E"
|
|
|
26d9f6 |
# and then
|
|
|
26d9f6 |
# gpg2 --export --export-options export-minimal AC5D65F10C8596D7E2DAE2633D309B604AE3942E > gpgkey-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg
|
|
|
26d9f6 |
Source0: https://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz
|
|
|
26d9f6 |
Source1: https://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz.asc
|
|
|
26d9f6 |
Source2: gpgkey-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg
|
|
|
26d9f6 |
|
|
|
26d9f6 |
BuildRequires: make
|
|
|
26d9f6 |
BuildRequires: gnupg2
|
|
|
26d9f6 |
BuildRequires: python3-devel
|
|
|
26d9f6 |
BuildRequires: foma
|
|
|
26d9f6 |
# Voikko 4.3 and beyond on Fedora supports this format of the data files
|
|
|
26d9f6 |
BuildRequires: voikko-tools >= 4.3
|
|
|
26d9f6 |
|
|
|
26d9f6 |
# Installing this package without libvoikko would be useless.
|
|
|
26d9f6 |
Requires: libvoikko >= 4.3
|
|
|
26d9f6 |
|
|
|
26d9f6 |
BuildArch: noarch
|
|
|
26d9f6 |
|
|
|
26d9f6 |
# This package replaces malaga-suomi-voikko
|
|
|
26d9f6 |
Provides: malaga-suomi-voikko = %{version}-%{release}
|
|
|
26d9f6 |
Obsoletes: malaga-suomi-voikko < 1.19-20
|
|
|
26d9f6 |
|
|
|
26d9f6 |
%description
|
|
|
26d9f6 |
Voikko-fi is a description of Finnish morphology written for libvoikko.
|
|
|
26d9f6 |
The implementation uses unweighted VFST format and provides format 5 Finnish
|
|
|
26d9f6 |
dictionary for libvoikko 4.0 or later. For Voikko the morphology supports
|
|
|
26d9f6 |
spell checking, hyphenation and grammar checking.
|
|
|
26d9f6 |
|
|
|
26d9f6 |
%prep
|
|
|
26d9f6 |
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
26d9f6 |
%autosetup
|
|
|
26d9f6 |
|
|
|
26d9f6 |
%build
|
|
|
26d9f6 |
%make_build vvfst
|
|
|
26d9f6 |
|
|
|
26d9f6 |
%install
|
|
|
26d9f6 |
# Upstream uses /usr/lib/voikko as the data file location.
|
|
|
26d9f6 |
# Zbigniew Jędrzejewski-Szmek recommended using the upstream default on the
|
|
|
26d9f6 |
# mailing list, see
|
|
|
26d9f6 |
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/GY6NGGNLK5DIDXOXVGBDA5QONISQOFL7/
|
|
|
26d9f6 |
make vvfst-install DESTDIR=$RPM_BUILD_ROOT%{_prefix}/lib/voikko
|
|
|
26d9f6 |
|
|
|
26d9f6 |
|
|
|
26d9f6 |
%files
|
|
|
26d9f6 |
%doc ChangeLog CONTRIBUTORS README.md
|
|
|
26d9f6 |
%license COPYING
|
|
|
26d9f6 |
%{_prefix}/lib/voikko/5
|
|
|
26d9f6 |
|
|
|
26d9f6 |
%changelog
|
|
|
26d9f6 |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.4-5
|
|
|
26d9f6 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
26d9f6 |
Related: rhbz#1991688
|
|
|
26d9f6 |
|
|
|
26d9f6 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.4-4
|
|
|
26d9f6 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
26d9f6 |
|
|
|
26d9f6 |
* Sat Jan 30 2021 Ville-Pekka Vainio <vpvainio AT iki.fi> - 2.4-3
|
|
|
26d9f6 |
- More review fixes:
|
|
|
26d9f6 |
- BuildRequire python3-devel
|
|
|
26d9f6 |
|
|
|
26d9f6 |
* Sat Jan 30 2021 Ville-Pekka Vainio <vpvainio AT iki.fi> - 2.4-2
|
|
|
26d9f6 |
- Review fixes:
|
|
|
26d9f6 |
- Fix Obsoletes
|
|
|
26d9f6 |
- Use the prefix macro in the dictionary path
|
|
|
26d9f6 |
- Use the license macro
|
|
|
26d9f6 |
- Do not own the whole data directory, just the version 5 subdirectory
|
|
|
26d9f6 |
|
|
|
26d9f6 |
* Sat Jan 16 2021 Ville-Pekka Vainio <vpvainio AT iki.fi> - 2.4-1
|
|
|
26d9f6 |
- Initial package
|