2006-12-20 18:19:48 +01:00
|
|
|
#
|
2009-08-06 17:05:41 +02:00
|
|
|
# spec file for package perl-Archive-Zip (Version 1.30)
|
2006-12-20 18:19:48 +01:00
|
|
|
#
|
2009-01-22 13:13:30 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-20 18:19:48 +01:00
|
|
|
#
|
2008-09-12 18:07:19 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-20 18:19:48 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-09-12 18:07:19 +02:00
|
|
|
|
2006-12-20 18:19:48 +01:00
|
|
|
Name: perl-Archive-Zip
|
2007-11-02 01:35:33 +01:00
|
|
|
Url: http://cpan.org/modules/by-module/Archive/
|
2007-06-11 15:07:46 +02:00
|
|
|
BuildRequires: perl-Compress-Zlib zip
|
2009-08-06 17:05:41 +02:00
|
|
|
Version: 1.30
|
2007-06-11 15:07:46 +02:00
|
|
|
Release: 1
|
2006-12-20 18:19:48 +01:00
|
|
|
Requires: perl = %{perl_version}
|
2007-11-02 01:35:33 +01:00
|
|
|
AutoReqProv: on
|
2006-12-20 18:19:48 +01:00
|
|
|
Group: Development/Libraries/Perl
|
2009-08-06 17:05:41 +02:00
|
|
|
License: Artistic License ..
|
2006-12-20 18:19:48 +01:00
|
|
|
Summary: perl-Archive-Zip
|
|
|
|
Source: Archive-Zip-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Perl module for creation and manipulation of ZIP-files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Ned Kon <zperl@bike-nomad.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n Archive-Zip-%{version} -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
2007-06-11 15:07:46 +02:00
|
|
|
|
|
|
|
%check
|
2006-12-20 18:19:48 +01:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Archive/Zip.pod
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-11-02 01:35:33 +01:00
|
|
|
%doc Changes MANIFEST README examples
|
2006-12-20 18:19:48 +01:00
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%dir %{perl_vendorlib}/Archive
|
|
|
|
%{perl_vendorlib}/Archive/Zip
|
|
|
|
%{perl_vendorlib}/Archive/Zip.pm
|
|
|
|
%dir %{perl_vendorarch}/auto/Archive
|
|
|
|
%{perl_vendorarch}/auto/Archive/Zip
|
|
|
|
/usr/bin/crc32
|
|
|
|
/var/adm/perl-modules/perl-Archive-Zip
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
2008-09-12 18:07:19 +02:00
|
|
|
|
2007-06-11 15:07:46 +02:00
|
|
|
%changelog
|