From a422f53cd856b664bb7d4a95c328a7029c3a382d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 07 2019 13:35:44 +0000 Subject: import mythes-it-2.0.9l-18.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..692a55b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/thesaurus2_it_02_09_l_2008_11_29.zip diff --git a/.mythes-it.metadata b/.mythes-it.metadata new file mode 100644 index 0000000..387f8cf --- /dev/null +++ b/.mythes-it.metadata @@ -0,0 +1 @@ +54ce337bae79c04fa429b003f8cb1eb82ec65d43 SOURCES/thesaurus2_it_02_09_l_2008_11_29.zip diff --git a/SPECS/mythes-it.spec b/SPECS/mythes-it.spec new file mode 100644 index 0000000..6fe38eb --- /dev/null +++ b/SPECS/mythes-it.spec @@ -0,0 +1,103 @@ +Name: mythes-it +Summary: Italian thesaurus +Version: 2.0.9l +Release: 18%{?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) + +%description +Italian thesaurus. + +%prep +%autosetup -c + +%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 + + +%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 + +pushd $RPM_BUILD_ROOT/%{_datadir}/mythes/ +it_IT_aliases="it_CH" +for lang in $it_IT_aliases; do + ln -s th_it_IT_v2.dat "th_"$lang"_v2.dat" + ln -s th_it_IT_v2.idx "th_"$lang"_v2.idx" +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/* + +%changelog +* Fri Jul 06 2018 Parag Nemade - 2.0.9l-18 +- Update License AGPLv3 to AGPLv3+ + +* Thu Feb 08 2018 Fedora Release Engineering - 2.0.9l-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.0.9l-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 2.0.9l-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 19 2016 Parag Nemade - 2.0.9l-14 +- Add Supplements: tag for langpacks naming guidelines +- Clean the specfile to follow current packaging guidelines + +* Thu Feb 04 2016 Fedora Release Engineering - 2.0.9l-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 2.0.9l-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.0.9l-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 2.0.9l-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 2.0.9l-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 2.0.9l-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 2.0.9l-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* 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 +- 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 +- 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 +- initial version