From c5bd311a5a37ac73df930a4547438e26c14a7776 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 16:39:29 +0000 Subject: [PATCH 01/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index f976d77..8731bed 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -2,7 +2,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 15%{?dist} +Release: 16%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell/* %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.20070116-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 0.20070116-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 60951e9172189ea8b782f8175daa116396ea8c04 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 05:12:23 +0000 Subject: [PATCH 02/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 8731bed..c79759d 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -2,7 +2,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 16%{?dist} +Release: 17%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell/* %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.20070116-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 0.20070116-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From ab70ca9c050483efa36c23b1da1db757e522e397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 5 Nov 2018 23:50:36 +0100 Subject: [PATCH 03/24] Use C.UTF-8 locale --- hunspell-fa.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index c79759d..d6bea18 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -2,7 +2,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 17%{?dist} +Release: 18%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -19,7 +19,7 @@ Farsi hunspell dictionaries. %setup -q -n aspell6-fa-0.11-0 %build -export LANG=fa_IR.utf8 +export LANG=C.UTF-8 preunzip -d *.cwl cat *.wl > farsi.wordlist wordlist2hunspell farsi.wordlist fa_IR @@ -34,6 +34,10 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell/* %changelog +* Mon Nov 05 2018 Zbigniew Jędrzejewski-Szmek - 0.20070116-18 +- Use C.UTF-8 locale + See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot + * Fri Jul 13 2018 Fedora Release Engineering - 0.20070116-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 6cfb7a0c5f3797201cc569dfe358d3e8a32dc1a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 18 Nov 2018 22:49:28 +0100 Subject: [PATCH 04/24] Use C.UTF-8 locale --- hunspell-fa.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index d6bea18..f3cfba9 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -2,7 +2,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 18%{?dist} +Release: 19%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -34,6 +34,10 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell/* %changelog +* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 0.20070116-19 +- Use C.UTF-8 locale + See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot + * Mon Nov 05 2018 Zbigniew Jędrzejewski-Szmek - 0.20070116-18 - Use C.UTF-8 locale See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot From 812c76613d3df167402f6e81f335e8402a67fff0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 02:35:38 +0000 Subject: [PATCH 05/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index f3cfba9..90324e9 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -2,7 +2,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 19%{?dist} +Release: 20%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell/* %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 0.20070116-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 0.20070116-19 - Use C.UTF-8 locale See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot From 8b1531e9c17c44b4ae0e799c6ed74fb7d14feb01 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 08:45:20 +0000 Subject: [PATCH 06/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 90324e9..a30ba65 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -2,7 +2,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 20%{?dist} +Release: 21%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell/* %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.20070116-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Feb 01 2019 Fedora Release Engineering - 0.20070116-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From ff401d5338bfc41295b3e6190cf36b7e4f274907 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 04:36:15 +0000 Subject: [PATCH 07/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index a30ba65..7bd7240 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -2,7 +2,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 21%{?dist} +Release: 22%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell/* %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 0.20070116-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Fedora Release Engineering - 0.20070116-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From cf399dc634c84c5146c3ced87bc3bdbaaa1bab79 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 01:07:37 +0000 Subject: [PATCH 08/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 7bd7240..fd31a7f 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -2,7 +2,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 22%{?dist} +Release: 23%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell/* %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 0.20070116-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jan 29 2020 Fedora Release Engineering - 0.20070116-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 670933189e87be1a69009ed83365075d259cf3d6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 13:42:44 +0000 Subject: [PATCH 09/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index fd31a7f..db41f75 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -2,7 +2,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 23%{?dist} +Release: 24%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell/* %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.20070116-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 0.20070116-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 9bd907bfe9479153eab43d9ffb62984eaaf302a3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 07:52:28 +0000 Subject: [PATCH 10/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index db41f75..0fb193d 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -2,7 +2,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 24%{?dist} +Release: 25%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell/* %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.20070116-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.20070116-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 14571e57a407b70ff627175969a8ac0c106cdd2e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 12:35:58 +0000 Subject: [PATCH 11/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 0fb193d..b1a4da4 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -2,7 +2,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 25%{?dist} +Release: 26%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell/* %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.20070116-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 0.20070116-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 8f8d102cc904879da3ae498441b3f6db11a28128 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 22 Mar 2022 11:22:29 +0530 Subject: [PATCH 12/24] Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem --- hunspell-fa.spec | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index b1a4da4..e77e08c 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -1,15 +1,21 @@ +%if 0%{?fedora} >= 36 || 0%{?rhel} > 9 +%global dict_dirname hunspell +%else +%global dict_dirname myspell +%endif + Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 26%{?dist} +Release: 27%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ BuildArch: noarch BuildRequires: aspell, hunspell-devel -Requires: hunspell +Requires: hunspell-filesystem Supplements: (hunspell and langpacks-fa) %description @@ -25,15 +31,19 @@ cat *.wl > farsi.wordlist wordlist2hunspell farsi.wordlist fa_IR %install -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %files %doc COPYING Copyright doc/README doc/ChangeLog -%{_datadir}/myspell/* +%{_datadir}/%{dict_dirname}/* %changelog +* Tue Mar 22 2022 Parag Nemade - 0.20070116-27 +- Add conditional for new hunspell dir path and update to Requires: + hunspell-filesystem + * Thu Jan 20 2022 Fedora Release Engineering - 0.20070116-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 910ed927c56b4c863beb7058413d37607bba1cc7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 13:55:05 +0000 Subject: [PATCH 13/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index e77e08c..490e00e 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -8,7 +8,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 27%{?dist} +Release: 28%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -40,6 +40,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 0.20070116-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Tue Mar 22 2022 Parag Nemade - 0.20070116-27 - Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem From 36ec34bd3f64c82f546db4dd9841606cd3e10ee5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 12:24:03 +0000 Subject: [PATCH 14/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 490e00e..08b1348 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -8,7 +8,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 28%{?dist} +Release: 29%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPLv2+ @@ -40,6 +40,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 0.20070116-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 0.20070116-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 55627d4451979f3d45fdcc9e811ba60e46857e8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 22 Feb 2023 11:39:24 +0000 Subject: [PATCH 15/24] migrated to SPDX license --- hunspell-fa.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 08b1348..2b5addc 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -8,10 +8,10 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 29%{?dist} +Release: 30%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ -License: GPLv2+ +License: GPL-2.0-or-later BuildArch: noarch BuildRequires: aspell, hunspell-devel @@ -40,6 +40,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Wed Feb 22 2023 Caolán McNamara - 0.20070116-30 +- migrated to SPDX license + * Thu Jan 19 2023 Fedora Release Engineering - 0.20070116-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 4c4821c972968163a22bfe1c9802a47ffb3ae961 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 06:36:47 +0000 Subject: [PATCH 16/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 2b5addc..8bb3258 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -8,7 +8,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 30%{?dist} +Release: 31%{?dist} Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 URL: http://aspell.net/ License: GPL-2.0-or-later @@ -40,6 +40,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 0.20070116-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Feb 22 2023 Caolán McNamara - 0.20070116-30 - migrated to SPDX license From 9ca664ccfabe33505095f6c24a6b14300e114d6d Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 8 Aug 2023 17:01:18 +0530 Subject: [PATCH 17/24] Use new source archive generated using Farsi aspell dictionary Resolves:rhbz#2218158 - Drop dependency on aspell --- .gitignore | 1 + generate-source.sh | 23 +++++++++++++++++++++++ hunspell-fa.spec | 20 ++++++++++---------- sources | 2 +- 4 files changed, 35 insertions(+), 11 deletions(-) create mode 100644 generate-source.sh diff --git a/.gitignore b/.gitignore index 7b0caca..56f5d11 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ aspell6-fa-0.11-0.tar.bz2 +/hunspell-fa-0.11.tar.bz2 diff --git a/generate-source.sh b/generate-source.sh new file mode 100644 index 0000000..98bc173 --- /dev/null +++ b/generate-source.sh @@ -0,0 +1,23 @@ +# This script generate Farsi wordlist for hunspell +# This requires aspell wordlist tarball and aspell installed on your system +# Aspell is depreacted in Fedora due to https://fedoraproject.org/wiki/Changes/AspellDeprecation + +wget ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 +tar -jxvf aspell6-fa-0.11-0.tar.bz2 +cd aspell6-fa-0.11-0 +export LANG=C.UTF-8 +preunzip -d *.cwl +cat *.wl > farsi.wordlist +wordlist2hunspell farsi.wordlist fa_IR +cp -p fa.dat fa_IR.aff +cd .. +mkdir hunspell-fa-0.11 +cd hunspell-fa-0.11 +cp -p ../aspell6-fa-0.11-0/COPYING ../aspell6-fa-0.11-0/Copyright ../aspell6-fa-0.11-0/README ../aspell6-fa-0.11-0/doc/ChangeLog . +cp -p ../aspell6-fa-0.11-0/fa_IR.* . +cat > README.fedora << EOF +This source tarball has been created using aspell6-fa-0.11-0 tarball and wordlist2hunspell script. +EOF +cd .. +tar -cf hunspell-fa-0.11.tar hunspell-fa-0.11 +bzip2 hunspell-fa-0.11.tar diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 8bb3258..8abec87 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -9,11 +9,11 @@ Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} Release: 31%{?dist} -Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 -URL: http://aspell.net/ +# This source is generated by generate-source.sh using aspell dictionary +Source: hunspell-fa-0.11.tar.bz2 +URL: http://ftp.gnu.org/gnu/aspell/dict/fa License: GPL-2.0-or-later BuildArch: noarch -BuildRequires: aspell, hunspell-devel Requires: hunspell-filesystem Supplements: (hunspell and langpacks-fa) @@ -22,24 +22,24 @@ Supplements: (hunspell and langpacks-fa) Farsi hunspell dictionaries. %prep -%setup -q -n aspell6-fa-0.11-0 +%setup -q -n hunspell-fa-0.11 %build -export LANG=C.UTF-8 -preunzip -d *.cwl -cat *.wl > farsi.wordlist -wordlist2hunspell farsi.wordlist fa_IR +# nothing to build here %install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} - %files -%doc COPYING Copyright doc/README doc/ChangeLog +%doc COPYING Copyright README ChangeLog %{_datadir}/%{dict_dirname}/* %changelog +* Tue Aug 08 2023 Parag Nemade - 0.20070116-32 +- Use new source archive generated using Farsi aspell dictionary +- Resolves:rhbz#2218158 - Drop dependency on aspell + * Thu Jul 20 2023 Fedora Release Engineering - 0.20070116-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index c8c3339..66ea6dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -47c8599e529fc291a096c12f0b8372ca aspell6-fa-0.11-0.tar.bz2 +SHA512 (hunspell-fa-0.11.tar.bz2) = c566a808f8c6e91e674ae32a70ac9b22e4571037e3e24957ef71237aa4fdbb0520f0315932ec104c805a15d2e674cd52c848a61f19d09a24aac51472edf2d48a From 7e6c97af7e6022f0a075b382a6f82c000e254d88 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 8 Aug 2023 17:07:19 +0530 Subject: [PATCH 18/24] bump the missed release tag --- hunspell-fa.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 8abec87..76a50f8 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -8,7 +8,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 31%{?dist} +Release: 32%{?dist} # This source is generated by generate-source.sh using aspell dictionary Source: hunspell-fa-0.11.tar.bz2 URL: http://ftp.gnu.org/gnu/aspell/dict/fa From 20911cee85095369425060a3d8eb46fb1824d086 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jan 2024 22:21:19 +0000 Subject: [PATCH 19/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 76a50f8..d34ee94 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -8,7 +8,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 32%{?dist} +Release: 33%{?dist} # This source is generated by generate-source.sh using aspell dictionary Source: hunspell-fa-0.11.tar.bz2 URL: http://ftp.gnu.org/gnu/aspell/dict/fa @@ -36,6 +36,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Sat Jan 20 2024 Fedora Release Engineering - 0.20070116-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Tue Aug 08 2023 Parag Nemade - 0.20070116-32 - Use new source archive generated using Farsi aspell dictionary - Resolves:rhbz#2218158 - Drop dependency on aspell From 15239826a49aa8f896418af3d35910af858558d3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jan 2024 21:56:22 +0000 Subject: [PATCH 20/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index d34ee94..64bf323 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -8,7 +8,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 33%{?dist} +Release: 34%{?dist} # This source is generated by generate-source.sh using aspell dictionary Source: hunspell-fa-0.11.tar.bz2 URL: http://ftp.gnu.org/gnu/aspell/dict/fa @@ -36,6 +36,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Wed Jan 24 2024 Fedora Release Engineering - 0.20070116-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jan 20 2024 Fedora Release Engineering - 0.20070116-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 0bbcc0b54b33baa63ef097d566386ea6f26601f7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 09:32:00 +0000 Subject: [PATCH 21/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 64bf323..163d54c 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -8,7 +8,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 34%{?dist} +Release: 35%{?dist} # This source is generated by generate-source.sh using aspell dictionary Source: hunspell-fa-0.11.tar.bz2 URL: http://ftp.gnu.org/gnu/aspell/dict/fa @@ -36,6 +36,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 0.20070116-35 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Jan 24 2024 Fedora Release Engineering - 0.20070116-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 470644ed8c2051b640889f979c02bfe509511585 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 10 Dec 2024 08:48:18 +0530 Subject: [PATCH 22/24] Add tmt CI testcase --- .fmf/version | 1 + plans/hunspell-fa.fmf | 5 +++++ tests/test_dic_availability.fmf | 6 ++++++ tests/test_dic_availability.py | 10 ++++++++++ tests/test_suggest_words.fmf | 6 ++++++ tests/test_suggest_words.py | 9 +++++++++ 6 files changed, 37 insertions(+) create mode 100644 .fmf/version create mode 100644 plans/hunspell-fa.fmf create mode 100644 tests/test_dic_availability.fmf create mode 100644 tests/test_dic_availability.py create mode 100644 tests/test_suggest_words.fmf create mode 100644 tests/test_suggest_words.py diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/hunspell-fa.fmf b/plans/hunspell-fa.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/hunspell-fa.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt diff --git a/tests/test_dic_availability.fmf b/tests/test_dic_availability.fmf new file mode 100644 index 0000000..c1db0c6 --- /dev/null +++ b/tests/test_dic_availability.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-fa +test: python3 test_dic_availability.py +framework: shell + diff --git a/tests/test_dic_availability.py b/tests/test_dic_availability.py new file mode 100644 index 0000000..5e6f9a7 --- /dev/null +++ b/tests/test_dic_availability.py @@ -0,0 +1,10 @@ +#!/usr/bin/python3 + +import enchant + +lang = "fa_IR" +try: + dic = enchant.request_dict(lang) + print("Dictionary for {0} language is available for use".format(lang)) +except enchant.errors.DictNotFoundError: + print("Dictionary is not installed for use") diff --git a/tests/test_suggest_words.fmf b/tests/test_suggest_words.fmf new file mode 100644 index 0000000..21eb703 --- /dev/null +++ b/tests/test_suggest_words.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-fa +test: python3 test_suggest_words.py +framework: shell + diff --git a/tests/test_suggest_words.py b/tests/test_suggest_words.py new file mode 100644 index 0000000..06a9e44 --- /dev/null +++ b/tests/test_suggest_words.py @@ -0,0 +1,9 @@ +#!/usr/bin/python3 + +import enchant + +wdlst = [ "Hey", "te", "morgun"] +dic = enchant.Dict("fa_IR") +for wd in wdlst: + dic.check(wd) + print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd))) From 2d60ee42939aa7a117b9d0b3c856b26a58c1cd53 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 06:14:09 +0000 Subject: [PATCH 23/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 163d54c..5bda503 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -8,7 +8,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 35%{?dist} +Release: 36%{?dist} # This source is generated by generate-source.sh using aspell dictionary Source: hunspell-fa-0.11.tar.bz2 URL: http://ftp.gnu.org/gnu/aspell/dict/fa @@ -36,6 +36,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 0.20070116-36 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 18 2024 Fedora Release Engineering - 0.20070116-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From ef7cc947e4dbfaf3743f2397328ae8a57ed259e9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 17:11:18 +0000 Subject: [PATCH 24/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- hunspell-fa.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-fa.spec b/hunspell-fa.spec index 5bda503..1a2b76b 100644 --- a/hunspell-fa.spec +++ b/hunspell-fa.spec @@ -8,7 +8,7 @@ Name: hunspell-fa Summary: Farsi hunspell dictionaries %global upstreamid 20070116 Version: 0.%{upstreamid} -Release: 36%{?dist} +Release: 37%{?dist} # This source is generated by generate-source.sh using aspell dictionary Source: hunspell-fa-0.11.tar.bz2 URL: http://ftp.gnu.org/gnu/aspell/dict/fa @@ -36,6 +36,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 0.20070116-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jan 17 2025 Fedora Release Engineering - 0.20070116-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild