%define languageenglazy Malayalam %define languagecode ml %define lc_ctype ml_IN Name: hunspell-%{languagecode} Version: 0.1 Release: %mkrel 16 Summary: %{languageenglazy} hunspell dictionaries License: GPLv3+ Group: System/Internationalization URL: https://download.savannah.gnu.org/releases/smc/Spellchecker/ Source0: https://download.savannah.gnu.org/releases/smc/Spellchecker/ooo-hunspell-ml-%{version}.tar.bz2 BuildArch: noarch Recommends: hunspell Requires: locales-ml #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 AutoReqProv: no %description %{languageenglazy} hunspell dictionaries. %prep %setup -q -n ooo-%{name}-%{version} %build %install install -D -m 0644 -p *.dic %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.dic install -D -m 0644 -p *.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 COPYING README %{_datadir}/hunspell/* %{_datadir}/myspell/* %changelog * Sat Mar 19 2022 umeabot <umeabot> 0.1-16.mga9 + Revision: 1801511 - Mageia 9 Mass Rebuild * Wed Feb 12 2020 umeabot <umeabot> 0.1-15.mga8 + Revision: 1491355 - Mageia 8 Mass Rebuild * Tue Sep 18 2018 umeabot <umeabot> 0.1-14.mga7 + Revision: 1263313 - Mageia 7 Mass Rebuild + kekepower <kekepower> - Remove commented lines about myspell * Tue Feb 02 2016 umeabot <umeabot> 0.1-13.mga6 + Revision: 931710 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.1-12.mga5 + Revision: 744008 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.1-11.mga5 + Revision: 680274 - Mageia 5 Mass Rebuild + tv <tv> - s/uggests:/Recommends:/ * Fri Oct 18 2013 umeabot <umeabot> 0.1-10.mga4 + Revision: 505810 - Mageia 4 Mass Rebuild * Sat Jan 12 2013 umeabot <umeabot> 0.1-9.mga3 + Revision: 353568 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Dec 04 2012 kamil <kamil> 0.1-8.mga3 + Revision: 326525 - Rebuild for Mga3 Beta1 * Tue Mar 20 2012 kamil <kamil> 0.1-7.mga2 + Revision: 224757 - add requirement on locales (mga#4632) - adapt .spec to the current policies * Sat Mar 12 2011 dmorgan <dmorgan> 0.1-5.mga1 + Revision: 68944 - imported package hunspell-ml * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Nov 21 2008 Parag <panemade@gmail.com> - 0.1-2 - Fix source md5sum * Thu May 15 2008 Rajeesh K Nambiar <rajeeshknambiar@gmail.com> - 0.1-1 - Initial version