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