Name: perl-Net-CUPS Version: 0.55 Release: 2%{?dist} Summary: Perl bindings to the CUPS C API Interface License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Net-CUPS/ Source0: http://www.cpan.org/authors/id/D/DH/DHAGEMAN/Net-CUPS-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: cups-devel Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Net::CUPS is an interface to the Common Unix Printing System API. If you feel an urge to control CUPS servers via perl, this is a good way to do it :) %prep %setup -q -n Net-CUPS-%{version} find . -type f -exec chmod -c -x {} + %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} + find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} + find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) # not much in the way of examples, so let's throw in the tests. %doc Changes README TODO t/ examples/ %{perl_vendorarch}/auto/* %{perl_vendorarch}/Net* %{_mandir}/man3/* %changelog * Wed Jan 02 2008 Ralf Corsépius 0.55-2 - Adjust Licence-tag. - Spec file cosmetics. - BR: perl(Test::More) (BZ 419631). * Tue Dec 04 2007 Chris Weyl 0.55-1 - update to 0.55 * Tue Aug 21 2007 Chris Weyl 0.51-3 - bump * Wed Mar 21 2007 Chris Weyl 0.51-2 - bump * Fri Mar 16 2007 Chris Weyl 0.51-1 - Specfile autogenerated by cpanspec 1.70.