hyphen-cy/hyphen-cy.spec
2020-07-09 19:29:17 +08:00

39 lines
919 B
RPMSpec

Name: hyphen-cy
Summary: Rules for Welsh hyphenation
Version: 0.20110620
Release: 14
#https://github.com/hyphenation/tex-hyphen/blob/master/hyph-utf8/patterns/tex/hyph-cy.tex
Source: hyph-cy.tex
URL: http://tug.org/tex-hyphen
License: LPPL
BuildArch: noarch
BuildRequires: hyphen-devel
Requires: hyphen
Supplements: (hyphen and langpacks-cy)
%description
Rules for Welsh hyphenation.
%prep
%autosetup -T -c -n hyphen-cy -p1
cp -p %{SOURCE0} .
%build
substrings.pl hyph-cy.tex hyph_cy_GB.dic ISO8859-1
cat > README << EOF
Created with substring.pl by substrings.pl hyph-cy.tex hyph_cy_GB.dic ISO8859-1
---
EOF
head -n 25 hyph-cy.tex >> README
%install
install -Dp hyph_cy_GB.dic %{buildroot}/%{_datadir}/hyphen/hyph_cy_GB.dic
%files
%doc README
%{_datadir}/hyphen/*
%changelog
* Thu Apr 30 2020 wutao <wutao61@huawei.com> - 0.20110620-14
- Package init