update to version 20210322
This commit is contained in:
parent
cb512d0ae2
commit
d298c8a673
7021
hyph-ru.pat.txt
Normal file
7021
hyph-ru.pat.txt
Normal file
File diff suppressed because it is too large
Load Diff
7255
hyph-ru.tex
Normal file
7255
hyph-ru.tex
Normal file
File diff suppressed because it is too large
Load Diff
BIN
hyph_ru_RU.zip
BIN
hyph_ru_RU.zip
Binary file not shown.
@ -1,11 +1,13 @@
|
||||
Name: hyphen-ru
|
||||
Version: 0.20020727
|
||||
Release: 19
|
||||
Version: 0.20210322
|
||||
Release: 1
|
||||
Summary: Hyphenation rules for Russian
|
||||
Source: http://www.mirrorservice.org/sites/download.openoffice.org/contrib/dictionaries/hyph_ru_RU.zip
|
||||
Source0: http://mirrors.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-ru.tex
|
||||
Source1: http://mirrors.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/txt/hyph-ru.pat.txt
|
||||
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
|
||||
License: LGPLv2+
|
||||
BuildArch: noarch
|
||||
BuildRequires: hyphen-devel perl
|
||||
Requires: hyphen
|
||||
Supplements: (hyphen and langpacks-ru)
|
||||
|
||||
@ -13,10 +15,20 @@ Supplements: (hyphen and langpacks-ru)
|
||||
Hyphenation rules for Russian.
|
||||
|
||||
%prep
|
||||
%autosetup -c -n hyphen-ru-%{version} -p1
|
||||
%autosetup -c -n hyphen-ru-%{version} -T
|
||||
|
||||
%build
|
||||
chmod -x *
|
||||
substrings.pl %{SOURCE1} hyph_ru_RU.dic UTF-8 2 2
|
||||
cat > README_hyph_ru_RU.txt << EOF
|
||||
hyph_ru_RU.dic generated by:
|
||||
substrings.pl hyph-ru.pat.txt hyph_ru_RU.dic UTF-8 2 2
|
||||
from hyph-ru.pat.txt provided by hyph-utf8 from
|
||||
https://ctan.org/tex-archive/language/hyph-utf8
|
||||
where hyph-ru.pat.txt is derived from hyph-ru.tex
|
||||
whose licence header follows here:
|
||||
|
||||
EOF
|
||||
head -n 44 %{SOURCE0} >> README_hyph_ru_RU.txt
|
||||
|
||||
%install
|
||||
install -p -d $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||
@ -30,5 +42,8 @@ ln -s hyph_ru_RU.dic hyph_$ru_RU_aliases.dic
|
||||
%{_datadir}/hyphen/*
|
||||
|
||||
%changelog
|
||||
* Mon Apr 17 2023 Ge Wang <wang--ge@126.com> - 0.20210322-1
|
||||
- Update to version 20210322
|
||||
|
||||
* Mon Apr 27 2020 wangerfeng <wangerfeng@huawei.com> - 0.20020727-19
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user