%define languageenglazy Quechua Ecuador %define languagecode qu %define lc_ctype qu_EC Name: hunspell-%{languagecode} Version: 0.9 Release: %mkrel 2 Summary: %{languageenglazy} hunspell dictionaries License: AGPLv3 Group: System/Internationalization URL: http://extensions.services.openoffice.org/project/KichwaSpellchecker Source0: http://extensions.services.openoffice.org/e-files/2121/8/qu_EC-0.9.oxt BuildArch: noarch Suggests: hunspell #Mageia values: 1 - aspell, 2 - hunspell, 3 - language specific Provides: enchant-dictionary = 2 Provides: hunspell-dictionary Provides: hunspell-%{lc_ctype} = %{version}-%{release} #Generic providing - see Mageia values Provides: dictionary-%{languagecode} = 2 Provides: dictionary-%{lc_ctype} = 2 #MySpell is deprecated # myspell-qu is obsoleted by myspell-quh #Obsoletes: myspell-%{languagecode} <= 1.0.2-30 #Provides: myspell-%{languagecode} #Obsoletes: myspell-qu_BO <= 1.0.2-30 #Provides: myspell-qu_BO AutoReqProv: no %description %{languageenglazy} hunspell dictionaries. %prep %setup -q -c %build %install install -D -m 0644 -p qu_EC.dic %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.dic install -D -m 0644 -p qu_EC.aff %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.aff #backward compatibility mkdir -p %{buildroot}%{_datadir}/myspell pushd %{buildroot}%{_datadir}/myspell ln -s ../hunspell/%{lc_ctype}.dic %{lc_ctype}.dic ln -s ../hunspell/%{lc_ctype}.aff %{lc_ctype}.aff popd #%%{buildroot}%%{_datadir}/myspell %files %doc CURRENTVERSION.txt LICENSE.txt README.txt REVISION.txt %{_datadir}/hunspell/* %{_datadir}/myspell/* %changelog * Sat Jan 12 2013 umeabot <umeabot> 0.9-2.mga3 + Revision: 353658 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 10 2013 kamil <kamil> 0.9-1.mga3 + Revision: 344451 - sync version with Fedora: 0.9 - update Source0 * Wed Feb 08 2012 kamil <kamil> 0.8-4.mga2 + Revision: 206313 - stop obsoleting myspell-qu, this is obsoleted by hunspell-quh * Wed Feb 08 2012 kamil <kamil> 0.8-3.mga2 + Revision: 206305 - adapt .spec to the current policies * Sat Mar 12 2011 dmorgan <dmorgan> 0.8-2.mga1 + Revision: 69044 - imported package hunspell-qu