From 604dcde49a34406188a61bd6457433ea38c23c58 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 01:10:51 +0000 Subject: [PATCH 01/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-it.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-it.spec b/hunspell-it.spec index 3053458..adf69e1 100644 --- a/hunspell-it.spec +++ b/hunspell-it.spec @@ -2,7 +2,7 @@ Name: hunspell-it Summary: Italian hunspell dictionaries %global upstreamid 20070901 Version: 2.4 -Release: 0.21.%{upstreamid}%{?dist} +Release: 0.22.%{upstreamid}%{?dist} Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_2_4_2007_09_01.zip URL: http://linguistico.sourceforge.net License: GPLv3+ @@ -40,6 +40,9 @@ done %{_datadir}/myspell/* %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 2.4-0.22.20070901 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jan 29 2020 Fedora Release Engineering - 2.4-0.21.20070901 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 497b87ad25b14cae53212c249e50143dfc9ff15c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 13:45:59 +0000 Subject: [PATCH 02/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-it.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-it.spec b/hunspell-it.spec index adf69e1..5de1d78 100644 --- a/hunspell-it.spec +++ b/hunspell-it.spec @@ -2,7 +2,7 @@ Name: hunspell-it Summary: Italian hunspell dictionaries %global upstreamid 20070901 Version: 2.4 -Release: 0.22.%{upstreamid}%{?dist} +Release: 0.23.%{upstreamid}%{?dist} Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_2_4_2007_09_01.zip URL: http://linguistico.sourceforge.net License: GPLv3+ @@ -40,6 +40,9 @@ done %{_datadir}/myspell/* %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 2.4-0.23.20070901 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 2.4-0.22.20070901 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From add49ec27cc63b27e10bf6174891348b5a02f5c3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 07:55:45 +0000 Subject: [PATCH 03/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-it.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-it.spec b/hunspell-it.spec index 5de1d78..1dc538e 100644 --- a/hunspell-it.spec +++ b/hunspell-it.spec @@ -2,7 +2,7 @@ Name: hunspell-it Summary: Italian hunspell dictionaries %global upstreamid 20070901 Version: 2.4 -Release: 0.23.%{upstreamid}%{?dist} +Release: 0.24.%{upstreamid}%{?dist} Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_2_4_2007_09_01.zip URL: http://linguistico.sourceforge.net License: GPLv3+ @@ -40,6 +40,9 @@ done %{_datadir}/myspell/* %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 2.4-0.24.20070901 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 2.4-0.23.20070901 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 83ab3fd534b2d02f07e5fab6eebf0eb86b33031c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 12:39:27 +0000 Subject: [PATCH 04/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-it.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-it.spec b/hunspell-it.spec index 1dc538e..1d674b6 100644 --- a/hunspell-it.spec +++ b/hunspell-it.spec @@ -2,7 +2,7 @@ Name: hunspell-it Summary: Italian hunspell dictionaries %global upstreamid 20070901 Version: 2.4 -Release: 0.24.%{upstreamid}%{?dist} +Release: 0.25.%{upstreamid}%{?dist} Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_2_4_2007_09_01.zip URL: http://linguistico.sourceforge.net License: GPLv3+ @@ -40,6 +40,9 @@ done %{_datadir}/myspell/* %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 2.4-0.25.20070901 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 2.4-0.24.20070901 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 0f505e1e13f8749ec43f56b9b3ad5b59ed53b3e3 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 22 Mar 2022 12:31:38 +0530 Subject: [PATCH 05/18] Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem --- hunspell-it.spec | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/hunspell-it.spec b/hunspell-it.spec index 1d674b6..7a145bc 100644 --- a/hunspell-it.spec +++ b/hunspell-it.spec @@ -1,13 +1,19 @@ +%if 0%{?fedora} >= 36 || 0%{?rhel} > 9 +%global dict_dirname hunspell +%else +%global dict_dirname myspell +%endif + Name: hunspell-it Summary: Italian hunspell dictionaries %global upstreamid 20070901 Version: 2.4 -Release: 0.25.%{upstreamid}%{?dist} +Release: 0.26.%{upstreamid}%{?dist} Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_2_4_2007_09_01.zip URL: http://linguistico.sourceforge.net License: GPLv3+ BuildArch: noarch -Requires: hunspell +Requires: hunspell-filesystem Supplements: (hunspell and langpacks-it) #dic contains free-form text inside the .dic, i.e. "error: line 3: bad flagvector" # https://sourceforge.net/tracker/?func=detail&aid=2994177&group_id=128318&atid=711333 @@ -24,9 +30,9 @@ Italian hunspell dictionaries. chmod -x * %install -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell -pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/ +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +pushd $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/ it_IT_aliases="it_CH" for lang in $it_IT_aliases; do ln -s it_IT.aff $lang.aff @@ -37,9 +43,13 @@ done %files %doc it_IT_README.txt it_IT_COPYING it_IT_AUTHORS it_IT_license.txt it_IT_notes.txt -%{_datadir}/myspell/* +%{_datadir}/%{dict_dirname}/* %changelog +* Tue Mar 22 2022 Parag Nemade - 2.4-0.26.20070901 +- Add conditional for new hunspell dir path and update to Requires: + hunspell-filesystem + * Thu Jan 20 2022 Fedora Release Engineering - 2.4-0.25.20070901 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From b98de3a1c0e1abad12665162ba4522e562463da2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 13:58:49 +0000 Subject: [PATCH 06/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-it.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-it.spec b/hunspell-it.spec index 7a145bc..4482205 100644 --- a/hunspell-it.spec +++ b/hunspell-it.spec @@ -8,7 +8,7 @@ Name: hunspell-it Summary: Italian hunspell dictionaries %global upstreamid 20070901 Version: 2.4 -Release: 0.26.%{upstreamid}%{?dist} +Release: 0.27.%{upstreamid}%{?dist} Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_2_4_2007_09_01.zip URL: http://linguistico.sourceforge.net License: GPLv3+ @@ -46,6 +46,9 @@ done %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 2.4-0.27.20070901 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Tue Mar 22 2022 Parag Nemade - 2.4-0.26.20070901 - Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem From c89a62a717e423aeff616d9cc8c8770fc8e5bb90 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 12:27:51 +0000 Subject: [PATCH 07/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-it.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-it.spec b/hunspell-it.spec index 4482205..22df17a 100644 --- a/hunspell-it.spec +++ b/hunspell-it.spec @@ -8,7 +8,7 @@ Name: hunspell-it Summary: Italian hunspell dictionaries %global upstreamid 20070901 Version: 2.4 -Release: 0.27.%{upstreamid}%{?dist} +Release: 0.28.%{upstreamid}%{?dist} Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_2_4_2007_09_01.zip URL: http://linguistico.sourceforge.net License: GPLv3+ @@ -46,6 +46,9 @@ done %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 2.4-0.28.20070901 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 2.4-0.27.20070901 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 16e0597af0bfea74de7b3448a86edda29cb1d052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 22 Feb 2023 16:02:51 +0000 Subject: [PATCH 08/18] migrated to SPDX license --- hunspell-it.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hunspell-it.spec b/hunspell-it.spec index 22df17a..a1037b9 100644 --- a/hunspell-it.spec +++ b/hunspell-it.spec @@ -8,10 +8,10 @@ Name: hunspell-it Summary: Italian hunspell dictionaries %global upstreamid 20070901 Version: 2.4 -Release: 0.28.%{upstreamid}%{?dist} +Release: 0.29.%{upstreamid}%{?dist} Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_2_4_2007_09_01.zip URL: http://linguistico.sourceforge.net -License: GPLv3+ +License: GPL-3.0-or-later BuildArch: noarch Requires: hunspell-filesystem Supplements: (hunspell and langpacks-it) @@ -46,6 +46,9 @@ done %{_datadir}/%{dict_dirname}/* %changelog +* Wed Feb 22 2023 Caolan McNamara - 2.4-0.29.20070901 +- migrated to SPDX license + * Thu Jan 19 2023 Fedora Release Engineering - 2.4-0.28.20070901 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 6b7c17ee7d368e84d679ba499289b1b51238004f Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Tue, 6 Jun 2023 13:59:36 +0200 Subject: [PATCH 09/18] Use sources from pagure.io project --- .gitignore | 1 + hunspell-it-sf2994177.cleandic.patch | 36 ------- hunspell-it.spec | 136 +++++---------------------- sources | 2 +- 4 files changed, 24 insertions(+), 151 deletions(-) delete mode 100644 hunspell-it-sf2994177.cleandic.patch diff --git a/.gitignore b/.gitignore index 4f03aae..0ac7e07 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ italiano_2_4_2007_09_01.zip +/dizionario_italiano-5.1.1.tar.gz diff --git a/hunspell-it-sf2994177.cleandic.patch b/hunspell-it-sf2994177.cleandic.patch deleted file mode 100644 index b42a47c..0000000 --- a/hunspell-it-sf2994177.cleandic.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- it_IT.dic 2010-04-29 14:31:47.000000000 +0100 -+++ it_IT.dic 2010-04-29 14:32:07.000000000 +0100 -@@ -1,32 +1,4 @@ --95221 --/ Dizionario italiano --/ --/ Copyright (C) 2001, 2002 Gianluca Turconi --/ Copyright (C) 2002, 2003, 2004 Gianluca Turconi and Davide Prina --/ Copyright (C) 2004, 2005, 2006, 2007 Davide Prina --/ --/ E-Mail: DavidePrina(CHIOCCIOLA)yahoo(PUNTO)com --/ home: http://linguistico.sf.net/wiki --/ --/ Version 2.4 (01/09/2007) (DD/MM/YYYY) --/ --/ This file is distributed under GPL license. --/ --/ This file is part of the "dizionario italiano". --/ --/ The "dizionario italiano" is free software; you can redistribute it and/or --/ modify it under the terms of the GNU General Public License as published --/ by the Free Software Foundation; either version 3 of the License, or --/ (at your option) any later version. --/ --/ The "dizionario italiano" is distributed in the hope that it will be --/ useful, but WITHOUT ANY WARRANTY; without even the implied warranty of --/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --/ GNU General Public License for more details. --/ --/ You should have received a copy of the GNU General Public --/ License along with the "dizionario italiano", --/ if not, see . -+95195 - a - ab - abaco/OTqr diff --git a/hunspell-it.spec b/hunspell-it.spec index a1037b9..f1ff52d 100644 --- a/hunspell-it.spec +++ b/hunspell-it.spec @@ -4,34 +4,35 @@ %global dict_dirname myspell %endif -Name: hunspell-it -Summary: Italian hunspell dictionaries -%global upstreamid 20070901 -Version: 2.4 -Release: 0.29.%{upstreamid}%{?dist} -Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_2_4_2007_09_01.zip -URL: http://linguistico.sourceforge.net -License: GPL-3.0-or-later -BuildArch: noarch -Requires: hunspell-filesystem -Supplements: (hunspell and langpacks-it) -#dic contains free-form text inside the .dic, i.e. "error: line 3: bad flagvector" -# https://sourceforge.net/tracker/?func=detail&aid=2994177&group_id=128318&atid=711333 -Patch0: hunspell-it-sf2994177.cleandic.patch +Name: hunspell-it +Summary: Italian hunspell dictionaries +Version: 5.1.1 +Release: %autorelease +# The license text is embedded within the README files +# Here we specify the hunspell files license only as other files are not packaged +License: GPL-3.0-only +URL: https://pagure.io/dizionario_italiano +Source: %{url}/archive/%{version}/dizionario_italiano-%{version}.tar.gz + +BuildArch: noarch +Requires: hunspell-filesystem +Supplements: (hunspell and langpacks-it) %description Italian hunspell dictionaries. + %prep -%setup -q -c -n hunspell-it -%patch0 -p0 -b .cleandic +%autosetup -n dizionario_italiano-%{version} + %build -chmod -x * +# Nothing to do + %install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} -cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +cp -p it_IT.dic it_IT.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} pushd $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/ it_IT_aliases="it_CH" for lang in $it_IT_aliases; do @@ -42,102 +43,9 @@ done %files -%doc it_IT_README.txt it_IT_COPYING it_IT_AUTHORS it_IT_license.txt it_IT_notes.txt +%license LICENSES/gpl-3.0.txt +%doc CHANGELOG.txt README.md README_it_IT.txt %{_datadir}/%{dict_dirname}/* %changelog -* Wed Feb 22 2023 Caolan McNamara - 2.4-0.29.20070901 -- migrated to SPDX license - -* Thu Jan 19 2023 Fedora Release Engineering - 2.4-0.28.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Jul 21 2022 Fedora Release Engineering - 2.4-0.27.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Tue Mar 22 2022 Parag Nemade - 2.4-0.26.20070901 -- Add conditional for new hunspell dir path and update to Requires: - hunspell-filesystem - -* Thu Jan 20 2022 Fedora Release Engineering - 2.4-0.25.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Jul 22 2021 Fedora Release Engineering - 2.4-0.24.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jan 26 2021 Fedora Release Engineering - 2.4-0.23.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Jul 28 2020 Fedora Release Engineering - 2.4-0.22.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jan 29 2020 Fedora Release Engineering - 2.4-0.21.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 2.4-0.20.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 2.4-0.19.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 2.4-0.18.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 2.4-0.17.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 2.4-0.16.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 2.4-0.15.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Feb 19 2016 Parag Nemade - 2.4-0.14.20070901 -- Add Supplements: tag for langpacks naming guidelines -- Clean the specfile to follow current packaging guidelines - -* Thu Feb 04 2016 Fedora Release Engineering - 2.4-0.13.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 2.4-0.12.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 2.4-0.11.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat Aug 03 2013 Fedora Release Engineering - 2.4-0.10.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Feb 14 2013 Fedora Release Engineering - 2.4-0.9.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Jul 19 2012 Fedora Release Engineering - 2.4-0.8.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Fri Jan 13 2012 Fedora Release Engineering - 2.4-0.7.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Feb 09 2011 Fedora Release Engineering - 2.4-0.6.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Thu Apr 29 2010 Caolan McNamara - 2.4-0.5.20070901 -- remove spurious text from .dic - -* Tue Jan 05 2010 Caolan McNamara - 2.4-0.4.20070901 -- it_IT_README.1st says GPLv2+, but it_IT_README.txt says GPLv3+ -> - change license field to GPLv3+ - -* Fri Jul 24 2009 Fedora Release Engineering - 2.4-0.3.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Tue Feb 24 2009 Fedora Release Engineering - 2.4-0.2.20070901 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Mon Sep 03 2007 Caolan McNamara - 2.4-0.1.20070901 -- latest version - -* Fri Aug 03 2007 Caolan McNamara - 2.3-0.2.20060723 -- clarify license version - -* Thu Dec 07 2006 Caolan McNamara - 2.3-0.1.20060723 -- initial version +%autochangelog diff --git a/sources b/sources index e79c9be..26ef02c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e7fbd9e2dfb25ea3288cdb918e1e1260 italiano_2_4_2007_09_01.zip +SHA512 (dizionario_italiano-5.1.1.tar.gz) = eedc5771162ba3b7bd451a96883df471a691a07ec74de432c0bb31cb77c4f774df914946d504cfee1e51a615336cff3589139a6b946632729ce5cb3d25469fe2 From 4e9f6afa0fdd4b31b3041cecd11f1c36f8793ca3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 06:40:44 +0000 Subject: [PATCH 10/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 9f91642c2deeae147f9ca9a5e10079da943c1117 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jan 2024 22:24:54 +0000 Subject: [PATCH 11/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 3444e3045eb786d157cec4a000533b4dca616adf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jan 2024 22:00:06 +0000 Subject: [PATCH 12/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 606aad4945ebbbb58aa5ff42294f509d76de5802 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 09:35:50 +0000 Subject: [PATCH 13/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From bf863c13c036b7a5e2488b3e08e4911dfccd2af8 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Sun, 15 Dec 2024 15:27:10 +0530 Subject: [PATCH 14/18] Add tmt CI testcase --- .fmf/version | 1 + plans/hunspell-it.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-it.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-it.fmf b/plans/hunspell-it.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/hunspell-it.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..995bee1 --- /dev/null +++ b/tests/test_dic_availability.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-it +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..caf897d --- /dev/null +++ b/tests/test_dic_availability.py @@ -0,0 +1,10 @@ +#!/usr/bin/python3 + +import enchant + +lang = "it_IT" +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..7030c2f --- /dev/null +++ b/tests/test_suggest_words.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-it +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..a289d3d --- /dev/null +++ b/tests/test_suggest_words.py @@ -0,0 +1,9 @@ +#!/usr/bin/python3 + +import enchant + +wdlst = [ "ciao", "tè", "mattina"] +dic = enchant.Dict("it_IT") +for wd in wdlst: + dic.check(wd) + print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd))) From 7e7adebd6cbaeca233b2f9d977dce95617bc6219 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 06:18:32 +0000 Subject: [PATCH 15/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 7c8bdae2a9f38c9ed18f6e933df157bb08a18044 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 17:13:32 +0000 Subject: [PATCH 16/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From a9bdf7cccbc2347d7d5e3193d02e3feec89ad7a6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 16:20:21 +0000 Subject: [PATCH 17/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From c786b250786ad3360dddebe2b712a941dc8728c0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jul 2026 03:27:55 +0000 Subject: [PATCH 18/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild