init package
This commit is contained in:
parent
99aaca0d3a
commit
df6ff0a112
BIN
dict-so.oxt
Normal file
BIN
dict-so.oxt
Normal file
Binary file not shown.
36
hunspell-so.spec
Normal file
36
hunspell-so.spec
Normal 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
4
hunspell-so.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
Loading…
x
Reference in New Issue
Block a user