!1 package init

Merge pull request !1 from jackie_wu123/master
This commit is contained in:
openeuler-ci-bot 2020-07-07 18:19:28 +08:00 committed by Gitee
commit 9ec3f0754e
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