39 lines
872 B
RPMSpec
39 lines
872 B
RPMSpec
Name: hyphen-sa
|
|
Summary: Rules for Sanskrit hyphenation
|
|
Version: 0.20110915
|
|
Release: 15
|
|
Source: 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
|
|
* Tue Apr 14 2020 wutao<wutao61@huawei.com> - 0.20110915-15
|
|
- Package init
|