!1 init package

Merge pull request !1 from 薄皮小笼包/master
This commit is contained in:
openeuler-ci-bot 2020-07-16 15:52:10 +08:00 committed by Gitee
commit 34e8ab5aae
3 changed files with 40 additions and 0 deletions

BIN
dict-so.oxt Normal file

Binary file not shown.

36
hunspell-so.spec Normal file
View File

@ -0,0 +1,36 @@
Name: hunspell-so
Version: 1.0.2
Release: 15
Summary: Hunspell dictionaries for Somali
License: GPLv2+
URL: http://www.opensourcesomalia.org/index.php?page=hingaad-saxe
Source: https://ayera.dl.sourceforge.net/project/aoo-extensions/2727/2/dict-so.oxt
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-so)
%description
Hunspell dictionaries for Somali.
%prep
%autosetup -c -n hunspell-so-%{version} -p1
%build
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p so_SO.* $RPM_BUILD_ROOT/%{_datadir}/myspell
cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
so_SO_aliases="so_DJ so_ET so_KE"
for lang in $so_SO_aliases; do
ln -s so_SO.aff $lang.aff
ln -s so_SO.dic $lang.dic
done
cd -
%files
%doc README_so_SO.txt
%{_datadir}/myspell/*
%changelog
* Thu Apr 23 2020 huanghaitao <huanghaitao8@huawei.com> - 1.0.2-15
- package init

4
hunspell-so.yaml Normal file
View File

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