diff --git a/hyph_is_IS.zip b/hyph_is_IS.zip new file mode 100644 index 0000000..860349e Binary files /dev/null and b/hyph_is_IS.zip differ diff --git a/hyphen-is.spec b/hyphen-is.spec new file mode 100644 index 0000000..40873c7 --- /dev/null +++ b/hyphen-is.spec @@ -0,0 +1,40 @@ +Name: hyphen-is +Summary: hyphenation rules Icelandic +Version: 0.20030920 +Release: 21 +Source: http://download.services.openoffice.org/contrib/dictionaries/hyph_is_IS.zip +URL: http://wiki.services.openoffice.org/wiki/Dictionaries +License: LGPLv2+ or SISSL +BuildArch: noarch +Requires: hyphen +Supplements: (hyphen and langpacks-is) + +%description +hyphenation rules Icelandic. + + +%prep +%autosetup -c -p 1 + +%build +chmod -x * +for i in README_hyph_is_IS.txt; do + if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then + iconv -f ISO-8859-1 -t UTF-8 $i > $i.new + touch -r $i $i.new; mv -f $i.new $i + fi + tr -d '\r' < $i > $i.new; touch -r $i $i.new; mv -f $i.new $i +done + +%install +install -d $RPM_BUILD_ROOT/%{_datadir}/hyphen +cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen + + +%files +%doc README_hyph_is_IS.txt +%{_datadir}/hyphen/* + +%changelog +* Thu Apr 16 2020 Shuaishuai Song - 0.20030920-21 +- package init