package init

This commit is contained in:
small_leek 2020-07-09 20:29:19 +08:00
parent fb545be65e
commit 40066b4953
3 changed files with 38 additions and 0 deletions

BIN
hyph_pl_PL.zip Normal file

Binary file not shown.

34
hyphen-pl.spec Normal file
View File

@ -0,0 +1,34 @@
Name: hyphen-pl
Summary: Polish hyphenation rules for hunspell used in OpenOffice
Version: 0.20060726
Release: 19
Source: http://openoffice.cs.utah.edu/contrib/dictionaries/hyph_pl_PL.zip
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
License: LGPLv2+
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-pl)
%description
Polish hyphenation rules for hunspell used in OpenOffice.
%prep
%autosetup -c -n hyphen-pl -p1
%build
iconv -f ISO-8859-2 -t UTF-8 README_hyph_pl_PL.txt > README_hyph_pl_PL.txt.new.1
tr -d '\r' < README_hyph_pl_PL.txt.new.1 > README_hyph_pl_PL.txt.new.2
rm -f README_hyph_pl_PL.txt README_hyph_pl_PL.txt.new.1
mv -f README_hyph_pl_PL.txt.new.2 README_hyph_pl_PL.txt
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/hyphen
install -Dp hyph_pl_PL.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%files
%doc README_hyph_pl_PL.txt
%{_datadir}/hyphen/*
%changelog
* Thu Apr 16 2020 Captain Wei <captain.a.wei@gmail.com> 0.20051018-19
- Package init

4
hyphen-pl.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA