!1 package init

Merge pull request !1 from small_leek/xsl
This commit is contained in:
openeuler-ci-bot 2020-07-07 15:17:38 +08:00 committed by Gitee
commit 3b47614409
2 changed files with 36 additions and 0 deletions

36
hunspell-hil.spec Normal file
View File

@ -0,0 +1,36 @@
Name: hunspell-hil
Epoch: 1
Version: 0.14
Release: 16
Summary: Provides Hiligaynon hunspell dictionaries and affices
URL: http://extensions.services.openoffice.org/project/hunspell-hil
Source: https://addons.mozilla.org/firefox/downloads/file/108895/litreoir_hiligaynon-%{version}-tb+fx+sm.xpi
License: GPLv2+
BuildArch: noarch
Requires: hunspell
BuildRequires: dos2unix
Supplements: (hunspell and langpacks-hil)
%description
This package provides Hiligaynon hunspell dictionaries and affices
%prep
%autosetup -c -n hunspell-hil -p1
%build
iconv -f ISO-8859-1 -t UTF-8 dictionaries/README_hil_PH.txt > dictionaries/tmp.txt
mv -f dictionaries/tmp.txt dictionaries/README_hil_PH.txt
dos2unix dictionaries/README_hil_PH.txt
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
install -p dictionaries/hil.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/hil_PH.dic
install -p dictionaries/hil.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/hil_PH.aff
%files
%doc dictionaries/README_hil_PH.txt
%{_datadir}/myspell/*
%changelog
* Sun Apr 26 2020 sunguoshuai <sunguoshuai@huawei.com> - 1:0.14-16
- Package init

Binary file not shown.