hyphen-cy/hyphen-cy.spec
houyingchao 5976010c80 License compliance rectification
(cherry picked from commit ae1edce37f9bd9ffac6240ca4b7dd87ef8dc9c33)
2024-06-13 17:21:29 +08:00

47 lines
1.2 KiB
RPMSpec

Name: hyphen-cy
Summary: Rules for Welsh hyphenation
Version: 0.20110620
Release: 17
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-1.3c
BuildArch: noarch
BuildRequires: hyphen-devel, perl
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
* Wed May 11 2022 houyingchao <houyingchao@h-partners.com> - 0.20110620-17
- License compliance rectification
* Wed Jun 2 2021 wulei <wulei80@huawei.com> - 0.20110620-16
- fixes failed: perl: bad interpreter: No such file or directory
* 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