|
 |
316147 |
Name: perl-Archive-Zip
|
|
 |
316147 |
Version: 1.30
|
|
 |
316147 |
Release: 11%{?dist}
|
|
 |
316147 |
Summary: Perl library for accessing Zip archives
|
|
 |
316147 |
|
|
 |
316147 |
Group: Development/Libraries
|
|
 |
316147 |
License: GPL+ or Artistic
|
|
 |
316147 |
URL: http://search.cpan.org/dist/Archive-Zip/
|
|
 |
316147 |
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Archive-Zip-%{version}.tar.gz
|
|
 |
316147 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
 |
316147 |
BuildArch: noarch
|
|
 |
316147 |
#https://rt.cpan.org/Public/Bug/Display.html?id=54827
|
|
 |
316147 |
Patch0: Archive-Zip-cpan-rt-54827.patch
|
|
 |
316147 |
|
|
 |
316147 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
 |
316147 |
# Run-time
|
|
 |
316147 |
BuildRequires: perl(Carp)
|
|
 |
316147 |
BuildRequires: perl(constant)
|
|
 |
316147 |
BuildRequires: perl(Cwd)
|
|
 |
316147 |
BuildRequires: perl(Compress::Raw::Zlib)
|
|
 |
316147 |
BuildRequires: perl(Exporter)
|
|
 |
316147 |
BuildRequires: perl(File::Path)
|
|
 |
316147 |
BuildRequires: perl(File::Spec) >= 0.80
|
|
 |
316147 |
BuildRequires: perl(File::Temp)
|
|
 |
316147 |
BuildRequires: perl(IO::File)
|
|
 |
316147 |
BuildRequires: perl(IO::Seekable)
|
|
 |
316147 |
BuildRequires: perl(Time::Local)
|
|
 |
316147 |
# Tests
|
|
 |
316147 |
BuildRequires: perl(Data::Dumper)
|
|
 |
316147 |
BuildRequires: perl(File::Spec::Unix)
|
|
 |
316147 |
BuildRequires: perl(IO::Scalar)
|
|
 |
316147 |
BuildRequires: perl(Test::More)
|
|
 |
316147 |
BuildRequires: unzip
|
|
 |
316147 |
BuildRequires: zip
|
|
 |
316147 |
|
|
 |
316147 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
 |
316147 |
|
|
 |
316147 |
%description
|
|
 |
316147 |
The Archive::Zip module allows a Perl program to create, manipulate,
|
|
 |
316147 |
read, and write Zip archive files.
|
|
 |
316147 |
Zip archives can be created, or you can read from existing zip files.
|
|
 |
316147 |
Once created, they can be written to files, streams, or strings.
|
|
 |
316147 |
Members can be added, removed, extracted, replaced, rearranged, and
|
|
 |
316147 |
enumerated. They can also be renamed or have their dates, comments,
|
|
 |
316147 |
or other attributes queried or modified. Their data can be compressed
|
|
 |
316147 |
or uncompressed as needed. Members can be created from members in
|
|
 |
316147 |
existing Zip files, or from existing directories, files, or strings.
|
|
 |
316147 |
|
|
 |
316147 |
|
|
 |
316147 |
%prep
|
|
 |
316147 |
%setup -q -n Archive-Zip-%{version}
|
|
 |
316147 |
%patch0 -p1
|
|
 |
316147 |
%{__perl} -pi -e 's|^#!/bin/perl|#!%{__perl}|' examples/*.pl
|
|
 |
316147 |
%{__perl} -pi -e 's|^#!/usr/local/bin/perl|#!%{__perl}|' examples/selfex.pl
|
|
 |
316147 |
|
|
 |
316147 |
|
|
 |
316147 |
%build
|
|
 |
316147 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
 |
316147 |
make %{?_smp_mflags}
|
|
 |
316147 |
|
|
 |
316147 |
|
|
 |
316147 |
%install
|
|
 |
316147 |
rm -rf $RPM_BUILD_ROOT
|
|
 |
316147 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
 |
316147 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
 |
316147 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
 |
316147 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
 |
316147 |
|
|
 |
316147 |
|
|
 |
316147 |
%check
|
|
 |
316147 |
make test
|
|
 |
316147 |
|
|
 |
316147 |
|
|
 |
316147 |
%clean
|
|
 |
316147 |
rm -rf $RPM_BUILD_ROOT
|
|
 |
316147 |
|
|
 |
316147 |
|
|
 |
316147 |
%files
|
|
 |
316147 |
%defattr(-,root,root,-)
|
|
 |
316147 |
%doc Changes LICENSE README examples/
|
|
 |
316147 |
%{_bindir}/crc32
|
|
 |
316147 |
%{perl_vendorlib}/Archive/
|
|
 |
316147 |
%{_mandir}/man3/Archive*.3*
|
|
 |
316147 |
|
|
 |
316147 |
|
|
 |
316147 |
%changelog
|
|
 |
316147 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.30-11
|
|
 |
316147 |
- Mass rebuild 2013-12-27
|
|
 |
316147 |
|
|
 |
316147 |
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 1.30-10.1
|
|
 |
316147 |
- Rebuild for perl 5.16
|
|
 |
316147 |
|
|
 |
316147 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-10
|
|
 |
316147 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
 |
316147 |
|
|
 |
316147 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.30-9
|
|
 |
316147 |
- Perl 5.16 rebuild
|
|
 |
316147 |
- Specify all dependencies
|
|
 |
316147 |
|
|
 |
316147 |
* Mon Mar 19 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.30-8
|
|
 |
316147 |
- 543660 apply patch from rt cpan 54827
|
|
 |
316147 |
|
|
 |
316147 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-7
|
|
 |
316147 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
 |
316147 |
|
|
 |
316147 |
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.30-6
|
|
 |
316147 |
- Perl mass rebuild
|
|
 |
316147 |
|
|
 |
316147 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-5
|
|
 |
316147 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
 |
316147 |
|
|
 |
316147 |
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.30-4
|
|
 |
316147 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
 |
316147 |
|
|
 |
316147 |
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.30-3
|
|
 |
316147 |
- Mass rebuild with perl-5.12.0
|
|
 |
316147 |
|
|
 |
316147 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.30-2
|
|
 |
316147 |
- rebuild against perl 5.10.1
|
|
 |
316147 |
|
|
 |
316147 |
* Mon Jul 27 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.30-1
|
|
 |
316147 |
- update to 1.30
|
|
 |
316147 |
|
|
 |
316147 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-3
|
|
 |
316147 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
 |
316147 |
|
|
 |
316147 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-2
|
|
 |
316147 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
 |
316147 |
|
|
 |
316147 |
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 1.23-1
|
|
 |
316147 |
- Update to 1.23.
|
|
 |
316147 |
|
|
 |
316147 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-5
|
|
 |
316147 |
- Rebuild for perl 5.10 (again)
|
|
 |
316147 |
|
|
 |
316147 |
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-4
|
|
 |
316147 |
- rebuild for new perl
|
|
 |
316147 |
|
|
 |
316147 |
* Mon Aug 23 2007 Robin Norwood <rnorwood@redhat.com> - 1.20-3
|
|
 |
316147 |
- Fix license tag
|
|
 |
316147 |
|
|
 |
316147 |
* Wed Jun 27 2007 Robin Norwood <rnorwood@redhat.com> - 1.20-2
|
|
 |
316147 |
- Resolves: rhbz#226240
|
|
 |
316147 |
- Incorporate changes from Steven Pritchard's package review
|
|
 |
316147 |
- Fix find option order.
|
|
 |
316147 |
- Use fixperms macro instead of our own chmod incantation.
|
|
 |
316147 |
- Remove check macro cruft.
|
|
 |
316147 |
- Update build dependencies.
|
|
 |
316147 |
- Package LICENSE.
|
|
 |
316147 |
- BR unzip, zip for better test coverage.
|
|
 |
316147 |
|
|
 |
316147 |
* Tue Jun 05 2007 Robin Norwood <rnorwood@redhat.com> - 1.20-1
|
|
 |
316147 |
- Update to latest CPAN version: 1.20
|
|
 |
316147 |
- Fix broken changelog
|
|
 |
316147 |
|
|
 |
316147 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.16-1.2.1
|
|
 |
316147 |
- rebuild
|
|
 |
316147 |
|
|
 |
316147 |
* Fri Feb 03 2006 Jason Vas Dias<jvdias@redhat.com> - 1.16-1.2
|
|
 |
316147 |
- rebuilt for new perl-5.8.8
|
|
 |
316147 |
|
|
 |
316147 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
 |
316147 |
- rebuilt for new gcc
|
|
 |
316147 |
|
|
 |
316147 |
* Mon Jul 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.16-1
|
|
 |
316147 |
- Update to 1.16.
|
|
 |
316147 |
|
|
 |
316147 |
* Thu Apr 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-1
|
|
 |
316147 |
- Update to 1.14.
|
|
 |
316147 |
|
|
 |
316147 |
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
 |
316147 |
- rebuilt
|
|
 |
316147 |
|
|
 |
316147 |
* Sun Aug 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1
|
|
 |
316147 |
- Update to 1.12.
|
|
 |
316147 |
|
|
 |
316147 |
* Tue Jul 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.11-0.fdr.1
|
|
 |
316147 |
- Update to 1.11.
|
|
 |
316147 |
- Bring up to date with current fedora.us Perl spec template.
|
|
 |
316147 |
|
|
 |
316147 |
* Sun Apr 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.1
|
|
 |
316147 |
- Update to 1.10.
|
|
 |
316147 |
- Reduce directory ownership bloat.
|
|
 |
316147 |
- Require perl(:MODULE_COMPAT_*).
|
|
 |
316147 |
|
|
 |
316147 |
* Fri Nov 28 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.09-0.fdr.1
|
|
 |
316147 |
- Update to 1.09.
|
|
 |
316147 |
|
|
 |
316147 |
* Wed Oct 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.08-0.fdr.1
|
|
 |
316147 |
- Update to 1.08.
|
|
 |
316147 |
|
|
 |
316147 |
* Tue Oct 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.1
|
|
 |
316147 |
- Update to 1.07.
|
|
 |
316147 |
|
|
 |
316147 |
* Sun Sep 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.06-0.fdr.1
|
|
 |
316147 |
- Update to 1.06.
|
|
 |
316147 |
- Specfile cleanups.
|
|
 |
316147 |
|
|
 |
316147 |
* Sun Jun 8 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.05-0.fdr.1
|
|
 |
316147 |
- First build.
|