Chris Weyl a50715c
Name:           perl-Net-CUPS
Chris Weyl 7c25a82
Version:        0.61
063ae8e
Release:        21%{?dist}
Chris Weyl a50715c
Summary:        Perl bindings to the CUPS C API Interface
Chris Weyl 72b0987
License:        GPL+ or Artistic
Chris Weyl a50715c
Group:          Development/Libraries
Chris Weyl a50715c
URL:            http://search.cpan.org/dist/Net-CUPS/
Chris Weyl 7c25a82
Source0:        http://search.cpan.org/CPAN/authors/id/D/DH/DHAGEMAN/Net-CUPS-%{version}.tar.gz
Petr Šabata 71b1534
Patch0:         perl-Net-CUPS-0.61-cups16.patch
31041ee
Patch1:         Net-CUPS-0.61-cups2.patch
Petr Šabata 71b1534
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Chris Weyl 7c25a82
BuildRequires:  cups-devel
Petr Šabata 24daec1
BuildRequires:  cups-filters-devel
Petr Šabata 71b1534
BuildRequires:  perl(AutoLoader)
Petr Šabata 71b1534
BuildRequires:  perl(Carp)
Chris Weyl 72b0987
BuildRequires:  perl(ExtUtils::MakeMaker)
Chris Weyl 72b0987
BuildRequires:  perl(Test::More)
Chris Weyl 3ad94a1
Chris Weyl e5f0452
%{?perl_default_filter}
Chris Weyl e5f0452
Chris Weyl a50715c
%description
Chris Weyl a50715c
Net::CUPS is an interface to the Common Unix Printing System API.  If you feel
Chris Weyl e5f0452
an urge to control CUPS servers via Perl, this is a good way to do it :)
Chris Weyl a50715c
Chris Weyl a50715c
%prep
Chris Weyl a50715c
%setup -q -n Net-CUPS-%{version}
Chris Weyl 72b0987
find . -type f -exec chmod -c -x {} +
Petr Šabata 71b1534
%patch0 -p1 -b .cups16
31041ee
%patch1
Chris Weyl 72b0987
Chris Weyl a50715c
%build
Petr Šabata 71b1534
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
Chris Weyl a50715c
make %{?_smp_mflags}
Chris Weyl a50715c
Chris Weyl a50715c
%install
Chris Weyl a50715c
make pure_install PERL_INSTALL_ROOT=%{buildroot}
Chris Weyl 7c25a82
find %{buildroot} -type f -name .packlist -exec rm -f {} +
Chris Weyl 67ac406
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
Chris Weyl a50715c
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
Chris Weyl a50715c
%{_fixperms} %{buildroot}/*
Chris Weyl a50715c
Chris Weyl a50715c
%check
Chris Weyl a50715c
make test
Chris Weyl a50715c
Chris Weyl a50715c
%files
Petr Šabata 71b1534
%doc Changes README TODO examples/
Chris Weyl a50715c
%{perl_vendorarch}/auto/*
Chris Weyl a50715c
%{perl_vendorarch}/Net*
Chris Weyl a50715c
%{_mandir}/man3/*
Chris Weyl a50715c
Chris Weyl a50715c
%changelog
063ae8e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-21
063ae8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
063ae8e
06f6c93
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.61-20
06f6c93
- Perl 5.22 rebuild
06f6c93
31041ee
* Fri Oct 17 2014 Paul Howarth <paul@city-fan.org> - 0.61-19
31041ee
- Fix FTBFS due to bad version check in Makefile.PL (#1154078)
31041ee
bfeda1c
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.61-18
bfeda1c
- Perl 5.20 rebuild
bfeda1c
a048f3a
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-17
a048f3a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a048f3a
449317b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-16
449317b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
449317b
775176d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-15
775176d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
775176d
64207a8
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.61-14
64207a8
- Perl 5.18 rebuild
64207a8
1e20ad8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-13
1e20ad8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1e20ad8
Petr Šabata 24daec1
* Thu Aug 09 2012 Petr Šabata <contyk@redhat.com> - 0.61-12
Petr Šabata 71b1534
- Build with CUPS 1.6+, thanks to Jiří Popelka <jpopelka@redhat.com>,
Petr Šabata 71b1534
  rhbz#841925, rt#78583
Petr Šabata 71b1534
- Drop command macros and modernize spec
Petr Šabata 71b1534
76f7102
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-11
76f7102
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
76f7102
4937a4e
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 0.61-10
4937a4e
- Perl 5.16 rebuild
4937a4e
8588a58
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-9
8588a58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8588a58
74d0881
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.61-8
74d0881
- Perl mass rebuild
74d0881
7b0c222
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-7
7b0c222
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7b0c222
bc1e4d9
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.61-6
bc1e4d9
- 661697 rebuild for fixing problems with vendorach/lib
bc1e4d9
832f43f
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.61-5
832f43f
- Mass rebuild with perl-5.12.0
832f43f
a7f8766
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.61-4
a7f8766
- rebuild against perl 5.10.1
a7f8766
Chris Weyl a0af991
* Fri Aug 28 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.61-3
Chris Weyl a0af991
- bump
Chris Weyl a0af991
Chris Weyl e5f0452
* Sun Aug 23 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.61-2
Chris Weyl e5f0452
- add filtering to remove private so metadata
Chris Weyl e5f0452
Chris Weyl 7c25a82
* Sun Aug 23 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.61-1
Chris Weyl 7c25a82
- auto-update to 0.61 (by cpan-spec-update 0.01)
Chris Weyl 7c25a82
- added a new req on perl(Test::More) (version 0)
Chris Weyl 7c25a82
06db4dd
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.59-4
06db4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
06db4dd
8144a49
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.59-3
8144a49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8144a49
Chris Weyl e17fa60
* Sat Jan 10 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.59-2
Chris Weyl e17fa60
- ...and finish cleaning up
Chris Weyl e17fa60
Chris Weyl 99c0158
* Sat Jan 10 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.59-1
Chris Weyl 99c0158
- update to 0.59
Chris Weyl 99c0158
- drop some fixes that have been applied upstream (RHBZ#455190, RHBZ#455192,
Chris Weyl 99c0158
  RT#35966)
Chris Weyl 99c0158
Chris Weyl 3ad94a1
* Sun Jul 13 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.56-2
Chris Weyl 3ad94a1
- and remove i18n.h from CUPS.xs.  See bz#455190
Chris Weyl 3ad94a1
- add zlib-devel as a BR.  See bz#455192
Chris Weyl 3ad94a1
- patch t/03_destination.t to not test add/remove functionality -- this is an
Chris Weyl 3ad94a1
  admin action under Fedora, if memory serves
Chris Weyl 3ad94a1
Chris Weyl 3ad94a1
* Sun Jul 13 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.56-1
Chris Weyl 3ad94a1
- update to 0.56
Chris Weyl 3ad94a1
8ba22af
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.55-4
Chris Weyl 99c0158
- Rebuild for new perl
8ba22af
95f12ad
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.55-3
95f12ad
- Autorebuild for GCC 4.3
95f12ad
Chris Weyl 72b0987
* Wed Jan 02 2008 Ralf Corsépius <rc040203@freenet.de> 0.55-2
Chris Weyl 72b0987
- Adjust Licence-tag.
Chris Weyl 72b0987
- Spec file cosmetics.
Chris Weyl 72b0987
- BR: perl(Test::More) (BZ 419631).
Chris Weyl 72b0987
Chris Weyl 67ac406
* Tue Dec 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.55-1
Chris Weyl 67ac406
- update to 0.55
Chris Weyl 67ac406
Chris Weyl c64baa7
* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.51-3
Chris Weyl c64baa7
- bump
Chris Weyl c64baa7
Chris Weyl 7720ec0
* Wed Mar 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.51-2
Chris Weyl 7720ec0
- bump
Chris Weyl 7720ec0
Chris Weyl a50715c
* Fri Mar 16 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.51-1
Chris Weyl a50715c
- Specfile autogenerated by cpanspec 1.70.