diff --git a/.gitignore b/.gitignore index 692a55b..c343383 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/thesaurus2_it_02_09_l_2008_11_29.zip +SOURCES/dizionario_italiano-5.1.1.tar.gz diff --git a/.mythes-it.metadata b/.mythes-it.metadata index 387f8cf..494e89a 100644 --- a/.mythes-it.metadata +++ b/.mythes-it.metadata @@ -1 +1 @@ -54ce337bae79c04fa429b003f8cb1eb82ec65d43 SOURCES/thesaurus2_it_02_09_l_2008_11_29.zip +ba3da586090afc9139657292749408a67375d379 SOURCES/dizionario_italiano-5.1.1.tar.gz diff --git a/SPECS/mythes-it.spec b/SPECS/mythes-it.spec index 90c08be..a164252 100644 --- a/SPECS/mythes-it.spec +++ b/SPECS/mythes-it.spec @@ -1,37 +1,43 @@ -Name: mythes-it -Summary: Italian thesaurus -Version: 2.0.9l -Release: 26%{?dist} -Source: http://downloads.sourceforge.net/sourceforge/linguistico/thesaurus2_it_02_09_l_2008_11_29.zip -URL: http://linguistico.sourceforge.net/pages/thesaurus_italiano.html -License: AGPLv3+ -BuildArch: noarch -Requires: mythes -Supplements: (mythes and langpacks-it) +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 5; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +Name: mythes-it +Summary: Italian thesaurus +Version: 5.1.1 +Release: %autorelease +# The license text is embedded within the README files +# Here we specify the thesaurus 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: mythes +Supplements: (mythes and langpacks-it) %description Italian thesaurus. + %prep -%autosetup -c +%autosetup -n dizionario_italiano-%{version} + %build -for i in th_it_IT_README th_it_IT_ChangeLog th_it_IT_AUTHORS; 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 do %install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes -cp -p th_it_IT.dat $RPM_BUILD_ROOT/%{_datadir}/mythes/th_it_IT_v2.dat -cp -p th_it_IT.idx $RPM_BUILD_ROOT/%{_datadir}/mythes/th_it_IT_v2.idx +cp -p th_it_IT_v2.dat $RPM_BUILD_ROOT/%{_datadir}/mythes/th_it_IT_v2.dat +cp -p th_it_IT_v2.idx $RPM_BUILD_ROOT/%{_datadir}/mythes/th_it_IT_v2.idx pushd $RPM_BUILD_ROOT/%{_datadir}/mythes/ it_IT_aliases="it_CH" @@ -42,17 +48,45 @@ done %files -%doc th_it_IT_README th_it_IT_ChangeLog th_it_IT_INSTALL th_it_IT_copyright_licenza.txt th_it_IT_lettera_in_inglese.txt th_it_IT_AUTHORS -%license th_it_IT_COPYING -%{_datadir}/mythes/* +%license LICENSES/gpl-3.0.txt +%doc CHANGELOG.txt README.md README_th_it_IT.txt +%{_datadir}/mythes/th_it_IT_v2.* +%{_datadir}/mythes/th_it_CH_v2.* %changelog -* Mon Aug 09 2021 Mohan Boddu - 2.0.9l-26 -- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Related: rhbz#1991688 +* Mon Jan 06 2025 Arkady L. Shane - 5.1.1-5 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Thu Jul 18 2024 Fedora Release Engineering - 5.1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 5.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 5.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jul 20 2023 Fedora Release Engineering - 5.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild -* Fri Apr 16 2021 Mohan Boddu - 2.0.9l-25 -- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 +* Sun Jun 04 2023 Mattia Verga - 5.1.1-1 +- Use sources from pagure.io project + +* Thu Feb 23 2023 Caolán McNamara - 2.0.9l-29 +- migrated to SPDX license + +* Thu Jan 19 2023 Fedora Release Engineering - 2.0.9l-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 2.0.9l-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 2.0.9l-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 2.0.9l-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.0.9l-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild @@ -112,17 +146,19 @@ done * Tue Feb 08 2011 Fedora Release Engineering - 2.0.9l-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild -* Sun Apr 04 2010 Caolan McNamara - 2.0.9l-5 +* Sun Apr 04 2010 Caolán McNamara - 2.0.9l-5 - mythes now owns /usr/share/mythes * Sat Jul 25 2009 Fedora Release Engineering - 2.0.9l-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild -* Fri Jul 10 2009 Caolan McNamara - 2.0.9l-3 +* Fri Jul 10 2009 Caolán McNamara - 2.0.9l-3 - tidy spec * Wed Feb 25 2009 Fedora Release Engineering - 2.0.9l-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild -* Fri Jan 16 2009 Caolan McNamara - 2.0.9l-1 +* Fri Jan 16 2009 Caolán McNamara - 2.0.9l-1 - initial version + +## END: Generated by rpmautospec