rpms/perl-Net-CUPS/FC-5 perl-Net-CUPS.spec, NONE, 1.1 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Wed Mar 21 15:05:29 UTC 2007


Author: cweyl

Update of /cvs/extras/rpms/perl-Net-CUPS/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7960

Modified Files:
	sources 
Added Files:
	perl-Net-CUPS.spec 
Log Message:
pseudo-branch of perl-Net-CUPS to FC-5


--- NEW FILE perl-Net-CUPS.spec ---
Name:           perl-Net-CUPS
Version:        0.51
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, perl(ExtUtils::MakeMaker)
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}

%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 one of the tests.  better
# than nothing.
%doc Changes README TODO t/02_cups.t
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Net*
%{_mandir}/man3/*

%changelog
* Wed Mar 21 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.51-2
- bump

* Fri Mar 16 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.51-1
- Specfile autogenerated by cpanspec 1.70.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-CUPS/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Mar 2007 07:11:19 -0000	1.1
+++ sources	21 Mar 2007 15:04:56 -0000	1.2
@@ -0,0 +1 @@
+236f38f0dc33163ad5dbb0181e4bf7c4  Net-CUPS-0.51.tar.gz




More information about the scm-commits mailing list