diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30ccd28 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/thesaurus-ca.oxt diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/mythes-ca.spec b/mythes-ca.spec new file mode 100644 index 0000000..9a8fc91 --- /dev/null +++ b/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 diff --git a/sources b/sources new file mode 100644 index 0000000..94825d9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (thesaurus-ca.oxt) = 1765807dd8594310992348101710ac4baca7bc431e74e4158a53b815435f64cb1677fa7b057b5bc338859f236d4630fa44c9ed7a3f456e9ae067463d30f6c2f7