%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 11 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 # Mandrake Stuff Requires: locales-%{languagecode} 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 * 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