47 lines
1.2 KiB
RPMSpec
47 lines
1.2 KiB
RPMSpec
Name: hyphen-mn
|
|
Version: 0.20100531
|
|
Release: 17
|
|
Summary: Hyphenation patterns for Mongolian
|
|
License: LPPL
|
|
URL: http://ctan.org/pkg/mnhyphn
|
|
Source: http://mirror.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-mn-cyrl.tex
|
|
Patch0000: hyphen-mn-cleantex.patch
|
|
BuildRequires: hyphen-devel, perl
|
|
Requires: hyphen
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Hyphenation patterns for Mongolian.
|
|
|
|
%prep
|
|
%setup -T -q -c -n hyphen-mn
|
|
cp -p %{SOURCE0} .
|
|
%patch0000 -p0 -b .clean
|
|
|
|
%build
|
|
substrings.pl hyph-mn-cyrl.tex hyph_mn_MN.dic UTF-8
|
|
cat << EOF >> README
|
|
Created with substring.pl by substrings.pl hyph-mn-cyrl.tex hyph_mn_MN.dic UTF-8
|
|
Original in-line credits were:
|
|
|
|
EOF
|
|
head -n 83 hyph-mn-cyrl.tex >> README
|
|
|
|
%install
|
|
install -d $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
|
install -Dp hyph_mn_MN.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
|
|
|
%files
|
|
%doc README
|
|
%{_datadir}/hyphen/*
|
|
|
|
%changelog
|
|
* Wed Jun 2 2021 wulei <wulei80@huawei.com> - 0.20100531-17
|
|
- fixes failed: perl: bad interpreter: No such file or diretory
|
|
|
|
* Wed Sep 9 2020 baizhonggui <baizhonggui@huawei.com> - 0.20100531-16
|
|
Modify source and replace package
|
|
|
|
* Fri May 15 2020 chengzihan2 <chengzihan2@huawei.com> - 0.20100531-15
|
|
Package init
|