source: spec/trunk/SPECS/perl-Archive-Zip.spec@ 1504

Last change on this file since 1504 was 1399, checked in by tellie, 7 years ago

spec: perl-Archive-Zip: Release version 1.60-1.

File size: 3.2 KB
Line 
1Name: perl-Archive-Zip
2Version: 1.60
3Release: 1%{?dist}
4Summary: Perl library for accessing Zip archives
5# lib/Archive/Zip/Member.pm: (GPL+ or Artistic) and BSD
6# (The _mapPermissionsToUnix() comments are
7# copied from BSD-licensed unzip)
8# other files: GPL+ or Artistic
9License: (GPL+ or Artistic) and BSD
10Vendor: bww bitwise works GmbH
11URL: http://search.cpan.org/dist/Archive-Zip/
12Source0: http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-%{version}.tar.gz
13BuildArch: noarch
14BuildRequires: make
15#BuildRequires: perl-interpreter
16BuildRequires: perl-generators
17#BuildRequires: perl(:VERSION) >= 5.4
18BuildRequires: perl(Config)
19BuildRequires: perl(ExtUtils::MakeMaker) >= 6.63
20BuildRequires: perl(strict)
21# Run-time
22#BuildRequires: perl(:VERSION) >= 5.6
23BuildRequires: perl(bytes)
24BuildRequires: perl(Carp)
25BuildRequires: perl(Compress::Raw::Zlib)
26BuildRequires: perl(constant)
27BuildRequires: perl(Cwd)
28BuildRequires: perl(Data::Dumper)
29BuildRequires: perl(Encode)
30BuildRequires: perl(Exporter)
31BuildRequires: perl(File::Basename)
32BuildRequires: perl(File::Copy)
33BuildRequires: perl(File::Find)
34BuildRequires: perl(File::Path)
35BuildRequires: perl(File::Spec) >= 0.80
36BuildRequires: perl(File::Temp)
37BuildRequires: perl(FileHandle)
38BuildRequires: perl(integer)
39BuildRequires: perl(IO::File)
40BuildRequires: perl(IO::Seekable)
41BuildRequires: perl(Time::Local)
42BuildRequires: perl(vars)
43# Tests
44#BuildRequires: perl(File::Spec::Unix)
45# IO::Scalar not used
46#BuildRequires: perl(lib)
47#BuildRequires: perl(Test::MockModule)
48#BuildRequires: perl(Test::More) >= 0.88
49#BuildRequires: perl(utf8)
50#BuildRequires: perl(warnings)
51#BuildRequires: unzip
52#BuildRequires: zip
53Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
54Requires: perl(Exporter)
55Requires: perl(File::Spec) >= 0.80
56
57# Remove under-specified dependencies
58%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)$
59
60%description
61The Archive::Zip module allows a Perl program to create, manipulate,
62read, and write Zip archive files.
63Zip archives can be created, or you can read from existing zip files.
64Once created, they can be written to files, streams, or strings.
65Members can be added, removed, extracted, replaced, rearranged, and
66enumerated. They can also be renamed or have their dates, comments,
67or other attributes queried or modified. Their data can be compressed
68or uncompressed as needed. Members can be created from members in
69existing Zip files, or from existing directories, files, or strings.
70
71
72%prep
73%setup -q -n Archive-Zip-%{version}
74for F in examples/*.pl; do
75 perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})"
76done
77
78
79%build
80perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
81make %{?_smp_mflags}
82make manifypods
83
84%install
85make pure_install DESTDIR=$RPM_BUILD_ROOT
86find %{buildroot} -type f -name .packlist -delete
87%{_fixperms} $RPM_BUILD_ROOT/*
88
89
90%check
91#make test
92
93
94%files
95%doc Changes examples/
96%{_bindir}/crc32
97%{perl_vendorlib}/Archive/
98%{_mandir}/man3/*.3*
99
100
101%changelog
102* Thu May 03 2018 Elbert Pol <elbert.pol@gmail.com> - 1.60-1
103- initial rpm for OS2
Note: See TracBrowser for help on using the repository browser.