hunspell-so/hunspell-so.spec
2020-07-08 17:14:33 +08:00

37 lines
914 B
RPMSpec

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