SPECS (RA-branch): perl-Archive-Zip.spec - merged version 1.14 fro...

hawk hawk at pld-linux.org
Fri Oct 28 09:25:03 CEST 2005


Author: hawk                         Date: Fri Oct 28 07:25:03 2005 GMT
Module: SPECS                         Tag: RA-branch
---- Log message:
- merged version 1.14 from HEAD
- release 2 for Ra

---- Files affected:
SPECS:
   perl-Archive-Zip.spec (1.21.2.3 -> 1.21.2.4) 

---- Diffs:

================================================================
Index: SPECS/perl-Archive-Zip.spec
diff -u SPECS/perl-Archive-Zip.spec:1.21.2.3 SPECS/perl-Archive-Zip.spec:1.21.2.4
--- SPECS/perl-Archive-Zip.spec:1.21.2.3	Tue Sep  9 13:11:56 2003
+++ SPECS/perl-Archive-Zip.spec	Fri Oct 28 09:24:57 2005
@@ -1,7 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without	tests	# do not perform "make test"
 #
 %include	/usr/lib/rpm/macros.perl
 %define		pdir	Archive
@@ -9,16 +9,18 @@
 Summary:	Archive::Zip - module for manipulation of ZIP archives
 Summary(pl):	Archive::Zip - moduł do manipulacji archiwami ZIP
 Name:		perl-Archive-Zip
-Version:	1.05
+Version:	1.14
 Release:	2
-License:	GPL/Artistic
+# same as perl
+License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires:	perl >= 5.6
-%if %{?_without_tests:0}%{!?_without_tests:1}
+# Source0-md5:	96b2caf19d5aea3adff02c323247e66a
+BuildRequires:	perl-devel >= 1:5.6.1
+%if %{with tests}
 BuildRequires:	perl-Compress-Zlib >= 1.14
 %endif
-BuildRequires:	rpm-perlprov >= 4.0.2-104
+BuildRequires:	rpm-perlprov >= 4.0.2-112.1
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -34,16 +36,18 @@
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-%{__perl} Makefile.PL
+%{__perl} Makefile.PL \
+	INSTALLDIRS=site
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -67,6 +71,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21.2.4  2005/10/28 07:24:57  hawk
+- merged version 1.14 from HEAD
+- release 2 for Ra
+
 Revision 1.21.2.3  2003/09/09 11:11:56  ankry
 - spaces -> tabs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Archive-Zip.spec?r1=1.21.2.3&r2=1.21.2.4&f=u




More information about the pld-cvs-commit mailing list