!1 package init

Merge pull request !1 from small_leek/xsl
This commit is contained in:
openeuler-ci-bot 2020-07-10 17:43:47 +08:00 committed by Gitee
commit 73b577c43e
2 changed files with 37 additions and 0 deletions

BIN
cy_GB.zip Normal file

Binary file not shown.

37
hunspell-cy.spec Normal file
View File

@ -0,0 +1,37 @@
%global upstreamid 20040425
Name: hunspell-cy
Version: 0.%{upstreamid}
Release: 20
Summary: The dictionaries for Welsh hunspell
License: GPL+
URL: http://www.e-gymraeg.co.uk/
Source: http://openoffice.cs.utah.edu/contrib/dictionaries/cy_GB.zip
BuildArch: noarch
Requires: hunspell
Buildrequires: dos2unix
Supplements: (hunspell and langpacks-cy)
%description
The dictionaries for Welsh hunspell
%prep
%autosetup -c -n hunspell-cy -p1
%build
chmod -x *
iconv -f ISO-8859-1 -t UTF-8 README_cy_GB.txt > README_cy_GB.txt.bak
dos2unix README_cy_GB.txt.bak
mv -f README_cy_GB.txt.bak README_cy_GB.txt
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%files
%doc README_cy_GB.txt
%{_datadir}/myspell/*
%changelog
* Fri Jul 03 2020 yaokai <yaokai13@huawei.com> - 0.20040425-20
- Package init