[521] | 1 | Summary: Perl library for accessing Zip archives |
---|
| 2 | Name: perl-Archive-Zip |
---|
| 3 | Version: 1.23 |
---|
[3736] | 4 | Release: 2%{_dist_release} |
---|
[521] | 5 | Group: Development/Libraries |
---|
| 6 | URL: http://search.cpan.org/dist/Archive-Zip/ |
---|
| 7 | License: distributable |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/S/SM/SMPETERS/Archive-Zip-%{version}.tar.gz |
---|
| 9 | BuildArch: noarch |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildRequires: perl |
---|
| 12 | BuildRequires: perl-File-Which |
---|
| 13 | Requires: perl |
---|
| 14 | |
---|
| 15 | Vendor: Project Vine |
---|
| 16 | Distribution: Vine Linux |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | The Archive::Zip module allows a Perl program to create, manipulate, |
---|
| 21 | read, and write Zip archive files. |
---|
| 22 | Zip archives can be created, or you can read from existing zip files. |
---|
| 23 | Once created, they can be written to files, streams, or strings. |
---|
| 24 | Members can be added, removed, extracted, replaced, rearranged, and |
---|
| 25 | enumerated. They can also be renamed or have their dates, comments, |
---|
| 26 | or other attributes queried or modified. Their data can be compressed |
---|
| 27 | or uncompressed as needed. Members can be created from members in |
---|
| 28 | existing Zip files, or from existing directories, files, or strings. |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q -n Archive-Zip-%{version} |
---|
| 33 | %{__perl} -pi -e 's|^#!/bin/perl|#!%{__perl}|' examples/*.pl |
---|
| 34 | %{__perl} -pi -e 's|^#!/usr/local/bin/perl|#!%{__perl}|' examples/selfex.pl |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %build |
---|
| 38 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 39 | %{__make} %{?_smp_mflags} |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 44 | %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 45 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 46 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 47 | %{__chmod} -R u+w $RPM_BUILD_ROOT/* |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %check || : |
---|
| 51 | %{__make} test |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %clean |
---|
| 55 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %files |
---|
| 59 | %defattr(-,root,root,-) |
---|
| 60 | %doc Changes LICENSE README examples/ |
---|
| 61 | %{_bindir}/crc32 |
---|
| 62 | %{perl_vendorlib}/Archive/ |
---|
| 63 | %{_mandir}/man3/Archive*.3* |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %changelog |
---|
[3736] | 67 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-2 |
---|
| 68 | - rebuilt with perl-5.12.3 |
---|
| 69 | |
---|
[521] | 70 | * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.23-1 |
---|
| 71 | - rebuilt with perl-5.10.0. |
---|
| 72 | |
---|
| 73 | * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.23-0vl1 |
---|
| 74 | - new upstream release |
---|
| 75 | |
---|
| 76 | * Sun Jul 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.20-0vl1 |
---|
| 77 | - new upstream release |
---|
| 78 | |
---|
| 79 | * Tue Dec 5 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.18-0vl1 |
---|
| 80 | - new upstream release |
---|
| 81 | - added BuildRequires: perl-File-Which |
---|
| 82 | - changed Group to Development/Libraries |
---|
| 83 | |
---|
| 84 | * Mon Sep 18 2006 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.16-0vl1 |
---|
| 85 | - rebuild for Vine 4.0 beta 2 |
---|
| 86 | |
---|
| 87 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> |
---|
| 88 | - sh: line 0: fg: no job control |
---|
| 89 | - rebuild |
---|
| 90 | |
---|
| 91 | * Fri Feb 03 2006 Jason Vas Dias<jvdias@redhat.com> - 1.16-1.2 |
---|
| 92 | - rebuilt for new perl-5.8.8 |
---|
| 93 | |
---|
| 94 | * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 95 | - rebuilt for new gcc |
---|
| 96 | |
---|
| 97 | * Mon Jul 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.16-1 |
---|
| 98 | - Update to 1.16. |
---|
| 99 | |
---|
| 100 | * Thu Apr 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-1 |
---|
| 101 | - Update to 1.14. |
---|
| 102 | |
---|
| 103 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
| 104 | - rebuilt |
---|
| 105 | |
---|
| 106 | * Sun Aug 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1 |
---|
| 107 | - Update to 1.12. |
---|
| 108 | |
---|
| 109 | * Tue Jul 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.11-0.fdr.1 |
---|
| 110 | - Update to 1.11. |
---|
| 111 | - Bring up to date with current fedora.us Perl spec template. |
---|
| 112 | |
---|
| 113 | * Sun Apr 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.1 |
---|
| 114 | - Update to 1.10. |
---|
| 115 | - Reduce directory ownership bloat. |
---|
| 116 | - Require perl(:MODULE_COMPAT_*). |
---|
| 117 | |
---|
| 118 | * Fri Nov 28 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.09-0.fdr.1 |
---|
| 119 | - Update to 1.09. |
---|
| 120 | |
---|
| 121 | * Wed Oct 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.08-0.fdr.1 |
---|
| 122 | - Update to 1.08. |
---|
| 123 | |
---|
| 124 | * Tue Oct 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.1 |
---|
| 125 | - Update to 1.07. |
---|
| 126 | |
---|
| 127 | * Sun Sep 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.06-0.fdr.1 |
---|
| 128 | - Update to 1.06. |
---|
| 129 | - Specfile cleanups. |
---|
| 130 | |
---|
| 131 | * Sun Jun 8 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.05-0.fdr.1 |
---|
| 132 | - First build. |
---|