From f2837d5f4df8dcfa83ccf90fc8d42038548bf0a7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 13:53:37 +0000 Subject: [PATCH 01/13] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-da.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-da.spec b/hunspell-da.spec index 135024f..851ba29 100644 --- a/hunspell-da.spec +++ b/hunspell-da.spec @@ -7,7 +7,7 @@ Name: hunspell-da Summary: Danish hunspell dictionaries Version: 1.7.42 -Release: 18%{?dist} +Release: 19%{?dist} Source: http://da.speling.org/filer/myspell-da-%{version}.tar.bz2 URL: http://da.speling.org/ License: GPLv2+ @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 1.7.42-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Tue Mar 22 2022 Parag Nemade - 1.7.42-18 - Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem From f41497464c462b88bf6e2e08933b557ee40cd55f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 12:22:36 +0000 Subject: [PATCH 02/13] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-da.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-da.spec b/hunspell-da.spec index 851ba29..c7f378a 100644 --- a/hunspell-da.spec +++ b/hunspell-da.spec @@ -7,7 +7,7 @@ Name: hunspell-da Summary: Danish hunspell dictionaries Version: 1.7.42 -Release: 19%{?dist} +Release: 20%{?dist} Source: http://da.speling.org/filer/myspell-da-%{version}.tar.bz2 URL: http://da.speling.org/ License: GPLv2+ @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 1.7.42-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 1.7.42-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 1bc3ef0a650da1108202b6c9a9e0f1018ab67a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 22 Feb 2023 10:58:55 +0000 Subject: [PATCH 03/13] migrated to SPDX license --- hunspell-da.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hunspell-da.spec b/hunspell-da.spec index c7f378a..d7e9549 100644 --- a/hunspell-da.spec +++ b/hunspell-da.spec @@ -7,10 +7,10 @@ Name: hunspell-da Summary: Danish hunspell dictionaries Version: 1.7.42 -Release: 20%{?dist} +Release: 21%{?dist} Source: http://da.speling.org/filer/myspell-da-%{version}.tar.bz2 URL: http://da.speling.org/ -License: GPLv2+ +License: GPL-2.0-or-later BuildArch: noarch Requires: hunspell-filesystem @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Wed Feb 22 2023 Caolán McNamara - 1.7.42-21 +- migrated to SPDX license + * Thu Jan 19 2023 Fedora Release Engineering - 1.7.42-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 78c457531e75303be2a60aa3bfb4d779c7c7da08 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 06:35:14 +0000 Subject: [PATCH 04/13] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-da.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-da.spec b/hunspell-da.spec index d7e9549..80fab3b 100644 --- a/hunspell-da.spec +++ b/hunspell-da.spec @@ -7,7 +7,7 @@ Name: hunspell-da Summary: Danish hunspell dictionaries Version: 1.7.42 -Release: 21%{?dist} +Release: 22%{?dist} Source: http://da.speling.org/filer/myspell-da-%{version}.tar.bz2 URL: http://da.speling.org/ License: GPL-2.0-or-later @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 1.7.42-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Feb 22 2023 Caolán McNamara - 1.7.42-21 - migrated to SPDX license From ac9f23c6a3a33df4f10f94abb2f0644cc8b8489e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jan 2024 22:19:57 +0000 Subject: [PATCH 05/13] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- hunspell-da.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-da.spec b/hunspell-da.spec index 80fab3b..905bcdf 100644 --- a/hunspell-da.spec +++ b/hunspell-da.spec @@ -7,7 +7,7 @@ Name: hunspell-da Summary: Danish hunspell dictionaries Version: 1.7.42 -Release: 22%{?dist} +Release: 23%{?dist} Source: http://da.speling.org/filer/myspell-da-%{version}.tar.bz2 URL: http://da.speling.org/ License: GPL-2.0-or-later @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Sat Jan 20 2024 Fedora Release Engineering - 1.7.42-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jul 20 2023 Fedora Release Engineering - 1.7.42-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 3a16814e91a61960fd0f52c42a1ab6c76d48ade7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jan 2024 21:54:51 +0000 Subject: [PATCH 06/13] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- hunspell-da.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-da.spec b/hunspell-da.spec index 905bcdf..2c05c4f 100644 --- a/hunspell-da.spec +++ b/hunspell-da.spec @@ -7,7 +7,7 @@ Name: hunspell-da Summary: Danish hunspell dictionaries Version: 1.7.42 -Release: 23%{?dist} +Release: 24%{?dist} Source: http://da.speling.org/filer/myspell-da-%{version}.tar.bz2 URL: http://da.speling.org/ License: GPL-2.0-or-later @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Wed Jan 24 2024 Fedora Release Engineering - 1.7.42-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jan 20 2024 Fedora Release Engineering - 1.7.42-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From fe2590af65467401808e47a24bed812a6edc49ab Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 09:30:29 +0000 Subject: [PATCH 07/13] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- hunspell-da.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-da.spec b/hunspell-da.spec index 2c05c4f..b8f0a34 100644 --- a/hunspell-da.spec +++ b/hunspell-da.spec @@ -7,7 +7,7 @@ Name: hunspell-da Summary: Danish hunspell dictionaries Version: 1.7.42 -Release: 24%{?dist} +Release: 25%{?dist} Source: http://da.speling.org/filer/myspell-da-%{version}.tar.bz2 URL: http://da.speling.org/ License: GPL-2.0-or-later @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 1.7.42-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Jan 24 2024 Fedora Release Engineering - 1.7.42-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 6b99b53af2a08696f446cd7d2e3660160b05602c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 06:12:25 +0000 Subject: [PATCH 08/13] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- hunspell-da.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-da.spec b/hunspell-da.spec index b8f0a34..0418f0e 100644 --- a/hunspell-da.spec +++ b/hunspell-da.spec @@ -7,7 +7,7 @@ Name: hunspell-da Summary: Danish hunspell dictionaries Version: 1.7.42 -Release: 25%{?dist} +Release: 26%{?dist} Source: http://da.speling.org/filer/myspell-da-%{version}.tar.bz2 URL: http://da.speling.org/ License: GPL-2.0-or-later @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 1.7.42-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 18 2024 Fedora Release Engineering - 1.7.42-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 37a04b45c3d10ed0188203d74d5c7f3232151e76 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Thu, 7 Nov 2024 18:40:12 +0530 Subject: [PATCH 09/13] Add tmt CI testcase --- .fmf/version | 1 + plans/hunspell-da.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-da.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-da.fmf b/plans/hunspell-da.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/hunspell-da.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..0bfe72c --- /dev/null +++ b/tests/test_dic_availability.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-da +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..106da3e --- /dev/null +++ b/tests/test_dic_availability.py @@ -0,0 +1,10 @@ +#!/usr/bin/python3 + +import enchant + +lang = "da_DK" +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..20bb8c7 --- /dev/null +++ b/tests/test_suggest_words.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-da +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..d18b904 --- /dev/null +++ b/tests/test_suggest_words.py @@ -0,0 +1,9 @@ +#!/usr/bin/python3 + +import enchant + +wdlst = [ "hej", "te", "morgen"] +dic = enchant.Dict("da_DK") +for wd in wdlst: + dic.check(wd) + print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd))) From 76166b1a540c586fcf9248c3725eeca1b3205786 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 17:10:20 +0000 Subject: [PATCH 10/13] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- hunspell-da.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-da.spec b/hunspell-da.spec index 0418f0e..a6c705c 100644 --- a/hunspell-da.spec +++ b/hunspell-da.spec @@ -7,7 +7,7 @@ Name: hunspell-da Summary: Danish hunspell dictionaries Version: 1.7.42 -Release: 26%{?dist} +Release: 27%{?dist} Source: http://da.speling.org/filer/myspell-da-%{version}.tar.bz2 URL: http://da.speling.org/ License: GPL-2.0-or-later @@ -34,6 +34,9 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 1.7.42-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jan 17 2025 Fedora Release Engineering - 1.7.42-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 7ac972d3f57ecfeadcec87d07fcae3fd5641ba53 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Mon, 1 Dec 2025 11:21:58 +0530 Subject: [PATCH 11/13] Updated to new URL and new version (rh#2417927) --- .gitignore | 1 + hunspell-da.spec | 20 ++++++++++++-------- sources | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 8dcdc32..93f6eef 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /myspell-da-1.7.42.tar.bz2 +/da_DK-2.9.053.oxt diff --git a/hunspell-da.spec b/hunspell-da.spec index a6c705c..2eacf83 100644 --- a/hunspell-da.spec +++ b/hunspell-da.spec @@ -6,11 +6,12 @@ Name: hunspell-da Summary: Danish hunspell dictionaries -Version: 1.7.42 -Release: 27%{?dist} -Source: http://da.speling.org/filer/myspell-da-%{version}.tar.bz2 -URL: http://da.speling.org/ -License: GPL-2.0-or-later +Version: 2.9.053 +Release: 1%{?dist} +Source: https://stavekontrolden.dk/dictionaries/da_DK/da_DK-%{version}.oxt +URL: https://stavekontrolden.dk/ +# license information from README_da_DK.txt +License: GPL-2.0-or-later OR LGPL-2.1-or-later OR MPL-1.1 BuildArch: noarch Requires: hunspell-filesystem @@ -20,20 +21,23 @@ Supplements: (hunspell and langpacks-da) Danish hunspell dictionaries. %prep -%setup -q -n myspell-da-%{version} +%autosetup -c %build %install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} -cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} +cp -p da_DK.dic da_DK.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %files -%doc README Copyright contributors COPYING +%doc README_da_DK.txt %{_datadir}/%{dict_dirname}/* %changelog +* Mon Dec 01 2025 Parag Nemade - 2.9.053-1 +- Updated to new URL and new version (rh#2417927) + * Thu Jul 24 2025 Fedora Release Engineering - 1.7.42-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/sources b/sources index 7dfe692..edc0ca0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1f8f89f1d8a3b2f50c106255695a5b57 myspell-da-1.7.42.tar.bz2 +SHA512 (da_DK-2.9.053.oxt) = a09d859a9c65dc32a479664e22cff931674fec45c6cb2ed9141a752980c985894757fe3925d65403748305a1339a9fa541cadcddb5bae47aa814fa9b8994246f From 695e1c0e6f33d38de8ae5c1d4a5ac69105363726 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 16:17:20 +0000 Subject: [PATCH 12/13] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- hunspell-da.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-da.spec b/hunspell-da.spec index 2eacf83..5f9d1db 100644 --- a/hunspell-da.spec +++ b/hunspell-da.spec @@ -7,7 +7,7 @@ Name: hunspell-da Summary: Danish hunspell dictionaries Version: 2.9.053 -Release: 1%{?dist} +Release: 2%{?dist} Source: https://stavekontrolden.dk/dictionaries/da_DK/da_DK-%{version}.oxt URL: https://stavekontrolden.dk/ # license information from README_da_DK.txt @@ -35,6 +35,9 @@ cp -p da_DK.dic da_DK.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 2.9.053-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Mon Dec 01 2025 Parag Nemade - 2.9.053-1 - Updated to new URL and new version (rh#2417927) From 20862521d40c3fbaaa45809dfacf24be99ac29a6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jul 2026 03:24:52 +0000 Subject: [PATCH 13/13] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- hunspell-da.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-da.spec b/hunspell-da.spec index 5f9d1db..71b5ec0 100644 --- a/hunspell-da.spec +++ b/hunspell-da.spec @@ -7,7 +7,7 @@ Name: hunspell-da Summary: Danish hunspell dictionaries Version: 2.9.053 -Release: 2%{?dist} +Release: 3%{?dist} Source: https://stavekontrolden.dk/dictionaries/da_DK/da_DK-%{version}.oxt URL: https://stavekontrolden.dk/ # license information from README_da_DK.txt @@ -35,6 +35,9 @@ cp -p da_DK.dic da_DK.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 16 2026 Fedora Release Engineering - 2.9.053-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Fri Jan 16 2026 Fedora Release Engineering - 2.9.053-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild