39 lines
996 B
RPMSpec
39 lines
996 B
RPMSpec
Name: hyphen-tk
|
|
Version: 0.20110620
|
|
Release: 14
|
|
Summary: The rules for Turkmen hyphenation
|
|
License: Public Domain
|
|
URL: http://tug.org/tex-hyphen
|
|
Source: http://ctan.math.illinois.edu/languages/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-tk.tex
|
|
BuildArch: noarch
|
|
Requires: hyphen
|
|
BuildRequires: hyphen-devel
|
|
Supplements: (hyphen and langpacks-tk)
|
|
|
|
%description
|
|
The rules for Turkmen hyphenation
|
|
|
|
%prep
|
|
%autosetup -T -c -n hyphen-tk
|
|
install -p %{SOURCE0} .
|
|
|
|
%build
|
|
substrings.pl hyph-tk.tex hyph_tk_TM.dic UTF-8
|
|
cat << EOF >>README
|
|
Created with substring.pl by substrings.pl hyph-tk.tex hyph_tk_TM.dic UTF-8
|
|
Original in-line credits were:
|
|
|
|
EOF
|
|
head -n 15 hyph-tk.tex >> README
|
|
|
|
%install
|
|
install -Dp hyph_tk_TM.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_tk_TM.dic
|
|
|
|
%files
|
|
%doc README
|
|
%{_datadir}/hyphen/hyph_tk_TM.dic
|
|
|
|
%changelog
|
|
* Fri Jul 03 2020 yaokai <yaokai13@huawei.com> - 0.20110620-14
|
|
- Package init
|