%define module Gnome2-Print Summary: Perl module for the gtk+-2.x library Name: perl-%module Version: 0.61 Release: 1mdk License: GPL or Artistic Group: Development/GNOME and GTK+ Source: %module-%version.tar.bz2 URL: http://gtk2-perl.sf.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: gtk+2-devel perl-devel perl-ExtUtils-Depends perl-Gnome2 >= 0.30, perl-Glib > 1.00 BuildRequires: libgnomeprintui-devel >= 2.2 Requires: gtk+2 libgtk+2 %description This module provides perl access to the libgnomeprint+-2.x library, the Gnome Printing Architecture. %prep %setup -q -n %module-%version find -type d -name CVS | rm -rf perl Makefile.PL INSTALLDIRS=vendor %build RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Os -s" %make OPTIMIZE="$RPM_OPT_FLAGS" #%make test || : %install rm -rf $RPM_BUILD_ROOT %makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc examples %{_mandir}/*/* %{perl_vendorarch}/Gnome2/* %{perl_vendorarch}/auto/* %changelog * Sat Jan 10 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.61-1mdk - new release * Thu Oct 30 2003 root <root@vador.mandrakesoft.com> 0.52-1mdk - new release - fix buildrequires * Fri Aug 22 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.5-1mdk - initial release