%define languageenglazy Lowlands Saxon %define languagecode nds %define lc_ctype nds_DE Name: hunspell-%{languagecode} Version: 0.1 Release: %mkrel 12 Summary: %{languageenglazy} hunspell dictionaries License: GPLv2+ Group: System/Internationalization URL: http://aspell-nds.sourceforge.net/ Source0: http://downloads.sourceforge.net/aspell-nds/hunspell-nds-0.1.zip BuildArch: noarch Recommends: hunspell Requires: locales-nds #Mageia values: 1 - aspell, 2 - hunspell, 3 - language specific Provides: enchant-dictionary = 2 Provides: hunspell-dictionary Provides: hunspell-%{lc_ctype} = %{version}-%{release} Provides: hunspell-nds_NL = %{version}-%{release} #Generic providing - see Mageia values Provides: dictionary-%{languagecode} = 2 Provides: dictionary-%{lc_ctype} = 2 Provides: dictionary-nds_NL = 2 #MySpell is deprecated #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 -n %{name} %build %install install -D -m 0644 -p nds.dic %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.dic install -D -m 0644 -p nds.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 README_nds.txt Copyright COPYING %{_datadir}/hunspell/* %{_datadir}/myspell/* %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.1-12.mga5 + Revision: 739097 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.1-11.mga5 + Revision: 680280 - Mageia 5 Mass Rebuild + tv <tv> - s/uggests:/Recommends:/ * Fri Oct 18 2013 umeabot <umeabot> 0.1-10.mga4 + Revision: 521321 - Mageia 4 Mass Rebuild * Sun Jan 20 2013 kamil <kamil> 0.1-9.mga3 + Revision: 390222 - stop installing language aliases * Sat Jan 12 2013 umeabot <umeabot> 0.1-8.mga3 + Revision: 353597 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Mar 20 2012 kamil <kamil> 0.1-7.mga2 + Revision: 224767 - add requirement on locales (mga#4632) * Wed Feb 15 2012 kamil <kamil> 0.1-6.mga2 + Revision: 209016 - stop obsoleting not existing myspell-nds * Tue Feb 07 2012 kamil <kamil> 0.1-5.mga2 + Revision: 205958 - adapt .spec for Mageia * Sat Mar 12 2011 dmorgan <dmorgan> 0.1-4.mga1 + Revision: 68974 - imported package hunspell-nds * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Oct 3 2008 Caolan McNamara <caolanm@redhat.com> - 0.1-1 - initial version