commit 6392652e0a9d103e81dbd0cc0f478c9ded86686e Author: MSVSphere Packaging Team Date: Fri Oct 25 19:52:03 2024 +0300 import voikko-fi-2.5-7.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2c6beaa --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/gpgkey-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg +SOURCES/voikko-fi-2.5.tar.gz diff --git a/.voikko-fi.metadata b/.voikko-fi.metadata new file mode 100644 index 0000000..17e065f --- /dev/null +++ b/.voikko-fi.metadata @@ -0,0 +1,2 @@ +ee979ffae431d7313da3c0d9c4eca310999a95f1 SOURCES/gpgkey-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg +4cb8d2f99a9331232dc59dfc45cef15bc71fb070 SOURCES/voikko-fi-2.5.tar.gz diff --git a/SOURCES/voikko-fi-2.5.tar.gz.asc b/SOURCES/voikko-fi-2.5.tar.gz.asc new file mode 100644 index 0000000..162f3f5 --- /dev/null +++ b/SOURCES/voikko-fi-2.5.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEErF1l8QyFltfi2uJjPTCbYErjlC4FAmH2Za4ACgkQPTCbYErj +lC6L7Q//fubFrSsGsZ9nQsrneT69unM2vTFqzIrenHSaqv8hmgMpYt3kJnneO/EP +/HsgHae7UP39ogVbse8wIndxVlDz6MAG3askVzjfu+e/FYyWNVKhG4OfjBvtmric +8jCjHRDSLCeD8eerM7w3KC78ufdZlB1rrhvmNpDj2C2KKzup8zbrXiGNuBJoCPJW +TgMGXCzgqo6FJG6pJKpCoKtkWfvotLJVe1/707UtvxBctw6yuDeMm/YeldkAAxgA +pxPgPHAZGlLHuE6kamIlN/yg1gw/YLNG51FYpCUhhDV8AkziTO9wks7CkQns8p97 +O6d9j1XIpidYC+q6XJ1vyapSyrPUHvlp445sSE8GOwgq/V1CKhQOudyKSUt3H0at +yWAMaTTQzsKoKr+6IOxA8t+JUt5U1WmBR4kyxldtJlzZ1L74ACGFZYN7rxaSG79v ++vRHvqJX7Kh4d92LTdpHj0ZZE1bVstm1WrFbfCBdUh0AwC9jttZm3JXKpZw5eNK/ ++7vURVk59h7NQLzne+FOr8ValdikYXO1hjAyiZOWOlJrjDgawGGnhyFh4Q+FeQRL +1XsmDuOQU+8n18e4CKrJXXPGVjUSCouCz1ciDI0AR2NGuKvco43T6EwZLk7WW0XB +3wSjKuOi1viDX1qMFDhuTcsU+28Ng/pIIH3gUrYN7U+XRX+w9mU= +=Ytw8 +-----END PGP SIGNATURE----- diff --git a/SPECS/voikko-fi.spec b/SPECS/voikko-fi.spec new file mode 100644 index 0000000..0a19b24 --- /dev/null +++ b/SPECS/voikko-fi.spec @@ -0,0 +1,103 @@ +Name: voikko-fi +Version: 2.5 +Release: 7%{?dist} +Summary: A description of Finnish morphology written for libvoikko + +License: GPL-2.0-or-later +URL: https://voikko.puimula.org/ + +# See https://voikko.puimula.org/sources.html for the key fingerprint. +# I did +# gpg --recv-keys "AC5D 65F1 0C85 96D7 E2DA E263 3D30 9B60 4AE3 942E" +# and then +# gpg2 --export --export-options export-minimal AC5D65F10C8596D7E2DAE2633D309B604AE3942E > gpgkey-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg +Source0: https://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz +Source1: https://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz.asc +Source2: gpgkey-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg + +BuildRequires: make +BuildRequires: gnupg2 +BuildRequires: python3-devel +BuildRequires: foma +# Voikko 4.3 and beyond on Fedora supports this format of the data files +BuildRequires: voikko-tools >= 4.3 + +# Installing this package without libvoikko would be useless. +Requires: libvoikko >= 4.3 + +BuildArch: noarch + +# This package replaces malaga-suomi-voikko +Provides: malaga-suomi-voikko = %{version}-%{release} +Obsoletes: malaga-suomi-voikko < 1.19-20 + +%description +Voikko-fi is a description of Finnish morphology written for libvoikko. +The implementation uses unweighted VFST format and provides format 5 Finnish +dictionary for libvoikko 4.0 or later. For Voikko the morphology supports +spell checking, hyphenation and grammar checking. + +%prep +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' +%autosetup + +%build +%make_build vvfst + +%install +# Upstream uses /usr/lib/voikko as the data file location. +# Zbigniew Jędrzejewski-Szmek recommended using the upstream default on the +# mailing list, see +# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/GY6NGGNLK5DIDXOXVGBDA5QONISQOFL7/ +make vvfst-install DESTDIR=$RPM_BUILD_ROOT%{_prefix}/lib/voikko + + +%files +%doc ChangeLog CONTRIBUTORS README.md +%license COPYING +%{_prefix}/lib/voikko/5 + +%changelog +* Fri Oct 25 2024 MSVSphere Packaging Team - 2.5-7 +- Rebuilt for MSVSphere 10 + +* Mon Jun 24 2024 Troy Dawson - 2.5-7 +- Bump release for June 2024 mass rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 2.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 2.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 2.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Nov 30 2022 Mike FABIAN - 2.5-3 +- Migrate license tag to SPDX + +* Sat Jul 23 2022 Fedora Release Engineering - 2.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Feb 06 2022 Ville-Pekka Vainio - 2.5-1 +- New upstream release + +* Sat Jan 22 2022 Fedora Release Engineering - 2.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 2.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat Jan 30 2021 Ville-Pekka Vainio - 2.4-3 +- More review fixes: +- BuildRequire python3-devel + +* Sat Jan 30 2021 Ville-Pekka Vainio - 2.4-2 +- Review fixes: +- Fix Obsoletes +- Use the prefix macro in the dictionary path +- Use the license macro +- Do not own the whole data directory, just the version 5 subdirectory + +* Sat Jan 16 2021 Ville-Pekka Vainio - 2.4-1 +- Initial package