Name: mythes-ca Summary: Catalan thesaurus Version: 1.5.0 Release: %mkrel 7 Source: http://www.softcatala.org/diccionaris/actualitzacions/sinonims/thesaurus-ca.oxt Group: Text tools URL: http://www.softcatala.org/wiki/Projectes/Openthesaurus-ca BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root License: GPL+ BuildArch: noarch Requires: mythes Requires: locales-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 rm -rf $RPM_BUILD_ROOT 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 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %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 * Fri Mar 29 2013 tv <tv> 1.5.0-7.mga3 + Revision: 406097 - requires locales-mythes-ca (mga#9540) * Sat Jan 12 2013 umeabot <umeabot> 1.5.0-6.mga3 + Revision: 360588 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Mar 12 2011 dmorgan <dmorgan> 1.5.0-5.mga1 + Revision: 68399 - imported package mythes-ca