Name: mythes-el Summary: Greek thesaurus %define upstreamid 20070412 Version: 0.%{upstreamid}.1 Release: %mkrel 12 Source: http://www.ellak.gr/pub/oo_extras/th_el.zip Group: Text tools URL: http://www.openthesaurus.gr/ License: GPLv2+ BuildArch: noarch Requires: mythes Requires: locales-el %description Greek thesaurus. %prep %setup -q -c %build for i in README_th_el_GR_v2.txt; do if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then iconv -f ISO-8859-7 -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 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes cp -p th_el_GR_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes pushd $RPM_BUILD_ROOT/%{_datadir}/mythes/ el_GR_aliases="el_CY" for lang in $el_GR_aliases; do ln -s th_el_GR_v2.dat "th_"$lang"_v2.dat" ln -s th_el_GR_v2.idx "th_"$lang"_v2.idx" done %files %doc README_th_el_GR_v2.txt %{_datadir}/mythes/* %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.20070412.1-12.mga5 + Revision: 750651 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.20070412.1-11.mga5 + Revision: 682738 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 0.20070412.1-10.mga4 + Revision: 522825 - Mageia 4 Mass Rebuild * Fri Mar 29 2013 tv <tv> 0.20070412.1-9.mga3 + Revision: 406101 - requires locales-mythes-el (mga#9540) * Sat Jan 12 2013 umeabot <umeabot> 0.20070412.1-8.mga3 + Revision: 360592 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Mar 12 2011 dmorgan <dmorgan> 0.20070412.1-7.mga1 + Revision: 68419 - imported package mythes-el * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20070412-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Apr 03 2010 Caolan McNamara <caolanm@redhat.com> - 0.20070412-6 - mythes now owns /usr/share/mythes * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20070412-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20070412-4 - tidy spec * Fri Jun 12 2009 Caolan McNamara <caolanm@redhat.com> - 0.20070412-3 - extend coverage * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20070412-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Jan 15 2009 Caolan McNamara <caolanm@redhat.com> - 0.20070412-1 - initial version