diff --git a/hyph_it_IT.zip b/hyph_it_IT.zip new file mode 100644 index 0000000..15fdeee Binary files /dev/null and b/hyph_it_IT.zip differ diff --git a/hyphen-it.spec b/hyphen-it.spec new file mode 100644 index 0000000..06e8fe0 --- /dev/null +++ b/hyphen-it.spec @@ -0,0 +1,36 @@ +Name: hyphen-it +Summary: hyphenation rules for Italian +Version: 0.20071127 +Release: 20 +Source: http://download.services.openoffice.org/contrib/dictionaries/hyph_it_IT.zip +URL: http://wiki.services.openoffice.org/wiki/Dictionaries +License: LGPLv2+ +BuildArch: noarch +Requires: hyphen +Supplements: (hyphen and langpacks-it) +Provides: hyphen-la = 0.20071127-3 + +%description +hyphenation rules for Italian + +%prep +%autosetup -c -n hyphen-it -p 1 +chmod -x * + +%build + +%install +install -Dp hyph_it_IT.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_it_IT.dic +pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/ +for lang in it_CH la_VA; do + ln -s hyph_it_IT.dic "hyph_"$lang".dic" +done + + +%files +%doc README_hyph_it_IT.txt +%{_datadir}/hyphen/* + +%changelog +* Thu Apr 16 2020 Shuaishuai Song - 0.20071127-20 +- package init