hunspell-hr/hunspell-hr.spec
2020-07-07 15:15:29 +08:00

47 lines
1.0 KiB
RPMSpec

Name: hunspell-hr
Summary: Dictionaries for Croatian hungspell
Version: 0.20040608
Release: 19
Epoch: 1
Source: http://cvs.linux.hr/spell/myspell/hr_HR.zip
URL: http://cvs.linux.hr/spell/
License: LGPLv2+ or SISSL
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-hr)
%description
Dictionaries for Croatian hungspell.
%package -n hyphen-hr
Requires: hyphen
Summary: Rules for Croatian hyphenation
Supplements: (hyphen and langpacks-hr)
%description -n hyphen-hr
Rules for Croatian hyphenation.
%prep
%autosetup -c -n hunspell-hr -p1
%build
chmod -x *
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p hr_HR.dic hr_HR.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
install -d $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_hr.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_hr_HR.dic
%files
%doc README_hr_HR.txt
%{_datadir}/myspell/*
%files -n hyphen-hr
%doc README_hr_HR.txt
%{_datadir}/hyphen/*
%changelog
* Thu Apr 16 2020 wutao <wutao61@huawei.com> - 1:0.20040608-19
- Package init