%define languageenglazy Amharic %define languagecode am %define lc_ctype am_ET %define upstream_version 20090704 Name: hunspell-%{languagecode} Version: 0.%{upstream_version}.1 Release: %mkrel 13 Summary: %{languageenglazy} hunspell dictionaries License: GPL+ Group: System/Internationalization URL: http://www.cs.ru.nl/~biniam/geez/index.php Source0: http://www.cs.ru.nl/~biniam/geez/dict/%{lc_ctype}.zip BuildArch: noarch Recommends: hunspell Requires: locales-am #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-am_AM < 1.0.3 Provides: myspell-am_AM %description %{languageenglazy} hunspell dictionaries. %prep %setup -q -n %{lc_ctype} %build tr -d '\r' < README.txt > README.txt.new touch -r README.txt README.txt.new mv -f README.txt.new README.txt %install install -D -m 0644 -p %{lc_ctype}.dic %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.dic install -D -m 0644 -p %{lc_ctype}.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.txt %{_datadir}/hunspell/* %{_datadir}/myspell/* %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.20090704.1-13.mga5 + Revision: 743396 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.20090704.1-12.mga5 + Revision: 680209 - Mageia 5 Mass Rebuild + tv <tv> - s/uggests:/Recommends:/ * Fri Oct 18 2013 umeabot <umeabot> 0.20090704.1-11.mga4 + Revision: 505537 - Mageia 4 Mass Rebuild * Sat Jan 12 2013 umeabot <umeabot> 0.20090704.1-10.mga3 + Revision: 353378 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Dec 02 2012 kamil <kamil> 0.20090704.1-9.mga3 + Revision: 325140 - rebuild for Mga3 Beta1 * Tue Mar 20 2012 kamil <kamil> 0.20090704.1-8.mga2 + Revision: 224554 - add requirement on locales (mga#4632) * Thu Feb 16 2012 kamil <kamil> 0.20090704.1-7.mga2 + Revision: 209603 - obsolete myspell-am_AM instead of myspell-am_ET * Sun Feb 12 2012 kamil <kamil> 0.20090704.1-6.mga2 + Revision: 207629 - use better obsoleting of myspell * Sun Jan 15 2012 kamil <kamil> 0.20090704.1-5.mga2 + Revision: 196582 - drop requirement on locales - hunspell is now suggested * Mon Jan 09 2012 kamil <kamil> 0.20090704.1-4.mga2 + Revision: 194080 - 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 o obsolete myspell-am - clean spec * Sat Mar 12 2011 dmorgan <dmorgan> 0.20090704.1-3.mga1 + Revision: 68638 - imported package hunspell-am * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20090704-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20090704-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Jul 06 2009 Caolan McNamara <caolanm@redhat.com> - 0.20090704-1 - initial version