!1 package init

Merge pull request !1 from huanghaitao/master
This commit is contained in:
openeuler-ci-bot 2020-07-16 09:13:29 +08:00 committed by Gitee
commit b76614a0ba
3 changed files with 40 additions and 0 deletions

BIN
dicts-sw.oxt Normal file

Binary file not shown.

36
hunspell-sw.spec Normal file
View File

@ -0,0 +1,36 @@
Name: hunspell-sw
Version: 0.20050819
Release: 19
Summary: Hunspell dictionaries for Swahili
License: LGPLv2+
URL: https://extensions.libreoffice.org/extensions/swahili-dictionary
Source: https://extensions.libreoffice.org/assets/downloads/z/dicts-sw.oxt
BuildArch: noarch
Requires: hunspell
BuildRequires: hunspell-devel
Supplements: (hunspell and langpacks-sw)
%description
Hunspell dictionaries for Swahili.
%prep
%autosetup -c -n hunspell-sw -p1
%build
iconv README_sw_TZ.txt -f ISO-8859-1 -t UTF-8 -o README_sw_TZ.txt.new
touch -r README_sw_TZ.txt README_sw_TZ.txt.new
mv -f README_sw_TZ.txt.new README_sw_TZ.txt
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.aff *.dic $RPM_BUILD_ROOT/%{_datadir}/myspell
cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
cd -
%files
%doc README_sw_TZ.txt
%{_datadir}/myspell/*
%changelog
* Tue Apr 21 2020 huanghaitao <huanghaitao8@huawei.com> - 0.20050819-19
- Package init

4
hunspell-sw.yaml Normal file
View File

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