hyphen-cy/hyphen-cy.spec
2020-09-09 14:13:46 +08:00

41 lines
1003 B
RPMSpec

Name: hyphen-cy
Summary: Rules for Welsh hyphenation
Version: 0.20110620
Release: 15
Source: http://tug.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/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
* Tue Sep 8 2020 baizhonggui <baizhonggui@huawei.com> - 0.20110620-15
- Modify Source.
* Thu Apr 30 2020 wutao <wutao61@huawei.com> - 0.20110620-14
- Package init