%define module Net-CUPS %define version 0.59 %define release %mkrel 1 Name: perl-%{module} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Summary: Common Unix Printing System Interface Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Net/%{module}-%{version}.tar.gz BuildRequires: perl-devel BuildRequires: cups-devel BuildRequires: perl(Test::More) BuildRoot: %{_tmppath}/%{name}-%{version} %description Net::CUPS is an object oriented interface to the Common Unix Printing System. %prep %setup -q -n %{module}-%{version} # those test requires a running cups server # http://rt.cpan.org/Ticket/Display.html?id=38469 rm -f t/03_destination.t %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README Changes %{_mandir}/man3/* %perl_vendorlib/* %changelog * Fri Sep 05 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.59-1mdv2009.0 + Revision: 281111 - update to new version 0.59 * Sun Aug 31 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.58-1mdv2009.0 + Revision: 277954 - update to new version 0.58 * Thu Aug 14 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.57-1mdv2009.0 + Revision: 272041 - new version + Thierry Vignaud <tvignaud@mandriva.com> - rebuild early 2009.0 package (before pixel changes) * Wed Apr 16 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.55-1mdv2009.0 + Revision: 194693 - import perl-Net-CUPS * Wed Apr 09 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.55-1mdv2008.1 - initial mdv import