Name: mythes-es Version: 20110122 Release: 2mamba Summary: Spanish thesaurus Group: System/Internationalization Vendor: openmamba Distribution: openmamba Packager: gil URL: http://openthes-es.berlios.de/ # source from http://archives.fedoraproject.org/pub/fedora-secondary/releases/11/Everything/source/SRPMS/mythes-es-0.20090406-1.fc11.src.rpm Source: http://openthes-es.berlios.de/download/OOo2-thes_es_ES.tar.bz2 License: LGPL Requires: libmythes BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Spanish thesaurus. %prep %setup -q -c %{name}-%{version} iconv -f ISO-8859-1 -t UTF-8 README_th_es_ES_v2.txt > README_th_es_ES_v2.txt.new mv -f README_th_es_ES_v2.txt.new README_th_es_ES_v2.txt %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" mkdir -p %{buildroot}%{_datadir}/mythes cp -p th_es_ES_v2.dat %{buildroot}%{_datadir}/mythes cp -p th_es_ES_v2.idx %{buildroot}%{_datadir}/mythes pushd %{buildroot}%{_datadir}/mythes/ ALIASES="es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE" for lang in $ALIASES; do ln -s th_es_ES_v2.dat "th_"$lang"_v2.dat" ln -s th_es_ES_v2.idx "th_"$lang"_v2.idx" done popd %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_datadir}/mythes/* %doc COPYING README_th_es_ES_v2.txt %changelog * Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto 20110122-2mamba - rebuilt * Sat Jan 22 2011 gil 20110122-1mamba - package created by autospec