42 lines
1.0 KiB
RPMSpec
42 lines
1.0 KiB
RPMSpec
Name: hyphen-sa
|
|
Summary: Rules for Sanskrit hyphenation
|
|
Version: 0.20110915
|
|
Release: 16
|
|
Source: http://mirror.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-sa.tex
|
|
URL: http://tug.org/tex-hyphen
|
|
License: LPPL
|
|
BuildArch: noarch
|
|
BuildRequires: hyphen-devel
|
|
Requires: hyphen
|
|
Supplements: (hyphen and langpacks-sa)
|
|
|
|
%description
|
|
Rules for Sanskrit hyphenation.
|
|
|
|
%prep
|
|
%autosetup -T -c -n hyphen-sa -p1
|
|
cp -p %{SOURCE0} .
|
|
|
|
%build
|
|
substrings.pl hyph-sa.tex hyph_sa_IN.dic UTF-8
|
|
cat > README << EOF
|
|
Created with substring.pl by substrings.pl hyph-sa.tex hyph_sa_IN.dic UTF-8
|
|
Original in-line credits were:
|
|
|
|
EOF
|
|
head -n 17 hyph-sa.tex >> README
|
|
|
|
%install
|
|
install -Dp hyph_sa_IN.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_sa_IN.dic
|
|
|
|
%files
|
|
%doc README
|
|
%{_datadir}/hyphen/hyph_sa_IN.dic
|
|
|
|
%changelog
|
|
* Wed Sep 9 2020 baizhonggui<baizhonggui@huawei.com> - 0.20110915-16
|
|
- Modify Source
|
|
|
|
* Tue Apr 14 2020 wutao<wutao61@huawei.com> - 0.20110915-15
|
|
- Package init
|