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