%define _enable_debug_packages %{nil} %define debug_package %{nil} # WARNING # To build this package, you must set LC_ALL to cy # example : LC_ALL=cy rpm -ba aspell-cy.speco %define src_ver 0.50-3 %define languagelocal cymraeg %define languageeng welsh %define languageenglazy Welsh %define languagecode cy %define lc_ctype cy_CY Summary: %{languageenglazy} files for aspell Name: aspell-%{languagecode} Version: 0.50.3 Release: %mkrel 14 Group: System/Internationalization Source: http://aspell.sourceforge.net/aspell-%{languagecode}-%{src_ver}.tar.bz2 URL: http://aspell.sourceforge.net/ License: GPL Epoch: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-root Provides: spell-cy BuildRequires: aspell >= 0.50 Requires: aspell >= 0.50 BuildRequires: locales-cy # Mandriva Stuff Requires: locales-%{languagecode} # aspell = 1, myspell = 2, lang-specific = 3 Provides: enchant-dictionary = 1 Provides: aspell-dictionary Autoreqprov: no %description A %{languageenglazy} dictionary for use with aspell, a spelling checker. %prep %setup -q -n %{name}-%{src_ver} %build export LC_ALL=cy ./configure %make %install rm -fr $RPM_BUILD_ROOT export LC_ALL=cy make DESTDIR=$RPM_BUILD_ROOT install # fix doc perms chmod 644 README %clean rm -fr $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README %{_libdir}/aspell-*/* %changelog * Mon Jun 16 2008 Thierry Vignaud <tvignaud@mandriva.com> 1:0.50.3-14mdv2009.0 + Revision: 220367 - rebuild * Sun Mar 09 2008 Anssi Hannula <anssi@mandriva.org> 1:0.50.3-13mdv2008.1 + Revision: 182409 - provide enchant-dictionary * Fri Jan 11 2008 Thierry Vignaud <tvignaud@mandriva.com> 1:0.50.3-12mdv2008.1 + Revision: 148744 - rebuild - kill re-definition of %%buildroot on Pixel's request - s/Mandrake/Mandriva/ + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Wed Feb 21 2007 Oden Eriksson <oeriksson@mandriva.com> 0.50.3-11mdv2007.0 + Revision: 123233 - Import aspell-cy * Wed Feb 21 2007 Oden Eriksson <oeriksson@mandriva.com> 0.50.3-11mdv2007.1 - use the mkrel macro - disable debug packages * Tue Oct 04 2005 Thierry Vignaud <tvignaud@mandriva.com> 0.50.3-11mdk - should not be a noarch package * Fri Dec 03 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.50.3-10mdk - rebuild for new aspell * Wed Jul 28 2004 Pablo Saratxaga <pablo@mandrakesoft.com> 0.50.3-9mdk - allow build on ia64