45 lines
1.2 KiB
RPMSpec
45 lines
1.2 KiB
RPMSpec
Name: hyphen-tk
|
|
Version: 0.20110620
|
|
Release: 16
|
|
Summary: The rules for Turkmen hyphenation
|
|
License: MIT
|
|
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, perl
|
|
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
|
|
* Wed Jun 02 2021 wulei <wulei80@huawei.com> - 0.20110620-16
|
|
- fixes failed: perl: bad interpreter: No such file or directory
|
|
|
|
* Fri Jan 08 2021 Ge Wang <wangge20@huawei.com> - 0.20110620-15
|
|
- Modify license information
|
|
|
|
* Fri Jul 03 2020 yaokai <yaokai13@huawei.com> - 0.20110620-14
|
|
- Package init
|