hyphen-pl/hyphen-pl.spec
2020-07-09 20:29:19 +08:00

35 lines
1.0 KiB
RPMSpec

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