package init

This commit is contained in:
zhanghua1831 2020-07-07 19:16:25 +08:00
parent cff34a991f
commit 6996169328
3 changed files with 45 additions and 0 deletions

41
hunspell-ar.spec Normal file
View File

@ -0,0 +1,41 @@
Name: hunspell-ar
Version: 3.5
Release: 9
Summary: Hunspell dictionaries for Arabic
License: GPLv2 or LGPLv2 or MPLv1.1
URL: http://ayaspell.sourceforge.net/
Source: http://sourceforge.net/projects/ayaspell/files/hunspell-ar_%{version}.2014-11-08.zip
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-ar)
%description
Arabic (Egypt, Algeria, etc.) hunspell dictionaries.
%prep
%autosetup -c -n %{name}-%{version} -p1
%build
chmod -x *
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
install -p -D ar.dic $RPM_BUILD_ROOT/%{_datadir}/myspell
install -p -D ar.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
ar_TN_aliases="ar_AE ar_BH ar_DJ ar_DZ ar_EG ar_ER ar_IL ar_IN ar_IQ \
ar_JO ar_KM ar_KW ar_LB ar_LY ar_MA ar_MR ar_OM ar_PS \
ar_QA ar_SA ar_SD ar_SO ar_SY ar_TD ar_YE"
for lang in $ar_TN_aliases; do
ln -s ar_TN.aff $lang.aff
ln -s ar_TN.dic $lang.dic
done
%files
%doc AUTHORS ChangeLog-ar COPYING README-* THANKS
%{_datadir}/myspell/*
%changelog
* Thu Apr 16 2020 wangerfeng <wangerfeng5@huawei.com> - 3.5-9
- Package init

4
hunspell-ar.yaml Normal file
View File

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

Binary file not shown.