40 lines
1006 B
RPMSpec
40 lines
1006 B
RPMSpec
Name: hunspell-so
|
|
Version: 1.0.2
|
|
Release: 16
|
|
Summary: Hunspell dictionaries for Somali
|
|
License: GPLv2+
|
|
URL: http://www.opensourcesomalia.org/index.php?page=hingaad-saxe
|
|
Source: https://sourceforge.net/projects/aoo-extensions/files/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
|
|
* Mon Nov 21 2022 caodongxia <caodongxia@h-partners.com> - 1.0.2-16
|
|
- Modify invalid source0
|
|
|
|
* Thu Apr 23 2020 huanghaitao <huanghaitao8@huawei.com> - 1.0.2-15
|
|
- package init
|