97 lines
3.6 KiB
RPMSpec
97 lines
3.6 KiB
RPMSpec
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 <releng@fedoraproject.org> - 1.5.0-15
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-14
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 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 <releng@fedoraproject.org> - 1.5.0-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Sat Apr 03 2010 Caolan McNamara <caolanm@redhat.com> - 1.5.0-4
|
|
- mythes now owns /usr/share/mythes
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Sat Jul 11 2009 Caolán McNamara <caolanm@redhat.com> - 1.5.0-2
|
|
- tidy spec
|
|
|
|
* Fri Mar 27 2009 Caolán McNamara <caolanm@redhat.com> - 1.5.0-1
|
|
- latest version
|
|
|
|
* Mon Mar 09 2009 Caolán McNamara <caolanm@redhat.com> - 1.0.0-1
|
|
- latest version
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-0.2.beta
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Fri Feb 06 2009 Caolán McNamara <caolanm@redhat.com> - 0.5.1-0.1.beta
|
|
- initial version
|