%define upstreamid 20040420 Name: hyphen-fo Summary: Faroese hyphenation rules Version: 0.%{upstreamid} Release: %mkrel 8 Source: http://fo.speling.org/filer/hyph_fo_FO-20040420a.zip Group: Text tools URL: http://fo.speling.org/ License: GPL+ BuildArch: noarch Requires: hyphen Requires: locales-fo %description Faroese hyphenation rules. %prep %setup -q -c %build for i in README_hyph_fo_FO.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 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen cp -p hyph_fo_FO.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen %files %doc README_hyph_fo_FO.txt %{_datadir}/hyphen/* %changelog * Tue Sep 18 2018 umeabot <umeabot> 0.20040420-8.mga7 (not released yet) + Revision: 1262998 - Mageia 7 Mass Rebuild * Mon Feb 08 2016 umeabot <umeabot> 0.20040420-7.mga6 + Revision: 944775 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.20040420-6.mga5 + Revision: 743930 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.20040420-5.mga5 + Revision: 680356 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 0.20040420-4.mga4 + Revision: 523005 - Mageia 4 Mass Rebuild * Fri Mar 29 2013 tv <tv> 0.20040420-3.mga3 + Revision: 406187 - requires locales-hyphen-fo (mga#9540) * Sat Jan 12 2013 umeabot <umeabot> 0.20040420-2.mga3 + Revision: 353892 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Mar 12 2011 ahmad <ahmad> 0.20040420-1.mga1 + Revision: 70020 - fix group - imported package hyphen-fo * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040420-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Aug 10 2009 Caolan McNamara <caolanm@redhat.com> - 0.20040420-1 - initial version