rhbz#1888913 provide more recent patterns in UTF-8
This commit is contained in:
parent
cf5d8231d8
commit
20a6128a85
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
|||||||
hyph_ru_RU.zip
|
hyph_ru_RU.zip
|
||||||
|
/hyph-ru.tex
|
||||||
|
/hyph-ru.pat.txt
|
||||||
|
@ -1,23 +1,35 @@
|
|||||||
Name: hyphen-ru
|
Name: hyphen-ru
|
||||||
Summary: Russian hyphenation rules
|
Summary: Russian hyphenation rules
|
||||||
%global upstreamid 20020727
|
%global upstreamid 20200325
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 22%{?dist}
|
Release: 1%{?dist}
|
||||||
Source: http://download.services.openoffice.org/contrib/dictionaries/hyph_ru_RU.zip
|
Source1: http://mirrors.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-ru.tex
|
||||||
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
|
Source2: http://mirrors.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/txt/hyph-ru.pat.txt
|
||||||
License: LGPLv2+
|
URL: https://ctan.org/tex-archive/language/hyph-utf8
|
||||||
|
License: LPPL
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: hyphen
|
Requires: hyphen
|
||||||
|
BuildRequires: hyphen-devel
|
||||||
Supplements: (hyphen and langpacks-ru)
|
Supplements: (hyphen and langpacks-ru)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Russian hyphenation rules.
|
Russian hyphenation rules.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -c -n hyphen-ru
|
%autosetup -c -n hyphen-ru -T
|
||||||
|
|
||||||
%build
|
%build
|
||||||
chmod -x *
|
substrings.pl %{SOURCE2} 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 %{SOURCE1} >> README_hyph_ru_RU.txt
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||||
@ -34,6 +46,9 @@ done
|
|||||||
%{_datadir}/hyphen/*
|
%{_datadir}/hyphen/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 16 2009 Caolan McNamara <caolanm@redhat.com> - 0.20200325-1
|
||||||
|
- rhbz#1888913 provide more recent patterns in UTF-8
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20020727-22
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20020727-22
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
3
sources
3
sources
@ -1 +1,2 @@
|
|||||||
f8a8b8a368bc7394b5a4060082c44bb4 hyph_ru_RU.zip
|
SHA512 (hyph-ru.tex) = 803f9f9c726dfc4401546622283a13f5146ac92bdcfaed3fabdf647be88f3ef35b1de16db84bd38961ade396d6491ee89ddd0b120d5e9f821637ffbc870d56d0
|
||||||
|
SHA512 (hyph-ru.pat.txt) = 3cef8d8b76864c07a0f062381a1c0aeea5610a0a518747402173d4bf57787b946eeefef57a041889679647183ead0cee0e8f8d54f0a9b3d63b976287db738b79
|
||||||
|
Loading…
Reference in New Issue
Block a user