Blame SPECS/voikko-fi.spec

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