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