a22655
Name:           perl-Archive-Zip
a22655
Version:        1.67
a22655
Release:        1%{?dist}
a22655
Summary:        Perl library for accessing Zip archives
a22655
# lib/Archive/Zip/Member.pm:    (GPL+ or Artistic) and BSD
a22655
#                               (The _mapPermissionsToUnix() comments are
a22655
#                               copied from BSD-licensed unzip)
a22655
# other files:                  GPL+ or Artistic
a22655
License:        (GPL+ or Artistic) and BSD
a22655
URL:            https://metacpan.org/release/Archive-Zip
a22655
Source0:        https://cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-%{version}.tar.gz
a22655
BuildArch:      noarch
a22655
# For a Git binary patch
a22655
BuildRequires:  git-core
a22655
BuildRequires:  make
a22655
BuildRequires:  perl-interpreter
a22655
BuildRequires:  perl-generators
a22655
BuildRequires:  perl(:VERSION) >= 5.4
a22655
BuildRequires:  perl(Config)
a22655
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
a22655
BuildRequires:  perl(strict)
a22655
# Run-time
a22655
BuildRequires:  perl(:VERSION) >= 5.6
a22655
BuildRequires:  perl(Carp)
a22655
BuildRequires:  perl(Compress::Raw::Zlib)
a22655
BuildRequires:  perl(constant)
a22655
BuildRequires:  perl(Cwd)
a22655
BuildRequires:  perl(Encode)
a22655
BuildRequires:  perl(Exporter)
a22655
BuildRequires:  perl(File::Basename)
a22655
BuildRequires:  perl(File::Copy)
a22655
BuildRequires:  perl(File::Find)
a22655
BuildRequires:  perl(File::Path)
a22655
BuildRequires:  perl(File::Spec) >= 0.80
a22655
BuildRequires:  perl(File::Temp)
a22655
BuildRequires:  perl(FileHandle)
a22655
BuildRequires:  perl(integer)
a22655
BuildRequires:  perl(IO::File)
a22655
BuildRequires:  perl(IO::Seekable)
a22655
BuildRequires:  perl(Time::Local)
a22655
BuildRequires:  perl(vars)
a22655
# Tests
a22655
BuildRequires:  perl(File::Spec::Unix)
a22655
# IO::Scalar not used
a22655
BuildRequires:  perl(lib)
a22655
BuildRequires:  perl(Test::MockModule)
a22655
BuildRequires:  perl(Test::More) >= 0.88
a22655
BuildRequires:  perl(utf8)
a22655
BuildRequires:  perl(warnings)
a22655
BuildRequires:  unzip
a22655
BuildRequires:  zip
a22655
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
a22655
Requires:       perl(Exporter)
a22655
Requires:       perl(File::Spec) >= 0.80
a22655
a22655
# Remove under-specified dependencies
a22655
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)$
a22655
a22655
%description
a22655
The Archive::Zip module allows a Perl program to create, manipulate,
a22655
read, and write Zip archive files.
a22655
Zip archives can be created, or you can read from existing zip files.
a22655
Once created, they can be written to files, streams, or strings.
a22655
Members can be added, removed, extracted, replaced, rearranged, and
a22655
enumerated.  They can also be renamed or have their dates, comments,
a22655
or other attributes queried or modified.  Their data can be compressed
a22655
or uncompressed as needed.  Members can be created from members in
a22655
existing Zip files, or from existing directories, files, or strings.
a22655
a22655
a22655
%prep
a22655
%autosetup -S git -n Archive-Zip-%{version}
a22655
for F in examples/*.pl; do
a22655
    perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})"
a22655
done
a22655
a22655
a22655
%build
a22655
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
a22655
make %{?_smp_mflags}
a22655
a22655
a22655
%install
a22655
make pure_install DESTDIR=$RPM_BUILD_ROOT
a22655
%{_fixperms} $RPM_BUILD_ROOT/*
a22655
a22655
a22655
%check
a22655
make test
a22655
a22655
a22655
%files
a22655
%doc Changes examples/
a22655
%{_bindir}/crc32
a22655
%{perl_vendorlib}/Archive/
a22655
%{_mandir}/man3/Archive*.3*
a22655
a22655
a22655
%changelog
a22655
* Mon Oct 07 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.67-1
a22655
- 1.67 bump
a22655
a22655
* Tue Sep 17 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.66-1
a22655
- 1.66 bump
a22655
a22655
* Mon Sep 09 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.65-1
a22655
- 1.65 bump
a22655
a22655
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.64-4
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a22655
a22655
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.64-3
a22655
- Perl 5.30 rebuild
a22655
a22655
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.64-2
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a22655
a22655
* Thu Sep 13 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.64-1
a22655
- 1.64 bump
a22655
a22655
* Thu Aug 23 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.63-1
a22655
- 1.63 bump
a22655
a22655
* Mon Aug 20 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.62-1
a22655
- 1.62 bump
a22655
a22655
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.60-5
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a22655
a22655
* Tue Jul 10 2018 Petr Pisar <ppisar@redhat.com> - 1.60-4
a22655
- Fix CVE-2018-10860 (a directory and symbolic link traversal) (bug #1596132)
a22655
a22655
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.60-3
a22655
- Perl 5.28 rebuild
a22655
a22655
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.60-2
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a22655
a22655
* Wed Dec 20 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.60-1
a22655
- 1.60 bump
a22655
a22655
* Tue Dec 19 2017 Petr Pisar <ppisar@redhat.com> - 1.59-6
a22655
- Fix shellbang in examples/selfex.pl documentation (CPAN RT#123913)
a22655
- Modernize spec file
a22655
a22655
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.59-5
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a22655
a22655
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.59-4
a22655
- Perl 5.26 rebuild
a22655
a22655
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.59-3
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a22655
a22655
* Tue Sep 20 2016 Petr Pisar <ppisar@redhat.com> - 1.59-2
a22655
- License tag corrected to ((GPL+ or Artistic) and BSD)
a22655
a22655
* Fri Aug 12 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.59-1
a22655
- 1.59 bump
a22655
a22655
* Mon Aug 08 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.58-1
a22655
- 1.58 bump
a22655
a22655
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.57-2
a22655
- Perl 5.24 rebuild
a22655
a22655
* Mon Apr 04 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.57-1
a22655
- 1.57 bump
a22655
a22655
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.56-2
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a22655
a22655
* Mon Dec 21 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.56-1
a22655
- 1.56 bump
a22655
a22655
* Mon Dec 07 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.55-1
a22655
- 1.55 bump
a22655
a22655
* Fri Sep 25 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.53-1
a22655
- 1.53 bump
a22655
a22655
* Tue Sep 22 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.51-1
a22655
- 1.51 bump
a22655
a22655
* Wed Aug 26 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.50-1
a22655
- 1.50 bump
a22655
a22655
* Mon Aug 03 2015 Petr Pisar <ppisar@redhat.com> - 1.49-1
a22655
- 1.49 bump
a22655
a22655
* Fri Jun 19 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.48-1
a22655
- 1.48 bump
a22655
a22655
* Thu Jun 18 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.47-1
a22655
- 1.47 bump
a22655
a22655
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-3
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a22655
a22655
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-2
a22655
- Perl 5.22 rebuild
a22655
a22655
* Wed Mar 25 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-1
a22655
- 1.46 bump
a22655
a22655
* Tue Feb 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.45-1
a22655
- 1.45 bump
a22655
a22655
* Thu Jan 15 2015 Petr Pisar <ppisar@redhat.com> - 1.39-2
a22655
- Correct dependencies
a22655
- Improve sharpbang fix
a22655
a22655
* Wed Oct 22 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.39-1
a22655
- 1.39 bump
a22655
a22655
* Wed Sep 10 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-1
a22655
- 1.38 bump
a22655
a22655
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.37-3
a22655
- Perl 5.20 rebuild
a22655
a22655
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-2
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a22655
a22655
* Wed Jan 15 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.37-1
a22655
- 1.37 bump
a22655
a22655
* Thu Jan 02 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.36-1
a22655
- 1.36 bump
a22655
a22655
* Tue Dec 10 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.34-1
a22655
- 1.34 bump
a22655
a22655
* Fri Nov 22 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-1
a22655
- 1.33 bump
a22655
a22655
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-13
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a22655
a22655
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.30-12
a22655
- Perl 5.18 rebuild
a22655
a22655
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-11
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a22655
a22655
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-10
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a22655
a22655
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.30-9
a22655
- Perl 5.16 rebuild
a22655
- Specify all dependencies
a22655
a22655
* Mon Mar 19 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.30-8
a22655
- 543660 apply patch from rt cpan 54827
a22655
a22655
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-7
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a22655
a22655
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.30-6
a22655
- Perl mass rebuild
a22655
a22655
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-5
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a22655
a22655
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.30-4
a22655
- 661697 rebuild for fixing problems with vendorach/lib
a22655
a22655
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.30-3
a22655
- Mass rebuild with perl-5.12.0
a22655
a22655
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.30-2
a22655
- rebuild against perl 5.10.1
a22655
a22655
* Mon Jul 27 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.30-1
a22655
- update to 1.30
a22655
a22655
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-3
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a22655
a22655
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-2
a22655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a22655
a22655
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 1.23-1
a22655
- Update to 1.23.
a22655
a22655
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-5
a22655
- Rebuild for perl 5.10 (again)
a22655
a22655
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-4
a22655
- rebuild for new perl
a22655
a22655
* Thu Aug 23 2007 Robin Norwood <rnorwood@redhat.com> - 1.20-3
a22655
- Fix license tag
a22655
a22655
* Wed Jun 27 2007 Robin Norwood <rnorwood@redhat.com> - 1.20-2
a22655
- Resolves: rhbz#226240
a22655
- Incorporate changes from Steven Pritchard's package review
a22655
- Fix find option order.
a22655
- Use fixperms macro instead of our own chmod incantation.
a22655
- Remove check macro cruft.
a22655
- Update build dependencies.
a22655
- Package LICENSE.
a22655
- BR unzip, zip for better test coverage.
a22655
a22655
* Tue Jun 05 2007 Robin Norwood <rnorwood@redhat.com> - 1.20-1
a22655
- Update to latest CPAN version: 1.20
a22655
- Fix broken changelog
a22655
a22655
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.16-1.2.1
a22655
- rebuild
a22655
a22655
* Fri Feb 03 2006 Jason Vas Dias<jvdias@redhat.com> - 1.16-1.2
a22655
- rebuilt for new perl-5.8.8
a22655
a22655
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
a22655
- rebuilt for new gcc
a22655
a22655
* Mon Jul 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.16-1
a22655
- Update to 1.16.
a22655
a22655
* Thu Apr 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-1
a22655
- Update to 1.14.
a22655
a22655
* Fri Apr  8 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
a22655
- rebuilt
a22655
a22655
* Sun Aug 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1
a22655
- Update to 1.12.
a22655
a22655
* Tue Jul  6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.11-0.fdr.1
a22655
- Update to 1.11.
a22655
- Bring up to date with current fedora.us Perl spec template.
a22655
a22655
* Sun Apr 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.1
a22655
- Update to 1.10.
a22655
- Reduce directory ownership bloat.
a22655
- Require perl(:MODULE_COMPAT_*).
a22655
a22655
* Fri Nov 28 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.09-0.fdr.1
a22655
- Update to 1.09.
a22655
a22655
* Wed Oct 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.08-0.fdr.1
a22655
- Update to 1.08.
a22655
a22655
* Tue Oct 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.1
a22655
- Update to 1.07.
a22655
a22655
* Sun Sep 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.06-0.fdr.1
a22655
- Update to 1.06.
a22655
- Specfile cleanups.
a22655
a22655
* Sun Jun  8 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.05-0.fdr.1
a22655
- First build.