%define languageenglazy Akan %define languagecode ak %define lc_ctype ak_GH Name: hunspell-%{languagecode} Version: 0.6 Release: %mkrel 10 Summary: %{languageenglazy} hunspell dictionaries License: LGPLv3 Group: System/Internationalization URL: http://kasahorow.org/content/akan-nsÉmfuaasekyerÉ Source0: http://releases.mozilla.org/pub/mozilla.org/addons/9978/akan_ns__mfuaasekyer__-%{version}-fx.xpi #https://addons.mozilla.org/en-US/firefox/versions/license/73122 BuildRequires: redland BuildArch: noarch Recommends: 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 #There is no myspell Akan dictionary, so nothing to obsolete #Obsoletes: myspell-%{languagecode} <= 1.0.2-30 #Provides: myspell-%{languagecode} #Obsoletes: myspell-%{lc_ctype} <= 1.0.2-30 #Provides: myspell-%{lc_ctype} AutoReqProv: no %description %{languageenglazy} hunspell dictionaries. %prep %setup -q -c %build rdfproc hunspell-oc parse install.rdf rdfproc hunspell-oc print | grep install-manifest | grep -v targetApplication | sed -e 's/.*#//' | sed -e 's/], "/: /'| sed -e 's/"}//' > CREDITS %install install -D -m 0644 -p dictionaries/ak-GH.dic %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.dic install -D -m 0644 -p dictionaries/ak-GH.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 CREDITS %{_datadir}/hunspell/* %{_datadir}/myspell/* %changelog * Sat Feb 06 2016 umeabot <umeabot> 0.6-10.mga6 + Revision: 941408 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.6-9.mga5 + Revision: 739636 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.6-8.mga5 + Revision: 680208 - Mageia 5 Mass Rebuild + tv <tv> - s/uggests:/Recommends:/ * Fri Oct 18 2013 umeabot <umeabot> 0.6-7.mga4 + Revision: 505593 - Mageia 4 Mass Rebuild * Sat Jan 12 2013 umeabot <umeabot> 0.6-6.mga3 + Revision: 353377 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Dec 02 2012 kamil <kamil> 0.6-5.mga3 + Revision: 325136 - rebuild for Mga3 Beta1 * Sun Jan 15 2012 kamil <kamil> 0.6-4.mga2 + Revision: 196578 - drop requirement on locales - hunspell is now suggested * Sun Jan 08 2012 kamil <kamil> 0.6-3.mga2 + Revision: 193238 - adapt the file to the current policy o use languageenglazy, languagecode, lc_ctype defines o add requirements on locales-%%{languagecode} o add providing of x enchant-dictionary x hunspell-dictionary x hunspell-%%{lc_ctype} x dictionary-%%{languagecode} x dictionary-%%{lc_ctype} o install files into %%{_datadir}/hunspell/* o add backward compatibility for myspell - clean spec * Sat Mar 12 2011 dmorgan <dmorgan> 0.6-2.mga1 + Revision: 68633 - imported package hunspell-ak * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Feb 25 2010 Caolan McNamara <caolanm@redhat.com> - 0.6-1 - latest version * Fri Aug 21 2009 Caolan McNamara <caolanm@redhat.com> - 0.3-1 - initial version