hyphen-eu/hyphen-eu.spec
caodongxia 6ed4b6366f Correcting the changelog
(cherry picked from commit df4bb5280574d29fce0b775e15a6edd7c21fd1fa)
2024-05-24 14:40:41 +08:00

46 lines
1.4 KiB
RPMSpec

Name: hyphen-eu
Version: 0.20110620
Release: 16
Summary: Basque hyphenation rule
License: LPPL
URL: http://tp.lc.ehu.es/jma/basque.html
Source: http://tug.ctan.org/tex-archive/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 <<EOF> 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
* Mon May 6 2024 caodongxia <caodongxia@h-partners.com> - 0.20110620-16
- Correcting the changelog
* Wed Jun 2 2021 wulei <wulei80@huawei.com> - 0.20110620-15
- fixes failed: perl: bad interpreter: No such file or directory
* Mon Jul 6 2020 yanan li <liyanan032@huawei.com> - 0.20110620-14
- Package init