%global upstreamid 20190406 Name: hyphen-eu Version: 0.20190406 Release: 1 Summary: Basque hyphenation rule License: MIT URL: http://tp.lc.ehu.es/jma/basque.html Source: http://mirrors.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-eu.tex BuildArch: noarch BuildRequires: hyphen-devel, perl Requires: hyphen Supplements: (hyphen and langpacks-eu) Patch0: hyphen-eu-cleantex.patch %description hyphen-eu provides support for the Basque language under the Babel package for LaTeX2e %prep %setup -T -q -c -n hyphen-eu cp -p %{SOURCE0} . %patch0 -p0 -b .clean %build grep -v "^%" hyph-eu.tex | tr ' ' '\n' > temp.tex substrings.pl temp.tex hyph_eu_ES.dic ISO8859-1 cat < README Created with substring.pl by substrings.pl hyph-eu.tex hyph_eu_ES.dic ISO8859-1 --- EOF head -n 34 hyph-eu.tex >> README %install install -Dp hyph_eu_ES.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_eu_ES.dic %files %doc README %{_datadir}/hyphen/* %changelog * Fri Apr 14 2023 Ge Wang - 0.%{upstreamid}-1 - Update to version 20190406 * Tue Jul 5 2022 zhangtao - 0.%{upstreamid}-16 - License compliance rectification * Wed Jun 2 2021 wulei - 0.%{upstreamid}-15 - fixes failed: perl: bad interpreter: No such file or directory * Mon Jul 6 2020 yanan li - 0.%{upstreamid}-14 - Package init