%define module Gtk2-Spell %define fmodule Gtk2/Spell Summary: Perl module for the gtkspell library Name: perl-%module Version: 1.03 Release: %mkrel 6 License: GPL or Artistic Group: Development/GNOME and GTK+ Source: http://ovh.dl.sourceforge.net/sourceforge/gtk2-perl/%module-%version.tar.bz2 URL: http://gtk2-perl.sf.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: gtkspell-devel BuildRequires: perl-ExtUtils-Depends BuildRequires: perl-Gtk2 BuildRequires: perl-Glib > 1.00 BuildRequires: perl-ExtUtils-PkgConfig BuildRequires: glitz-devel Buildrequires: perl-devel Requires: gtk+2 %description This module provides perl access to the gtkspell library. The GtkSpell graphical user interface library allow to write applications that highlight mis-spelled words. %prep %setup -q -n %module-%version find -type d -name CVS | rm -rf %build RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Os -s" perl Makefile.PL INSTALLDIRS=vendor make OPTIMIZE="$RPM_OPT_FLAGS" #%make test || : %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc LICENSE gtkspell_simple.pl %{_mandir}/*/* %{perl_vendorarch}/Gtk2/Spell* %{perl_vendorarch}/%fmodule.pm %{perl_vendorarch}/auto/%fmodule %changelog * Fri Sep 30 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.03-6mdk - arg bad work again :( * Fri Sep 30 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.03-5mdk - Add buildrequires - mkrel - add better source url * Sun Feb 06 2005 Sylvie Terjan <erinmargault@mandrake.org> 1.03-4mdk - rebuild for new perl - buildrequires on perl-ExtUtils-PkgConfig * Fri Aug 13 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.03-3mdk - rebuild for perl-5.8.5 - relink against libapspell rather than libpspell * Fri Apr 02 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.03-2mdk - fix summary - fix build * Sat Jan 10 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.03-1mdk - new release - nename spec file * Wed Aug 20 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.0-1mdk - new release * Thu Jul 14 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.0.cvs.2003.07.04.1-1mdk - xs snapshot