Name: mythes-lv Summary: Latvian mythes dictionaries Version: 0.9.4 Release: %mkrel 7 Source: http://dict.dv.lv/download/lv_LV-%{version}.oxt Group: Text tools URL: http://dict.dv.lv/ License: LGPLv2+ BuildArch: noarch Requires: mythes Requires: locales-lv %description Latvian thesaurus. %prep %setup -q -c %build for i in README_lv_LV.txt; do if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then iconv -f ISO-8859-4 -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 chmod -x *.dic %install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes cp -p th_lv_LV_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes %files %defattr(-,root,root,-) %doc package-description.txt license.txt %{_datadir}/mythes/* %changelog * Fri Mar 29 2013 tv <tv> 0.9.4-7.mga3 + Revision: 406109 - requires locales-mythes-lv (mga#9540) * Sat Jan 12 2013 umeabot <umeabot> 0.9.4-6.mga3 + Revision: 360615 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Feb 14 2012 kamil <kamil> 0.9.4-5.mga2 + Revision: 208550 - remove from .spec hunspell and hyphen parts - exclude mythes-lv from hunspell-lv * Tue Feb 14 2012 kamil <kamil> 0.9.4-4.mga2 + Revision: 208543 - rename package to hunspell-lv - rename package to hunspell-lv * Tue Feb 14 2012 kamil <kamil> 0.9.4-3.mga2 + Revision: 208536 - imported package openoffice-lv