38 lines
1.1 KiB
RPMSpec
38 lines
1.1 KiB
RPMSpec
Name: hyphen-pl
|
|
Summary: Polish hyphenation rules for hunspell used in OpenOffice
|
|
Version: 0.20060726
|
|
Release: 20
|
|
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
|
|
* Mon May 6 2024 caodongxia <caodongxia@h-partners.com> - 0.20060726-20
|
|
- Correcting the changelog
|
|
|
|
* Thu Apr 16 2020 Captain Wei <captain.a.wei@gmail.com> - 0.20060726-19
|
|
- Package init
|