From 91ee661d5b0021aa503a0d6b110bcc8920836c86 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 27 Feb 2018 21:21:59 +0100 Subject: [PATCH 01/24] Resolves: rhbz#1549640 upgrade to latest release --- .gitignore | 1 + hunspell-de.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6bcbfa4..7de183d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /igerman98-20131206.tar.bz2 /igerman98-20151222.tar.bz2 /igerman98-20160407.tar.bz2 +/igerman98-20161207.tar.bz2 diff --git a/hunspell-de.spec b/hunspell-de.spec index 500752a..aa7af28 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -1,8 +1,8 @@ Name: hunspell-de Summary: German hunspell dictionaries -%global upstreamid 20160407 +%global upstreamid 20161207 Version: 0.%{upstreamid} -Release: 4%{?dist} +Release: 1%{?dist} Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2 URL: https://www.j3e.de/ispell/igerman98 License: GPLv2 or GPLv3 @@ -59,6 +59,9 @@ popd %{_datadir}/myspell/* %changelog +* Tue Feb 27 2018 Michael Stahl - 0.20161207-1 +- Resolves: rhbz#1549640 upgrade to latest release + * Wed Feb 07 2018 Fedora Release Engineering - 0.20160407-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 25a152e..1214f3d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5e5ce15bbfd56a6f89e7789e63fffad0 igerman98-20160407.tar.bz2 +SHA512 (igerman98-20161207.tar.bz2) = 62be84ac76fd2a0acc25439aa4c04339e54a1c7a2f619d76e0e01cfb53eeeca263c5cc335e315f9adeee9bab5cc392d4c473ca55cbed371c04c123d6fa2272aa From 953bd69b7a691a3be90031d93dd58c0b66ee068d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 05:11:28 +0000 Subject: [PATCH 02/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index aa7af28..f40c260 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -2,7 +2,7 @@ Name: hunspell-de Summary: German hunspell dictionaries %global upstreamid 20161207 Version: 0.%{upstreamid} -Release: 1%{?dist} +Release: 2%{?dist} Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2 URL: https://www.j3e.de/ispell/igerman98 License: GPLv2 or GPLv3 @@ -59,6 +59,9 @@ popd %{_datadir}/myspell/* %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.20161207-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Tue Feb 27 2018 Michael Stahl - 0.20161207-1 - Resolves: rhbz#1549640 upgrade to latest release From 5d219956550e6348550af413423e5481929b5948 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 02:34:20 +0000 Subject: [PATCH 03/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index f40c260..f5f4927 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -2,7 +2,7 @@ Name: hunspell-de Summary: German hunspell dictionaries %global upstreamid 20161207 Version: 0.%{upstreamid} -Release: 2%{?dist} +Release: 3%{?dist} Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2 URL: https://www.j3e.de/ispell/igerman98 License: GPLv2 or GPLv3 @@ -59,6 +59,9 @@ popd %{_datadir}/myspell/* %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 0.20161207-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 0.20161207-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 5d9d8cf3ba0cb20ce0c75b40e15cebde296f69f5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 08:44:05 +0000 Subject: [PATCH 04/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index f5f4927..397ad4f 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -2,7 +2,7 @@ Name: hunspell-de Summary: German hunspell dictionaries %global upstreamid 20161207 Version: 0.%{upstreamid} -Release: 3%{?dist} +Release: 4%{?dist} Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2 URL: https://www.j3e.de/ispell/igerman98 License: GPLv2 or GPLv3 @@ -59,6 +59,9 @@ popd %{_datadir}/myspell/* %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.20161207-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Feb 01 2019 Fedora Release Engineering - 0.20161207-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From b205dad2047c5d12d97c705897d46c76181bab0b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 04:34:45 +0000 Subject: [PATCH 05/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 397ad4f..7551697 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -2,7 +2,7 @@ Name: hunspell-de Summary: German hunspell dictionaries %global upstreamid 20161207 Version: 0.%{upstreamid} -Release: 4%{?dist} +Release: 5%{?dist} Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2 URL: https://www.j3e.de/ispell/igerman98 License: GPLv2 or GPLv3 @@ -59,6 +59,9 @@ popd %{_datadir}/myspell/* %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 0.20161207-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Fedora Release Engineering - 0.20161207-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From f48c4c7d5a527ab98fd1ca244ac018e819d87d6f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 01:06:30 +0000 Subject: [PATCH 06/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 7551697..68a35be 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -2,7 +2,7 @@ Name: hunspell-de Summary: German hunspell dictionaries %global upstreamid 20161207 Version: 0.%{upstreamid} -Release: 5%{?dist} +Release: 6%{?dist} Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2 URL: https://www.j3e.de/ispell/igerman98 License: GPLv2 or GPLv3 @@ -59,6 +59,9 @@ popd %{_datadir}/myspell/* %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 0.20161207-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jan 29 2020 Fedora Release Engineering - 0.20161207-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 470496603db8de58cff689b4d2adc68af52eefab Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 13 Jan 2021 02:30:33 +0000 Subject: [PATCH 07/24] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- hunspell-de.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/hunspell-de.spec b/hunspell-de.spec index 68a35be..351bf77 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -7,6 +7,7 @@ Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2 URL: https://www.j3e.de/ispell/igerman98 License: GPLv2 or GPLv3 BuildArch: noarch +BuildRequires: make BuildRequires: aspell, hunspell, perl-interpreter Requires: hunspell From b2f7133920ae517f835249591da52680af23286f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 13:41:39 +0000 Subject: [PATCH 08/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 351bf77..7920ea5 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -2,7 +2,7 @@ Name: hunspell-de Summary: German hunspell dictionaries %global upstreamid 20161207 Version: 0.%{upstreamid} -Release: 6%{?dist} +Release: 7%{?dist} Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2 URL: https://www.j3e.de/ispell/igerman98 License: GPLv2 or GPLv3 @@ -60,6 +60,9 @@ popd %{_datadir}/myspell/* %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.20161207-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 0.20161207-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 648e01aea50e43b7a13a1e2f45db50fc0c98bb22 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 07:51:17 +0000 Subject: [PATCH 09/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 7920ea5..3db11b5 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -2,7 +2,7 @@ Name: hunspell-de Summary: German hunspell dictionaries %global upstreamid 20161207 Version: 0.%{upstreamid} -Release: 7%{?dist} +Release: 8%{?dist} Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2 URL: https://www.j3e.de/ispell/igerman98 License: GPLv2 or GPLv3 @@ -60,6 +60,9 @@ popd %{_datadir}/myspell/* %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.20161207-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.20161207-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From fd8623583a63febeb3cb81ff9d9d1259d7abb4ae Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 4 Jan 2022 14:32:47 +0100 Subject: [PATCH 10/24] Modernize spec, set an actual version --- hunspell-de.spec | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 3db11b5..9659b4c 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -1,14 +1,17 @@ -Name: hunspell-de -Summary: German hunspell dictionaries -%global upstreamid 20161207 -Version: 0.%{upstreamid} -Release: 8%{?dist} -Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{upstreamid}.tar.bz2 -URL: https://www.j3e.de/ispell/igerman98 -License: GPLv2 or GPLv3 -BuildArch: noarch +Name: hunspell-de +Summary: German hunspell dictionaries +Version: 20161207 +Release: 1%{?dist} + +License: GPLv2 or GPLv3 +URL: https://www.j3e.de/ispell/igerman98/ +Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{version}.tar.bz2 +BuildArch: noarch + BuildRequires: make -BuildRequires: aspell, hunspell, perl-interpreter +BuildRequires: aspell +BuildRequires: hunspell +BuildRequires: perl-interpreter Requires: hunspell Supplements: (hunspell and langpacks-de) @@ -17,7 +20,7 @@ Supplements: (hunspell and langpacks-de) German (Germany, Switzerland, etc.) hunspell dictionaries. %prep -%setup -q -n igerman98-%{upstreamid} +%autosetup -p1 -n igerman98-%{version} sed -i -e "s/AFFIX_EXPANDER = ispell/AFFIX_EXPANDER = aspell/g" Makefile %build @@ -37,11 +40,11 @@ for i in README_*.txt; do done %install -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +mkdir -p %{buildroot}%{_datadir}/myspell cd hunspell -cp -p de_??.dic de_??.aff $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p de_??.dic de_??.aff %{buildroot}%{_datadir}/myspell -pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/ +pushd %{buildroot}%{_datadir}/myspell/ de_DE_aliases="de_BE de_LU" for lang in $de_DE_aliases; do ln -s de_DE.aff $lang.aff @@ -56,10 +59,15 @@ popd %files -%doc hunspell/README_de_??.txt hunspell/COPYING_GPLv2 hunspell/COPYING_GPLv3 hunspell/Copyright +%doc hunspell/README_de_??.txt +%license hunspell/COPYING_GPLv2 hunspell/COPYING_GPLv3 hunspell/Copyright %{_datadir}/myspell/* %changelog +* Tue Jan 04 2022 Sandro Mani - 20161207-1 +- Modernize spec +- Set an actual version + * Thu Jul 22 2021 Fedora Release Engineering - 0.20161207-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 8f65c5ae38a9734f15adadf98892732ec171b451 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 12:34:44 +0000 Subject: [PATCH 11/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 9659b4c..87939e4 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -1,7 +1,7 @@ Name: hunspell-de Summary: German hunspell dictionaries Version: 20161207 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 or GPLv3 URL: https://www.j3e.de/ispell/igerman98/ @@ -64,6 +64,9 @@ popd %{_datadir}/myspell/* %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 20161207-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Tue Jan 04 2022 Sandro Mani - 20161207-1 - Modernize spec - Set an actual version From dff8f9799dac3cdfe198425c6c64c816790c996c Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 22 Mar 2022 10:56:16 +0530 Subject: [PATCH 12/24] Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem --- hunspell-de.spec | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 87939e4..2f21a20 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -1,7 +1,13 @@ +%if 0%{?fedora} >= 36 || 0%{?rhel} > 9 +%global dict_dirname hunspell +%else +%global dict_dirname myspell +%endif + Name: hunspell-de Summary: German hunspell dictionaries Version: 20161207 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 or GPLv3 URL: https://www.j3e.de/ispell/igerman98/ @@ -10,10 +16,10 @@ BuildArch: noarch BuildRequires: make BuildRequires: aspell -BuildRequires: hunspell +BuildRequires: hunspell-filesystem BuildRequires: perl-interpreter -Requires: hunspell +Requires: hunspell-filesystem Supplements: (hunspell and langpacks-de) %description @@ -40,11 +46,11 @@ for i in README_*.txt; do done %install -mkdir -p %{buildroot}%{_datadir}/myspell +mkdir -p %{buildroot}%{_datadir}/%{dict_dirname} cd hunspell -cp -p de_??.dic de_??.aff %{buildroot}%{_datadir}/myspell +cp -p de_??.dic de_??.aff %{buildroot}%{_datadir}/%{dict_dirname} -pushd %{buildroot}%{_datadir}/myspell/ +pushd %{buildroot}%{_datadir}/%{dict_dirname}/ de_DE_aliases="de_BE de_LU" for lang in $de_DE_aliases; do ln -s de_DE.aff $lang.aff @@ -61,9 +67,13 @@ popd %files %doc hunspell/README_de_??.txt %license hunspell/COPYING_GPLv2 hunspell/COPYING_GPLv3 hunspell/Copyright -%{_datadir}/myspell/* +%{_datadir}/%{dict_dirname}/* %changelog +* Tue Mar 22 2022 Parag Nemade - 20161207-3 +- Add conditional for new hunspell dir path and update to Requires: + hunspell-filesystem + * Thu Jan 20 2022 Fedora Release Engineering - 20161207-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From c7d8723971450b90d1d52a01cdbc184c81449a6c Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 22 Mar 2022 15:47:26 +0530 Subject: [PATCH 13/24] Revert to BuildRequires: hunspell --- hunspell-de.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 2f21a20..0d18ee0 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -16,7 +16,7 @@ BuildArch: noarch BuildRequires: make BuildRequires: aspell -BuildRequires: hunspell-filesystem +BuildRequires: hunspell BuildRequires: perl-interpreter Requires: hunspell-filesystem From 7345323ca939f0ace14267b2d942fb4fb4ffecd3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 13:53:46 +0000 Subject: [PATCH 14/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 0d18ee0..136e668 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -7,7 +7,7 @@ Name: hunspell-de Summary: German hunspell dictionaries Version: 20161207 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2 or GPLv3 URL: https://www.j3e.de/ispell/igerman98/ @@ -70,6 +70,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 20161207-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Tue Mar 22 2022 Parag Nemade - 20161207-3 - Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem From 765f2b9bb1f0c50035c836982417fdf940d06b00 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 18 Nov 2022 21:51:27 +0100 Subject: [PATCH 15/24] Use SPDX license tag --- hunspell-de.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 136e668..dd6dd8c 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -9,7 +9,7 @@ Summary: German hunspell dictionaries Version: 20161207 Release: 4%{?dist} -License: GPLv2 or GPLv3 +License: GPL-2.0-only OR GPL-3.0-only URL: https://www.j3e.de/ispell/igerman98/ Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{version}.tar.bz2 BuildArch: noarch From ebf15edc9a00298e2af1c00cdad20fb0490cbac3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 12:22:46 +0000 Subject: [PATCH 16/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index dd6dd8c..b6e3b9a 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -7,7 +7,7 @@ Name: hunspell-de Summary: German hunspell dictionaries Version: 20161207 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL-2.0-only OR GPL-3.0-only URL: https://www.j3e.de/ispell/igerman98/ @@ -70,6 +70,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 20161207-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 20161207-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From a8b877a5d6fe52e0f5cac71cfe31e559d803a4fd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 06:35:25 +0000 Subject: [PATCH 17/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index b6e3b9a..be492f0 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -7,7 +7,7 @@ Name: hunspell-de Summary: German hunspell dictionaries Version: 20161207 -Release: 5%{?dist} +Release: 6%{?dist} License: GPL-2.0-only OR GPL-3.0-only URL: https://www.j3e.de/ispell/igerman98/ @@ -70,6 +70,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 20161207-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Jan 19 2023 Fedora Release Engineering - 20161207-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 9c77cc79d47e308f11e7a38a7492bdbcae28ab79 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jan 2024 22:20:06 +0000 Subject: [PATCH 18/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index be492f0..badc099 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -7,7 +7,7 @@ Name: hunspell-de Summary: German hunspell dictionaries Version: 20161207 -Release: 6%{?dist} +Release: 7%{?dist} License: GPL-2.0-only OR GPL-3.0-only URL: https://www.j3e.de/ispell/igerman98/ @@ -70,6 +70,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Sat Jan 20 2024 Fedora Release Engineering - 20161207-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jul 20 2023 Fedora Release Engineering - 20161207-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 36f823a5dff5cd5b247a27ac1c9f9df8f98c5084 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jan 2024 21:55:01 +0000 Subject: [PATCH 19/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index badc099..a30a309 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -7,7 +7,7 @@ Name: hunspell-de Summary: German hunspell dictionaries Version: 20161207 -Release: 7%{?dist} +Release: 8%{?dist} License: GPL-2.0-only OR GPL-3.0-only URL: https://www.j3e.de/ispell/igerman98/ @@ -70,6 +70,9 @@ popd %{_datadir}/%{dict_dirname}/* %changelog +* Wed Jan 24 2024 Fedora Release Engineering - 20161207-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jan 20 2024 Fedora Release Engineering - 20161207-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 53410a89c7777979250f52cf8e5215cf8abc8353 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sat, 24 Feb 2024 12:39:36 +0100 Subject: [PATCH 20/24] Pull dictionaries from libreoffice git --- .gitignore | 1 + hunspell-de.spec | 80 +++++++++++++++++++----------------------------- make_source.sh | 23 ++++++++++++++ sources | 2 +- 4 files changed, 56 insertions(+), 50 deletions(-) create mode 100755 make_source.sh diff --git a/.gitignore b/.gitignore index 7de183d..607aaec 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /igerman98-20151222.tar.bz2 /igerman98-20160407.tar.bz2 /igerman98-20161207.tar.bz2 +/dict-de-20240224.tar.xz diff --git a/hunspell-de.spec b/hunspell-de.spec index a30a309..1e1a010 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -1,24 +1,14 @@ -%if 0%{?fedora} >= 36 || 0%{?rhel} > 9 -%global dict_dirname hunspell -%else -%global dict_dirname myspell -%endif - Name: hunspell-de Summary: German hunspell dictionaries -Version: 20161207 -Release: 8%{?dist} +Version: 20240224 +Release: 1%{?dist} License: GPL-2.0-only OR GPL-3.0-only -URL: https://www.j3e.de/ispell/igerman98/ -Source: https://www.j3e.de/ispell/igerman98/dict/igerman98-%{version}.tar.bz2 +URL: https://cgit.freedesktop.org/libreoffice/dictionaries/tree/de +# ./make_source.sh +Source0: dict-de-%{version}.tar.xz BuildArch: noarch -BuildRequires: make -BuildRequires: aspell -BuildRequires: hunspell -BuildRequires: perl-interpreter - Requires: hunspell-filesystem Supplements: (hunspell and langpacks-de) @@ -26,50 +16,42 @@ Supplements: (hunspell and langpacks-de) German (Germany, Switzerland, etc.) hunspell dictionaries. %prep -%autosetup -p1 -n igerman98-%{version} -sed -i -e "s/AFFIX_EXPANDER = ispell/AFFIX_EXPANDER = aspell/g" Makefile +%autosetup -p1 -n dict-de-%{version} + %build -LC_ALL=C make hunspell/de_AT.dic hunspell/de_AT.aff \ - hunspell/de_CH.dic hunspell/de_CH.aff \ - hunspell/de_DE.dic hunspell/de_DE.aff -cd hunspell -for i in README_*.txt; do - if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then - iconv -f ISO-8859-1 -t UTF-8 $i > $i.new - touch -r $i $i.new - mv -f $i.new $i - fi - tr -d '\r' < $i > $i.new - touch -r $i $i.new - mv -f $i.new $i -done +# Nothing to build + %install -mkdir -p %{buildroot}%{_datadir}/%{dict_dirname} -cd hunspell -cp -p de_??.dic de_??.aff %{buildroot}%{_datadir}/%{dict_dirname} +mkdir -p %{buildroot}%{_datadir}/hunspell -pushd %{buildroot}%{_datadir}/%{dict_dirname}/ -de_DE_aliases="de_BE de_LU" -for lang in $de_DE_aliases; do - ln -s de_DE.aff $lang.aff - ln -s de_DE.dic $lang.dic -done -de_CH_aliases="de_LI" -for lang in $de_CH_aliases; do - ln -s de_CH.aff $lang.aff - ln -s de_CH.dic $lang.dic -done -popd +install -pm 0644 de_AT_frami.aff %{buildroot}%{_datadir}/hunspell/de_AT.aff +install -pm 0644 de_AT_frami.dic %{buildroot}%{_datadir}/hunspell/de_AT.dic + +install -pm 0644 de_CH_frami.aff %{buildroot}%{_datadir}/hunspell/de_CH.aff +install -pm 0644 de_CH_frami.dic %{buildroot}%{_datadir}/hunspell/de_CH.dic +install -pm 0644 de_DE_frami.aff %{buildroot}%{_datadir}/hunspell/de_LI.aff +install -pm 0644 de_DE_frami.dic %{buildroot}%{_datadir}/hunspell/de_LI.dic + +install -pm 0644 de_DE_frami.aff %{buildroot}%{_datadir}/hunspell/de_DE.aff +install -pm 0644 de_DE_frami.dic %{buildroot}%{_datadir}/hunspell/de_DE.dic +install -pm 0644 de_DE_frami.aff %{buildroot}%{_datadir}/hunspell/de_BE.aff +install -pm 0644 de_DE_frami.dic %{buildroot}%{_datadir}/hunspell/de_BE.dic +install -pm 0644 de_DE_frami.aff %{buildroot}%{_datadir}/hunspell/de_LU.aff +install -pm 0644 de_DE_frami.dic %{buildroot}%{_datadir}/hunspell/de_LU.dic %files -%doc hunspell/README_de_??.txt -%license hunspell/COPYING_GPLv2 hunspell/COPYING_GPLv3 hunspell/Copyright -%{_datadir}/%{dict_dirname}/* +%doc README_de_DE_frami.txt README_extension_owner.txt +%license COPYING_GPLv2 COPYING_GPLv3 +%{_datadir}/hunspell/* + %changelog +* Sat Feb 24 2024 Sandro Mani - 20240224-1 +- Pull dictionaries from libreoffice git + * Wed Jan 24 2024 Fedora Release Engineering - 20161207-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/make_source.sh b/make_source.sh new file mode 100755 index 0000000..682a069 --- /dev/null +++ b/make_source.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +datestr=$(date +%Y%m%d) +rm -rf dict-de-$datestr dict-de-$datestr.tar.xz +mkdir dict-de-$datestr +pushd dict-de-$datestr + +wget --content-disposition https://cgit.freedesktop.org/libreoffice/dictionaries/plain/de/COPYING_GPLv2 +wget --content-disposition https://cgit.freedesktop.org/libreoffice/dictionaries/plain/de/COPYING_GPLv3 +wget --content-disposition https://cgit.freedesktop.org/libreoffice/dictionaries/plain/de/README_de_DE_frami.txt +wget --content-disposition https://cgit.freedesktop.org/libreoffice/dictionaries/plain/de/README_extension_owner.txt +wget --content-disposition https://cgit.freedesktop.org/libreoffice/dictionaries/plain/de/de_AT_frami.aff +wget --content-disposition https://cgit.freedesktop.org/libreoffice/dictionaries/plain/de/de_AT_frami.dic +wget --content-disposition https://cgit.freedesktop.org/libreoffice/dictionaries/plain/de/de_CH_frami.aff +wget --content-disposition https://cgit.freedesktop.org/libreoffice/dictionaries/plain/de/de_CH_frami.dic +wget --content-disposition https://cgit.freedesktop.org/libreoffice/dictionaries/plain/de/de_DE_frami.aff +wget --content-disposition https://cgit.freedesktop.org/libreoffice/dictionaries/plain/de/de_DE_frami.dic + +popd + +tar cfJ dict-de-$datestr.tar.xz dict-de-$datestr +rm -rf dict-de-$datestr +echo "Created dict-de-$datestr.tar.xz!" diff --git a/sources b/sources index 1214f3d..e86174f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (igerman98-20161207.tar.bz2) = 62be84ac76fd2a0acc25439aa4c04339e54a1c7a2f619d76e0e01cfb53eeeca263c5cc335e315f9adeee9bab5cc392d4c473ca55cbed371c04c123d6fa2272aa +SHA512 (dict-de-20240224.tar.xz) = 5cdfe2b73e600310483863506f10fba0c03c1740c73f89290c5bdc22afc1ff6db4203a86d2b0184ab2753ec0a61978f80a4b553b82605d0496b79e06c9da66a4 From 99b59a53b4c4b3f34a7d510794232755ef8af495 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 09:30:39 +0000 Subject: [PATCH 21/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 1e1a010..9fced69 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -1,7 +1,7 @@ Name: hunspell-de Summary: German hunspell dictionaries Version: 20240224 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-only OR GPL-3.0-only URL: https://cgit.freedesktop.org/libreoffice/dictionaries/tree/de @@ -49,6 +49,9 @@ install -pm 0644 de_DE_frami.dic %{buildroot}%{_datadir}/hunspell/de_LU.dic %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 20240224-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Feb 24 2024 Sandro Mani - 20240224-1 - Pull dictionaries from libreoffice git From 68c2dee88fe88df782b332d989b9ff7b072b70b4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 06:12:37 +0000 Subject: [PATCH 22/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 9fced69..616e6a0 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -1,7 +1,7 @@ Name: hunspell-de Summary: German hunspell dictionaries Version: 20240224 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-2.0-only OR GPL-3.0-only URL: https://cgit.freedesktop.org/libreoffice/dictionaries/tree/de @@ -49,6 +49,9 @@ install -pm 0644 de_DE_frami.dic %{buildroot}%{_datadir}/hunspell/de_LU.dic %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 20240224-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 18 2024 Fedora Release Engineering - 20240224-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From ee95e57d8939f1518bc6c5dc492b282de103aca9 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Mon, 12 Aug 2024 12:58:29 +0530 Subject: [PATCH 23/24] Added CI tmt tests --- .fmf/version | 1 + plans/hunspell-de.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-de.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-de.fmf b/plans/hunspell-de.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/hunspell-de.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..7c8936a --- /dev/null +++ b/tests/test_dic_availability.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-de +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..0bd811b --- /dev/null +++ b/tests/test_dic_availability.py @@ -0,0 +1,10 @@ +#!/usr/bin/python3 + +import enchant + +lang = "de_DE" +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..19fee91 --- /dev/null +++ b/tests/test_suggest_words.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-de +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..eec7655 --- /dev/null +++ b/tests/test_suggest_words.py @@ -0,0 +1,9 @@ +#!/usr/bin/python3 + +import enchant + +wdlst = [ "Hall", "chai", "morge"] +dic = enchant.Dict("de_DE") +for wd in wdlst: + dic.check(wd) + print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd))) From b4d882ff2c9209b8a33aae31d9cd20795f58b8e6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 17:10:26 +0000 Subject: [PATCH 24/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- hunspell-de.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-de.spec b/hunspell-de.spec index 616e6a0..5ba0513 100644 --- a/hunspell-de.spec +++ b/hunspell-de.spec @@ -1,7 +1,7 @@ Name: hunspell-de Summary: German hunspell dictionaries Version: 20240224 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-2.0-only OR GPL-3.0-only URL: https://cgit.freedesktop.org/libreoffice/dictionaries/tree/de @@ -49,6 +49,9 @@ install -pm 0644 de_DE_frami.dic %{buildroot}%{_datadir}/hunspell/de_LU.dic %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 20240224-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jan 17 2025 Fedora Release Engineering - 20240224-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild