Name: perl-Archive-Zip Version: 1.60 Release: 1%{?dist} Summary: Perl library for accessing Zip archives # lib/Archive/Zip/Member.pm: (GPL+ or Artistic) and BSD # (The _mapPermissionsToUnix() comments are # copied from BSD-licensed unzip) # other files: GPL+ or Artistic License: (GPL+ or Artistic) and BSD Vendor: bww bitwise works GmbH URL: http://search.cpan.org/dist/Archive-Zip/ Source0: http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-%{version}.tar.gz BuildArch: noarch BuildRequires: make #BuildRequires: perl-interpreter BuildRequires: perl-generators #BuildRequires: perl(:VERSION) >= 5.4 BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.63 BuildRequires: perl(strict) # Run-time #BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(bytes) BuildRequires: perl(Carp) BuildRequires: perl(Compress::Raw::Zlib) BuildRequires: perl(constant) BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Encode) BuildRequires: perl(Exporter) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) >= 0.80 BuildRequires: perl(File::Temp) BuildRequires: perl(FileHandle) BuildRequires: perl(integer) BuildRequires: perl(IO::File) BuildRequires: perl(IO::Seekable) BuildRequires: perl(Time::Local) BuildRequires: perl(vars) # Tests #BuildRequires: perl(File::Spec::Unix) # IO::Scalar not used #BuildRequires: perl(lib) #BuildRequires: perl(Test::MockModule) #BuildRequires: perl(Test::More) >= 0.88 #BuildRequires: perl(utf8) #BuildRequires: perl(warnings) #BuildRequires: unzip #BuildRequires: zip Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Exporter) Requires: perl(File::Spec) >= 0.80 # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)$ %description The Archive::Zip module allows a Perl program to create, manipulate, read, and write Zip archive files. Zip archives can be created, or you can read from existing zip files. Once created, they can be written to files, streams, or strings. Members can be added, removed, extracted, replaced, rearranged, and enumerated. They can also be renamed or have their dates, comments, or other attributes queried or modified. Their data can be compressed or uncompressed as needed. Members can be created from members in existing Zip files, or from existing directories, files, or strings. %prep %setup -q -n Archive-Zip-%{version} for F in examples/*.pl; do perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})" done %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} make manifypods %install make pure_install DESTDIR=$RPM_BUILD_ROOT find %{buildroot} -type f -name .packlist -delete %{_fixperms} $RPM_BUILD_ROOT/* %check #make test %files %doc Changes examples/ %{_bindir}/crc32 %{perl_vendorlib}/Archive/ %{_mandir}/man3/*.3* %changelog * Thu May 03 2018 Elbert Pol - 1.60-1 - initial rpm for OS2