package hyphenation rules

This commit is contained in:
Caolan McNamara 2007-11-23 17:53:41 +00:00
parent af73205252
commit ca46a9d2e3

View File

@ -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 <caolanm@redhat.com> - 1:0.20040608-2
- package hyphenation rules
* Tue Aug 21 2007 Caolan McNamara <caolanm@redhat.com> - 1:0.20040608-1
- clarify license
- canonical upstream version