package init

This commit is contained in:
jackie_wu 2020-07-07 15:15:29 +08:00
parent 3f17aa5840
commit 71dcd793e3
3 changed files with 50 additions and 0 deletions

BIN
hr_HR.zip Normal file

Binary file not shown.

46
hunspell-hr.spec Normal file
View File

@ -0,0 +1,46 @@
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

4
hunspell-hr.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA