auto-import perl-Archive-Zip-1.12-2 on branch devel from

perl-Archive-Zip-1.12-2.src.rpm
This commit is contained in:
Warren Togami 2005-04-11 21:48:05 +00:00
parent d5e8636cbd
commit 30e9c65cb8
3 changed files with 97 additions and 0 deletions

View File

@ -0,0 +1 @@
Archive-Zip-1.12.tar.gz

95
perl-Archive-Zip.spec Normal file
View File

@ -0,0 +1,95 @@
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
Name: perl-Archive-Zip
Version: 1.12
Release: 2
Summary: Perl library for accessing Zip archives
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Archive-Zip/
Source0: http://www.cpan.org/authors/id/N/NE/NEDKONZ/Archive-Zip-1.12.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Compress::Zlib), perl(File::Temp)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%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}
%{__perl} -pi -e 's|/usr/local/bin/perl|%{__perl}|' examples/*.pl
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check || :
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README TODO docs/ examples/
%{_bindir}/crc32
%{perl_vendorlib}/Archive/
%{_mandir}/man3/Archive*.3*
%changelog
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
* Sun Aug 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1
- Update to 1.12.
* Tue Jul 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.11-0.fdr.1
- Update to 1.11.
- Bring up to date with current fedora.us Perl spec template.
* Sun Apr 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.1
- Update to 1.10.
- Reduce directory ownership bloat.
- Require perl(:MODULE_COMPAT_*).
* Fri Nov 28 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.09-0.fdr.1
- Update to 1.09.
* Wed Oct 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.08-0.fdr.1
- Update to 1.08.
* Tue Oct 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.1
- Update to 1.07.
* Sun Sep 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.06-0.fdr.1
- Update to 1.06.
- Specfile cleanups.
* Sun Jun 8 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.05-0.fdr.1
- First build.

View File

@ -0,0 +1 @@
e8789249d24f283639766295f6eace17 Archive-Zip-1.12.tar.gz