hunspell-ar/hunspell-ar.spec

54 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: hunspell-ar
Version: 3.1
Release: 1mamba
Summary: Arabic hunspell dictionary
Group: System/Internationalization
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://ayaspell.sourceforge.net/
Source: http://garr.dl.sourceforge.net/project/ayaspell/hunspell-ar_%{version}.zip
License: GPL, LGPL, MPL
Requires: hunspell
#BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%doc AUTHORS COPYING ChangeLog-ar README* THANKS
%changelog
* 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