diff --git a/hyph_pl_PL.zip b/hyph_pl_PL.zip new file mode 100644 index 0000000..5aea7e5 Binary files /dev/null and b/hyph_pl_PL.zip differ diff --git a/hyphen-pl.spec b/hyphen-pl.spec new file mode 100644 index 0000000..dedb00d --- /dev/null +++ b/hyphen-pl.spec @@ -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 0.20051018-19 +- Package init diff --git a/hyphen-pl.yaml b/hyphen-pl.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hyphen-pl.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA