2024-01-05 23:44:46 +01:00
|
|
|
%define pkgver %(echo %version | tr _ -)
|
2024-01-05 23:44:45 +01:00
|
|
|
Name: hunspell-ar
|
2024-01-05 23:44:46 +01:00
|
|
|
Version: 3.5.2014_11_08
|
2024-01-05 23:44:45 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Arabic hunspell dictionary
|
|
|
|
Group: System/Internationalization
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 23:44:46 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://ayaspell.sourceforge.net/
|
|
|
|
Source: https://downloads.sourceforge.net/project/ayaspell/hunspell-ar_%{pkgver}.zip
|
2024-01-05 23:44:45 +01:00
|
|
|
License: GPL, LGPL, MPL
|
2024-01-05 23:44:46 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:44:45 +01:00
|
|
|
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)
|
2024-01-05 23:44:46 +01:00
|
|
|
%{_datadir}/myspell/*.aff
|
|
|
|
%{_datadir}/myspell/*.dic
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#ChangeLog-ar README* THANKS
|
2024-01-05 23:44:45 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:44:46 +01:00
|
|
|
* Sat Oct 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.2014_11_08-1mamba
|
|
|
|
- update to 3.5.2014_11_08
|
|
|
|
|
2024-01-05 23:44:45 +01:00
|
|
|
* 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
|
2024-01-05 23:44:46 +01:00
|
|
|
|
2024-01-05 23:44:45 +01:00
|
|
|
* Sat Mar 19 2011 gil <puntogil@libero.it> 20101230-1mamba
|
|
|
|
- package created by autospec
|