61 lines
1.7 KiB
RPMSpec
61 lines
1.7 KiB
RPMSpec
%define pkgver %(echo %version | tr _ -)
|
|
Name: hunspell-ar
|
|
Version: 3.5.2014_11_08
|
|
Release: 1mamba
|
|
Summary: Arabic hunspell dictionary
|
|
Group: System/Internationalization
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://ayaspell.sourceforge.net/
|
|
Source: https://downloads.sourceforge.net/project/ayaspell/hunspell-ar_%{pkgver}.zip
|
|
License: GPL, LGPL, MPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
Requires: hunspell
|
|
|
|
%description
|
|
Arabic (Egypt, Algeria, etc.) hunspell dictionary.
|
|
|
|
%prep
|
|
%setup -q -c %{name}-%{version}
|
|
|
|
%build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/myspell
|
|
cp -p ar.dic %{buildroot}%{_datadir}/myspell/ar_TN.dic
|
|
cp -p ar.aff %{buildroot}%{_datadir}/myspell/ar_TN.aff
|
|
|
|
pushd %{buildroot}%{_datadir}/myspell/
|
|
for lang in 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; do
|
|
ln -s ar_TN.aff $lang.aff
|
|
ln -s ar_TN.dic $lang.dic
|
|
done
|
|
popd
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_datadir}/myspell/*.aff
|
|
%{_datadir}/myspell/*.dic
|
|
%doc AUTHORS COPYING
|
|
#ChangeLog-ar README* THANKS
|
|
|
|
%changelog
|
|
* Sat Oct 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.2014_11_08-1mamba
|
|
- update to 3.5.2014_11_08
|
|
|
|
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.0-1mamba
|
|
- update to 3.0
|
|
|
|
* Sat Mar 19 2011 gil <puntogil@libero.it> 20101230-1mamba
|
|
- package created by autospec
|