Blame SPECS/voikko-fi.spec

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