diff --git a/README.md b/README.md index f47d8b2..5ff6fbd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # hunspell-ar +Arabic (Egypt, Algeria, etc.) hunspell dictionary. + diff --git a/hunspell-ar.spec b/hunspell-ar.spec new file mode 100644 index 0000000..cba175e --- /dev/null +++ b/hunspell-ar.spec @@ -0,0 +1,53 @@ +Name: hunspell-ar +Version: 3.1 +Release: 1mamba +Summary: Arabic hunspell dictionary +Group: System/Internationalization +Vendor: openmamba +Distribution: openmamba +Packager: gil +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 3.1-1mamba +- automatic update by autodist + +* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto 3.0-1mamba +- update to 3.0 +* Sat Mar 19 2011 gil 20101230-1mamba +- package created by autospec