diff --git a/hunspell-hr.spec b/hunspell-hr.spec index c1539f9..62e3a51 100644 --- a/hunspell-hr.spec +++ b/hunspell-hr.spec @@ -2,7 +2,7 @@ Name: hunspell-hr Summary: Croatian hunspell dictionaries %define upstreamid 20040608 Version: 0.%{upstreamid} -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 Source: http://cvs.linux.hr/spell/myspell/hr_HR.zip Group: Applications/Text @@ -16,6 +16,14 @@ Requires: hunspell %description Croatian hunspell dictionaries. +%package -n hyphen-hr +Requires: hyphen +Summary: Croatian hyphenation rules +Group: Applications/Text + +%description -n hyphen-hr +Croatian hyphenation rules. + %prep %setup -q -c -n hunspell-hr @@ -25,7 +33,9 @@ chmod -x * %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p hr_HR.dic hr_HR.aff $RPM_BUILD_ROOT/%{_datadir}/myspell +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen +cp -p hyph_hr.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_hr_HR.dic %clean rm -rf $RPM_BUILD_ROOT @@ -35,7 +45,14 @@ rm -rf $RPM_BUILD_ROOT %doc README_hr_HR.txt %{_datadir}/myspell/* +%files -n hyphen-hr +%defattr(-,root,root,-) +%{_datadir}/hyphen/* + %changelog +* Thu Nov 22 2007 Caolan McNamara - 1:0.20040608-2 +- package hyphenation rules + * Tue Aug 21 2007 Caolan McNamara - 1:0.20040608-1 - clarify license - canonical upstream version