# # spec file for package perl-Archive-Zip (Version 1.30) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-Archive-Zip Url: http://cpan.org/modules/by-module/Archive/ BuildRequires: perl-Compress-Zlib zip Version: 1.30 Release: 1 Requires: perl = %{perl_version} AutoReqProv: on Group: Development/Libraries/Perl License: Artistic License .. 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 %prep %setup -n Archive-Zip-%{version} -q %build perl Makefile.PL make %check 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) %doc Changes MANIFEST README examples %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 %changelog