49 lines
1.5 KiB
RPMSpec
49 lines
1.5 KiB
RPMSpec
Name: hyphen-eu
|
|
Version: 0.20110620
|
|
Release: 17
|
|
Summary: Basque hyphenation rule
|
|
License: MIT
|
|
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
|
|
* Thu Jun 13 2024 wangkai <13474090681@163.com> - 0.20110620-17
|
|
- License compliance rectification
|
|
|
|
* 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
|