From a072a8a69bda8ed8dc1ab75e7c3ca2f85831f2b9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 12:48:30 +0000 Subject: [PATCH 01/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 3557d4e..f06d05d 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -1,7 +1,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 8%{?dist} +Release: 9%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -39,6 +39,9 @@ popd %{_datadir}/myspell/* %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 2.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Fri Feb 19 2016 Parag Nemade - 2.3-8 - Add Supplements: tag for langpacks naming guidelines - Clean the specfile to follow current packaging guidelines From 93d0438e69bcfc342a34dfb01d917f26ec08a75f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 12:57:33 +0000 Subject: [PATCH 02/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index f06d05d..836e95f 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -1,7 +1,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 9%{?dist} +Release: 10%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -39,6 +39,9 @@ popd %{_datadir}/myspell/* %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 2.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 10 2017 Fedora Release Engineering - 2.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From d2d180c381054785945f66ef0f1062e95db549f3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 16:36:57 +0000 Subject: [PATCH 03/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 836e95f..87babd1 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -1,7 +1,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 10%{?dist} +Release: 11%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -39,6 +39,9 @@ popd %{_datadir}/myspell/* %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 2.3-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 2.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From c0ad50f2fa20eff3c9ce96cba585c2008adcd704 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 05:10:47 +0000 Subject: [PATCH 04/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 87babd1..8ad47f7 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -1,7 +1,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 11%{?dist} +Release: 12%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -39,6 +39,9 @@ popd %{_datadir}/myspell/* %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 2.3-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 2.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 440642099009dfe4bad841ef30db95a65d5ae5ef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 02:33:21 +0000 Subject: [PATCH 05/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 8ad47f7..ed6c475 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -1,7 +1,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 12%{?dist} +Release: 13%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -39,6 +39,9 @@ popd %{_datadir}/myspell/* %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 2.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 2.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 9a636658aef5dbc8b49e461845c559adf8aa7bb6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 08:43:08 +0000 Subject: [PATCH 06/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index ed6c475..2cd6ee5 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -1,7 +1,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 13%{?dist} +Release: 14%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -39,6 +39,9 @@ popd %{_datadir}/myspell/* %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 2.3-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Feb 01 2019 Fedora Release Engineering - 2.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From e1fa3e7bda1db18ff1d57e9d1b6bb21379a12a36 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 04:33:36 +0000 Subject: [PATCH 07/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 2cd6ee5..8034109 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -1,7 +1,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 14%{?dist} +Release: 15%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -39,6 +39,9 @@ popd %{_datadir}/myspell/* %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 2.3-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Fedora Release Engineering - 2.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 2fd6d33199b7a5cfe40a8615ad2cb68bd7c692bb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 01:05:38 +0000 Subject: [PATCH 08/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 8034109..e2e0386 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -1,7 +1,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 15%{?dist} +Release: 16%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -39,6 +39,9 @@ popd %{_datadir}/myspell/* %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 2.3-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jan 29 2020 Fedora Release Engineering - 2.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 62dfe39565366ba0e3ea6b9e3f385d8e00b3358d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 13:40:52 +0000 Subject: [PATCH 09/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index e2e0386..4baad7f 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -1,7 +1,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 16%{?dist} +Release: 17%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -39,6 +39,9 @@ popd %{_datadir}/myspell/* %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 2.3-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 2.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 240969b172dcdb480ea52ed82b6198429915f262 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 07:50:26 +0000 Subject: [PATCH 10/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 4baad7f..58ca10b 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -1,7 +1,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 17%{?dist} +Release: 18%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -39,6 +39,9 @@ popd %{_datadir}/myspell/* %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 2.3-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 2.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 3470b096aa279058752f0f21a91996249539a637 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 12:33:50 +0000 Subject: [PATCH 11/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 58ca10b..432d4e6 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -1,7 +1,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 18%{?dist} +Release: 19%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -39,6 +39,9 @@ popd %{_datadir}/myspell/* %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 2.3-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 2.3-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 18179ead15d0780a2f5adcdbbdef9215917db550 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 22 Mar 2022 10:40:35 +0530 Subject: [PATCH 12/23] Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem --- hunspell-ca.spec | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 432d4e6..5ea5587 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -1,13 +1,19 @@ +%if 0%{?fedora} >= 36 || 0%{?rhel} > 9 +%global dict_dirname hunspell +%else +%global dict_dirname myspell +%endif + Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 19%{?dist} +Release: 20%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ BuildArch: noarch -Requires: hunspell +Requires: hunspell-filesystem Supplements: (hunspell and langpacks-ca) %description @@ -23,9 +29,9 @@ tr -d '\r' < dictionaries/catalan.dic > ca_ES.dic touch -r dictionaries/catalan.dic ca_ES.dic %install -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p ca_ES.dic ca_ES.aff $RPM_BUILD_ROOT/%{_datadir}/myspell -pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/ +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +cp -p ca_ES.dic ca_ES.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +pushd $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/ ca_ES_aliases="ca_AD ca_FR ca_IT" for lang in $ca_ES_aliases; do ln -s ca_ES.aff $lang.aff @@ -36,9 +42,13 @@ popd %files %doc LICENSES-en.txt LLICENCIES-ca.txt -%{_datadir}/myspell/* +%{_datadir}/%{dict_dirname}/* %changelog +* Tue Mar 22 2022 Parag Nemade - 2.3-20 +- Add conditional for new hunspell dir path and update to Requires: + hunspell-filesystem + * Thu Jan 20 2022 Fedora Release Engineering - 2.3-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From c83a1b94bdd401e20da989c11bfe442ae98ad0be Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 13:52:49 +0000 Subject: [PATCH 13/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 5ea5587..d167388 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -7,7 +7,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 20%{?dist} +Release: 21%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -45,6 +45,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 2.3-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Tue Mar 22 2022 Parag Nemade - 2.3-20 - Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem From e05d14d6fe3c1ddb6067351c9e39d8d88e052b43 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 12:21:46 +0000 Subject: [PATCH 14/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index d167388..48560c5 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -7,7 +7,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 21%{?dist} +Release: 22%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPLv2+ @@ -45,6 +45,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 2.3-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 2.3-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 78002f386604291d0d31c5f2d166fb9e161a7e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 22 Feb 2023 10:45:06 +0000 Subject: [PATCH 15/23] migrated to SPDX license --- hunspell-ca.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 48560c5..e8acd89 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -7,10 +7,10 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 22%{?dist} +Release: 23%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic -License: GPLv2+ +License: GPL-2.0-or-later BuildArch: noarch Requires: hunspell-filesystem @@ -45,6 +45,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Wed Feb 22 2023 Caolán McNamara - 2.3-23 +- migrated to SPDX license + * Thu Jan 19 2023 Fedora Release Engineering - 2.3-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 1bd7a5e5f9231afd905642875879cdd1a9f510e3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 06:34:10 +0000 Subject: [PATCH 16/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index e8acd89..1ae023a 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -7,7 +7,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 2.3 -Release: 23%{?dist} +Release: 24%{?dist} Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic License: GPL-2.0-or-later @@ -45,6 +45,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 2.3-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Feb 22 2023 Caolán McNamara - 2.3-23 - migrated to SPDX license From 7f15168978be0a030201ed296417580bbf05c7c1 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Thu, 10 Aug 2023 13:02:32 +0530 Subject: [PATCH 17/23] Resolves:rh#2230531 - Update to new Upstream Source --- .gitignore | 1 + hunspell-ca.spec | 24 ++++++++++++++---------- sources | 2 +- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 83be299..1097097 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ catalan.oxt +/ca.3.0.8-hunspell.zip diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 1ae023a..80197aa 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -6,11 +6,11 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries -Version: 2.3 -Release: 24%{?dist} -Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt -URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic -License: GPL-2.0-or-later +Version: 3.0.8 +Release: 1%{?dist} +Source: https://github.com/Softcatala/catalan-dict-tools/releases/download/v%{version}/ca.%{version}-hunspell.zip +URL: https://www.softcatala.org/projectes/corrector-ortografic/ +License: GPL-2.0-or-later OR LGPL-2.1-or-later BuildArch: noarch Requires: hunspell-filesystem @@ -23,10 +23,10 @@ Catalan hunspell dictionaries. %setup -q -c %build -tr -d '\r' < dictionaries/catalan.aff > ca_ES.aff -touch -r dictionaries/catalan.aff ca_ES.aff -tr -d '\r' < dictionaries/catalan.dic > ca_ES.dic -touch -r dictionaries/catalan.dic ca_ES.dic +tr -d '\r' < catalan.aff > ca_ES.aff +touch -r catalan.aff ca_ES.aff +tr -d '\r' < catalan.dic > ca_ES.dic +touch -r catalan.dic ca_ES.dic %install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} @@ -41,10 +41,14 @@ popd %files -%doc LICENSES-en.txt LLICENCIES-ca.txt +%doc README.txt release-notes_en.txt +%license LICENSE gpl-2.0.txt lgpl-2.1.txt %{_datadir}/%{dict_dirname}/* %changelog +* Thu Aug 10 2023 Parag Nemade - 3.0.8-1 +- Resolves:rh#2230531 - Update to new Upstream Source + * Thu Jul 20 2023 Fedora Release Engineering - 2.3-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index d11d23f..1b50f0c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6061b7fd7f6f87c53540abf1d16363ba catalan.oxt +SHA512 (ca.3.0.8-hunspell.zip) = d7b3120414f670a59cfd4e0300a809ae85896bf87df07dedf3c526e6718176b2dff74a7cd68a74d3ee3e820b83a14bff91c396247a7430f4ce7c903756e2364a From 1f4cfe24f83f96498aeccc4a4917faef99062af4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jan 2024 22:19:12 +0000 Subject: [PATCH 18/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 80197aa..261cd31 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -7,7 +7,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 3.0.8 -Release: 1%{?dist} +Release: 2%{?dist} Source: https://github.com/Softcatala/catalan-dict-tools/releases/download/v%{version}/ca.%{version}-hunspell.zip URL: https://www.softcatala.org/projectes/corrector-ortografic/ License: GPL-2.0-or-later OR LGPL-2.1-or-later @@ -46,6 +46,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Sat Jan 20 2024 Fedora Release Engineering - 3.0.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Aug 10 2023 Parag Nemade - 3.0.8-1 - Resolves:rh#2230531 - Update to new Upstream Source From a216509e1425bbb8d8a8b3cc8340a3102e45ca8e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jan 2024 21:54:02 +0000 Subject: [PATCH 19/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 261cd31..58879cb 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -7,7 +7,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 3.0.8 -Release: 2%{?dist} +Release: 3%{?dist} Source: https://github.com/Softcatala/catalan-dict-tools/releases/download/v%{version}/ca.%{version}-hunspell.zip URL: https://www.softcatala.org/projectes/corrector-ortografic/ License: GPL-2.0-or-later OR LGPL-2.1-or-later @@ -46,6 +46,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Wed Jan 24 2024 Fedora Release Engineering - 3.0.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jan 20 2024 Fedora Release Engineering - 3.0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 4e5f79def9470db3e30c5de62957fd887730515b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 09:29:40 +0000 Subject: [PATCH 20/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 58879cb..ee325ad 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -7,7 +7,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 3.0.8 -Release: 3%{?dist} +Release: 4%{?dist} Source: https://github.com/Softcatala/catalan-dict-tools/releases/download/v%{version}/ca.%{version}-hunspell.zip URL: https://www.softcatala.org/projectes/corrector-ortografic/ License: GPL-2.0-or-later OR LGPL-2.1-or-later @@ -46,6 +46,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 3.0.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Jan 24 2024 Fedora Release Engineering - 3.0.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 4fbe4950415179104d9cdfbf2573a3bce0961ad2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 06:11:28 +0000 Subject: [PATCH 21/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index ee325ad..6ca06cc 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -7,7 +7,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 3.0.8 -Release: 4%{?dist} +Release: 5%{?dist} Source: https://github.com/Softcatala/catalan-dict-tools/releases/download/v%{version}/ca.%{version}-hunspell.zip URL: https://www.softcatala.org/projectes/corrector-ortografic/ License: GPL-2.0-or-later OR LGPL-2.1-or-later @@ -46,6 +46,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 3.0.8-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 18 2024 Fedora Release Engineering - 3.0.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 9986401e0086f38c7c54ee90b38ac1dc9ed35332 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Thu, 7 Nov 2024 18:44:37 +0530 Subject: [PATCH 22/23] Add tmt CI testcase --- .fmf/version | 1 + plans/hunspell-ca.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-ca.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-ca.fmf b/plans/hunspell-ca.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/hunspell-ca.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..4378a8f --- /dev/null +++ b/tests/test_dic_availability.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-ca +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..e170825 --- /dev/null +++ b/tests/test_dic_availability.py @@ -0,0 +1,10 @@ +#!/usr/bin/python3 + +import enchant + +lang = "ca_ES" +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..e135d92 --- /dev/null +++ b/tests/test_suggest_words.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-ca +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..1730e24 --- /dev/null +++ b/tests/test_suggest_words.py @@ -0,0 +1,9 @@ +#!/usr/bin/python3 + +import enchant + +wdlst = [ "hola", "te", "matí"] +dic = enchant.Dict("ca_ES") +for wd in wdlst: + dic.check(wd) + print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd))) From 7686d2b4c50a9dca9a8906c0f218ed41c118d30c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 17:09:52 +0000 Subject: [PATCH 23/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- hunspell-ca.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-ca.spec b/hunspell-ca.spec index 6ca06cc..79bd6fc 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -7,7 +7,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries Version: 3.0.8 -Release: 5%{?dist} +Release: 6%{?dist} Source: https://github.com/Softcatala/catalan-dict-tools/releases/download/v%{version}/ca.%{version}-hunspell.zip URL: https://www.softcatala.org/projectes/corrector-ortografic/ License: GPL-2.0-or-later OR LGPL-2.1-or-later @@ -46,6 +46,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 3.0.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jan 17 2025 Fedora Release Engineering - 3.0.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild