1 | Summary: Perl library for accessing Zip archives |
---|
2 | Name: perl-Archive-Zip |
---|
3 | Version: 1.23 |
---|
4 | Release: 1%{_dist_release} |
---|
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 |
---|
67 | * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.23-1 |
---|
68 | - rebuilt with perl-5.10.0. |
---|
69 | |
---|
70 | * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.23-0vl1 |
---|
71 | - new upstream release |
---|
72 | |
---|
73 | * Sun Jul 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.20-0vl1 |
---|
74 | - new upstream release |
---|
75 | |
---|
76 | * Tue Dec 5 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.18-0vl1 |
---|
77 | - new upstream release |
---|
78 | - added BuildRequires: perl-File-Which |
---|
79 | - changed Group to Development/Libraries |
---|
80 | |
---|
81 | * Mon Sep 18 2006 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.16-0vl1 |
---|
82 | - rebuild for Vine 4.0 beta 2 |
---|
83 | |
---|
84 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> |
---|
85 | - sh: line 0: fg: no job control |
---|
86 | - rebuild |
---|
87 | |
---|
88 | * Fri Feb 03 2006 Jason Vas Dias<jvdias@redhat.com> - 1.16-1.2 |
---|
89 | - rebuilt for new perl-5.8.8 |
---|
90 | |
---|
91 | * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> |
---|
92 | - rebuilt for new gcc |
---|
93 | |
---|
94 | * Mon Jul 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.16-1 |
---|
95 | - Update to 1.16. |
---|
96 | |
---|
97 | * Thu Apr 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-1 |
---|
98 | - Update to 1.14. |
---|
99 | |
---|
100 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
101 | - rebuilt |
---|
102 | |
---|
103 | * Sun Aug 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1 |
---|
104 | - Update to 1.12. |
---|
105 | |
---|
106 | * Tue Jul 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.11-0.fdr.1 |
---|
107 | - Update to 1.11. |
---|
108 | - Bring up to date with current fedora.us Perl spec template. |
---|
109 | |
---|
110 | * Sun Apr 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.1 |
---|
111 | - Update to 1.10. |
---|
112 | - Reduce directory ownership bloat. |
---|
113 | - Require perl(:MODULE_COMPAT_*). |
---|
114 | |
---|
115 | * Fri Nov 28 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.09-0.fdr.1 |
---|
116 | - Update to 1.09. |
---|
117 | |
---|
118 | * Wed Oct 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.08-0.fdr.1 |
---|
119 | - Update to 1.08. |
---|
120 | |
---|
121 | * Tue Oct 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.1 |
---|
122 | - Update to 1.07. |
---|
123 | |
---|
124 | * Sun Sep 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.06-0.fdr.1 |
---|
125 | - Update to 1.06. |
---|
126 | - Specfile cleanups. |
---|
127 | |
---|
128 | * Sun Jun 8 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.05-0.fdr.1 |
---|
129 | - First build. |
---|