40 lines
991 B
RPMSpec
40 lines
991 B
RPMSpec
Name: hyphen-hsb
|
|
Version: 0.20110620
|
|
Release: 14
|
|
Summary: Uppersorbian for hyphenation patterns
|
|
License: LPPL
|
|
URL: http://tug.org/tex-hyphen
|
|
Source0: http://mirror.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-hsb.tex
|
|
Patch0000: hyphen-hsb-cleantex.patch
|
|
BuildArch: noarch
|
|
BuildRequires: hyphen-devel
|
|
Requires: hyphen
|
|
|
|
%description
|
|
Uppersorbian for hyphenation patterns.
|
|
|
|
%prep
|
|
%setup -T -q -c -n hyphen-hsb
|
|
cp -p %{SOURCE0} .
|
|
%patch0000 -p0 -b .clean
|
|
|
|
%build
|
|
substrings.pl hyph-hsb.tex hyph_hsb_DE.dic UTF-8
|
|
cat << EOF >> README
|
|
created with substring.pl by substrings.pl hyph-hsb.tex hyph_hsb_DE.dic UTF-8
|
|
---
|
|
EOF
|
|
head -n 70 hyph-hsb.tex >> README
|
|
|
|
%install
|
|
install -d $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
|
install -Dp hyph_hsb_DE.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
|
|
|
%files
|
|
%doc README
|
|
%{_datadir}/hyphen/*
|
|
|
|
%changelog
|
|
* Wed Apr 22 2020 chengzihan <chengzihan2@huawei.com> - 0.20110620-14
|
|
- Package init
|