%define upstream_version 20110620 Name: hyphen-eu Version: 0.%{upstream_version} Release: %mkrel 1 Summary: Basque hyphenation rules License: LPPL Group: Text tools URL: http://tp.lc.ehu.es/jma/basque.html Source0: http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-eu.tex Patch0: %{name}-%{version}-fdr-clean-tex.patch BuildRequires: hyphen-devel BuildArch: noarch Requires: hyphen %description Basque hyphenation rules. %prep %setup -T -q -c cp -p %{_sourcedir}/hyph-eu.tex . %patch0 -p0 -b .clean %build grep -v "^%" hyph-eu.tex | tr ' ' '\n' > temp.tex substrings.pl temp.tex hyph_eu_ES.dic ISO8859-1 echo "Created with substring.pl by substrings.pl hyph-eu.tex hyph_eu_ES.dic ISO8859-1" > README echo "---" >> README head -n 34 hyph-eu.tex >> README %install mkdir -p %{buildroot}%{_datadir}/hyphen cp -p hyph_eu_ES.dic %{buildroot}%{_datadir}/hyphen %files %doc README %{_datadir}/hyphen/* %changelog * Tue Jan 10 2012 kamil <kamil> 0.20110620-1.mga2 + Revision: 194715 - synchronize package with Fedora o new version o rediff patch and rename * Tue Jan 10 2012 kamil <kamil> 0.20100531-2.mga2 + Revision: 194612 - rebuild against new hyphen-devel - clean spec * Sat Mar 12 2011 ahmad <ahmad> 0.20100531-1.mga1 + Revision: 70010 - fix group - imported package hyphen-eu * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100531-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Jun 01 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100531-1 - latest version * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080628-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat Jun 13 2009 Caolán McNamara <caolanm@redhat.com> - 0.20080628-1 - initial version