Name: mythes-ga Summary: Irish thesaurus %define upstreamid 20071001 Version: 0.%{upstreamid}.1 Release: %mkrel 9 Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/thes_ga_IE_v2.zip Group: Text tools URL: http://borel.slu.edu/lsg/index-en.html BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: unzip License: GFDL BuildArch: noarch Requires: mythes Requires: locales-ga %description Irish thesaurus. %prep %setup -q -c %build for i in README_th_ga_IE_v2.txt; do if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then iconv -f ISO-8859-1 -t UTF-8 $i > $i.new touch -r $i $i.new mv -f $i.new $i fi 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 th_ga_IE_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README_th_ga_IE_v2.txt %{_datadir}/mythes/* %changelog * Fri Mar 29 2013 tv <tv> 0.20071001.1-9.mga3 + Revision: 406105 - requires locales-mythes-ga (mga#9540) * Sat Jan 12 2013 umeabot <umeabot> 0.20071001.1-8.mga3 + Revision: 360599 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Mar 12 2011 dmorgan <dmorgan> 0.20071001.1-7.mga1 + Revision: 68439 - imported package mythes-ga