diff --git a/hyph_nl_NL.zip b/hyph_nl_NL.zip new file mode 100644 index 0000000..27b4ab6 Binary files /dev/null and b/hyph_nl_NL.zip differ diff --git a/hyphen-nl.spec b/hyphen-nl.spec new file mode 100644 index 0000000..717ddc8 --- /dev/null +++ b/hyphen-nl.spec @@ -0,0 +1,33 @@ +Name: hyphen-nl +Version: 0.20050617 +Release: 20 +Summary: Dutch hyphenation rules +License: GPLv2 +URL: http://wiki.services.openoffice.org/wiki/Dictionaries +Source: http://ftp.tu-chemnitz.de/pub/openoffice-extended/contrib/dictionaries/hyph_nl_NL.zip +BuildRequires: dos2unix +BuildArch: noarch +Requires: hyphen +Supplements: (hyphen and langpacks-nl) +%description +hyphenation rules for Dutch. + +%prep +%autosetup -c -n hyphen-nl -p1 + +%build +dos2unix README_hyph_nl_NL.txt + +%install +install -Dp hyph_nl_NL.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_nl_NL.dic +cd $RPM_BUILD_ROOT/%{_datadir}/hyphen/ +ln -s hyph_nl_NL.dic hyph_nl_AW.dic +ln -s hyph_nl_NL.dic hyph_nl_BE.dic + +%files +%doc README_hyph_nl_NL.txt +%{_datadir}/hyphen/* + +%changelog +* Sun Apr 26 2020 yanan li - 0.20050617-20 +- Package init