Package init

This commit is contained in:
chengzihan2 2020-07-07 14:50:42 +08:00
parent 25be0c5160
commit 173cc6648a
3 changed files with 1704 additions and 0 deletions

1632
hyph-hsb.tex Normal file

File diff suppressed because it is too large Load Diff

33
hyphen-hsb-cleantex.patch Normal file
View File

@ -0,0 +1,33 @@
--- hyph-hsb.tex.clean 2009-03-23 14:05:45.000000000 +0000
+++ hyph-hsb.tex 2009-03-23 14:06:19.000000000 +0000
@@ -80,7 +80,7 @@
% ž - zcaron
% ź - zacute
%
-\patterns{
+
% ě
% ń
@@ -1612,21 +1612,3 @@
iz1no
2z1p
2z1s
-}
-\hyphenation{War-sza-wa
-do-zna
-njej-sym njej-sy nje-je
-njej-smój njej-staj njej-stej
-njej-smy njej-sće njej-su
-pźede
-pźe-derje
-tkalc
-njeńdź
-ze-tnu ze-tnješ ze-tnje ze-tnje-mój ze-tnje-taj ze-tnje-tej ze-tnje-my
-ze-tnje-će
-wote-tnu wote-tnješ wote-tnje wote-tnje-mój wote-tnje-taj
-wote-tnje-tej wote-tnje-my
-wote-tnje-će
-wo-dnjo wo-snje
-tak-rjec}
-

39
hyphen-hsb.spec Normal file
View File

@ -0,0 +1,39 @@
Name: hyphen-hsb
Version: 0.20110620
Release: 14
Summary: Uppersorbian for hyphenation patterns
License: LPPL
URL: http://tug.org/tex-hyphen
Source0: http://mirror.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-hsb.tex
Patch0000: hyphen-hsb-cleantex.patch
BuildArch: noarch
BuildRequires: hyphen-devel
Requires: hyphen
%description
Uppersorbian for hyphenation patterns.
%prep
%setup -T -q -c -n hyphen-hsb
cp -p %{SOURCE0} .
%patch0000 -p0 -b .clean
%build
substrings.pl hyph-hsb.tex hyph_hsb_DE.dic UTF-8
cat << EOF >> README
created with substring.pl by substrings.pl hyph-hsb.tex hyph_hsb_DE.dic UTF-8
---
EOF
head -n 70 hyph-hsb.tex >> README
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/hyphen
install -Dp hyph_hsb_DE.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%files
%doc README
%{_datadir}/hyphen/*
%changelog
* Wed Apr 22 2020 chengzihan <chengzihan2@huawei.com> - 0.20110620-14
- Package init