%define languageenglazy Basque %define languagecode eu %define lc_ctype eu_ES %define upstream_version 20080507 Name: hunspell-%{languagecode} Version: 0.%{upstream_version}.1 Release: %mkrel 9 Summary: %{languageenglazy} hunspell dictionaries License: GPLv2 Group: System/Internationalization URL: http://www.euskara.euskadi.net/r59-20660/eu/contenidos/informacion/euskarazko_softwarea/eu_9567/xuxen.html Source0: http://www.euskara.euskadi.net/r59-20660/eu/contenidos/informacion/euskarazko_softwarea/eu_9567/adjuntos/eu-ES-hunspell.tar.gz Source1: http://www.euskara.euskadi.net/r59-20660/eu/contenidos/informacion/euskarazko_softwarea/eu_9567/adjuntos/XUXEN_kode_irekia_eskuliburua-LINUX-OO.pdf BuildArch: noarch Suggests: hunspell Requires: locales-eu #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 Obsoletes: myspell-%{languagecode} < 1.0.3 Provides: myspell-%{languagecode} Obsoletes: myspell-%{lc_ctype} < 1.0.3 Provides: myspell-%{lc_ctype} AutoReqProv: no %description %{languageenglazy} hunspell dictionaries. %prep %setup -q -c cp -p %{_sourcedir}/XUXEN_kode_irekia_eskuliburua-LINUX-OO.pdf . %build %install install -D -m 0644 -p eu-ES/eu-ES.dic %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.dic install -D -m 0644 -p eu-ES/eu-ES.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 XUXEN_kode_irekia_eskuliburua-LINUX-OO.pdf %{_datadir}/hunspell/* %{_datadir}/myspell/* %changelog * Sat Jan 12 2013 umeabot <umeabot> 0.20080507.1-9.mga3 + Revision: 353450 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Dec 02 2012 kamil <kamil> 0.20080507.1-8.mga3 + Revision: 325252 - rebuild for Mga3 Beta1 * Tue Mar 20 2012 kamil <kamil> 0.20080507.1-7.mga2 + Revision: 224621 - add requirement on locales (mga#4632) * Sun Feb 12 2012 kamil <kamil> 0.20080507.1-6.mga2 + Revision: 207726 - use better obsoleting of myspell * Wed Jan 18 2012 kamil <kamil> 0.20080507.1-5.mga2 + Revision: 197681 - adapt .spec to the current licenses * Sat Mar 12 2011 dmorgan <dmorgan> 0.20080507.1-4.mga1 + Revision: 68754 - imported package hunspell-eu