diff --git a/hyph_sk_SK.zip b/hyph_sk_SK.zip new file mode 100644 index 0000000..582e9c7 Binary files /dev/null and b/hyph_sk_SK.zip differ diff --git a/hyphen-sk.spec b/hyphen-sk.spec new file mode 100644 index 0000000..a7b5164 --- /dev/null +++ b/hyphen-sk.spec @@ -0,0 +1,37 @@ +Name: hyphen-sk +Summary: Rules for slovak hyphenation +Version: 0.20031227 +Release: 20 +Source: http://ftp5.gwdg.de/pub/openoffice/contrib/dictionaries/hyph_sk_SK.zip +URL: http://wiki.services.openoffice.org/wiki/Dictionaries +License: GPL+ +BuildArch: noarch +Requires: hyphen +Supplements: (hyphen and langpacks-sk) + +%description +Rules for slovak hyphenation. + +%prep +%autosetup -c + +%build +chmod -x * +for i in README_hyph_sk_SK.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_sk_SK.txt +%{_datadir}/hyphen/* + +%changelog +* Wed Apr 15 2020 wutao - 0.20031227-10 +- Package init diff --git a/hyphen-sk.yaml b/hyphen-sk.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hyphen-sk.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA