commit fa619edca52b8851b9be7ec6e91a1eb80af65109 Author: CentOS Sources Date: Tue May 7 06:04:52 2019 -0400 import mythes-ca-1.5.0-15.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8c4a488 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/thesaurus-ca.oxt diff --git a/.mythes-ca.metadata b/.mythes-ca.metadata new file mode 100644 index 0000000..bf9be18 --- /dev/null +++ b/.mythes-ca.metadata @@ -0,0 +1 @@ +bb44971b1348c59818a044b538f9e6a0e0724b24 SOURCES/thesaurus-ca.oxt diff --git a/SPECS/mythes-ca.spec b/SPECS/mythes-ca.spec new file mode 100644 index 0000000..9a8fc91 --- /dev/null +++ b/SPECS/mythes-ca.spec @@ -0,0 +1,96 @@ +Name: mythes-ca +Summary: Catalan thesaurus +Version: 1.5.0 +Release: 15%{?dist} +Source: http://www.softcatala.org/diccionaris/actualitzacions/sinonims/thesaurus-ca.oxt +URL: http://www.softcatala.org/wiki/Projectes/Openthesaurus-ca +License: GPL+ +BuildArch: noarch +Requires: mythes +Supplements: (mythes and langpacks-ca) + +%description +Catalan thesaurus. + +%prep +%setup -q -c + +%build +for i in release_note-ca.txt dictionaries/README_th_ca_ES_v3.txt; do + 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 dictionaries/th_ca_ES_v3.dat $RPM_BUILD_ROOT/%{_datadir}/mythes/th_ca_ES_v2.dat +cp -p dictionaries/th_ca_ES_v3.idx $RPM_BUILD_ROOT/%{_datadir}/mythes/th_ca_ES_v2.idx +pushd $RPM_BUILD_ROOT/%{_datadir}/mythes/ +ca_ES_aliases="ca_AD ca_FR ca_IT" +for lang in $ca_ES_aliases; do + ln -s th_ca_ES_v2.dat "th_"$lang"_v2.dat" + ln -s th_ca_ES_v2.idx "th_"$lang"_v2.idx" +done +popd + + +%files +%doc dictionaries/README_th_ca_ES_v3.txt LICENCES-fr.txt LICENSES-en.txt LICENCIAS-es.txt LLICENCIES-ca.txt release_note-ca.txt +%{_datadir}/mythes/* + +%changelog +* Wed Jul 26 2017 Fedora Release Engineering - 1.5.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.5.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 19 2016 Parag Nemade - 1.5.0-13 +- Add Supplements: tag for langpacks naming guidelines +- Clean the specfile to follow current packaging guidelines + +* Thu Feb 04 2016 Fedora Release Engineering - 1.5.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.5.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.5.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 1.5.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.5.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 1.5.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.5.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Apr 03 2010 Caolan McNamara - 1.5.0-4 +- mythes now owns /usr/share/mythes + +* Sat Jul 25 2009 Fedora Release Engineering - 1.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat Jul 11 2009 Caolán McNamara - 1.5.0-2 +- tidy spec + +* Fri Mar 27 2009 Caolán McNamara - 1.5.0-1 +- latest version + +* Mon Mar 09 2009 Caolán McNamara - 1.0.0-1 +- latest version + +* Wed Feb 25 2009 Fedora Release Engineering - 0.5.1-0.2.beta +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 06 2009 Caolán McNamara - 0.5.1-0.1.beta +- initial version