2006-12-20 18:19:48 +01:00
|
|
|
#
|
2008-09-12 18:07:19 +02:00
|
|
|
# spec file for package perl-Archive-Zip (Version 1.24)
|
2006-12-20 18:19:48 +01:00
|
|
|
#
|
2008-09-12 18:07:19 +02:00
|
|
|
# Copyright (c) 2008 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
|
2008-09-12 18:07:19 +02:00
|
|
|
Version: 1.24
|
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
|
|
|
|
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 <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
|
2008-09-12 18:07:19 +02:00
|
|
|
* Wed Sep 10 2008 anicka@suse.cz
|
|
|
|
- update to 1.24
|
|
|
|
* Blatantly pander to CPANTS by adding use strict to a deprecated
|
|
|
|
module
|
|
|
|
* Add an explicit load of FileHandle since in some circumstances,
|
|
|
|
calling GLOB->print() failed.
|
|
|
|
* bugfixes
|
|
|
|
* Fri Nov 09 2007 anicka@suse.cz
|
2007-11-12 21:57:45 +01:00
|
|
|
- update to 1.23
|
|
|
|
* Temporarily skilling some failing tests on Win32 in the
|
|
|
|
interests of toolchain sanity. (until we work out the
|
|
|
|
real problem here)
|
|
|
|
* Fixing platform compatibility bugs in the new regression tests
|
|
|
|
from 1.21.
|
2008-09-12 18:07:19 +02:00
|
|
|
* Thu Nov 01 2007 anicka@suse.cz
|
2007-11-02 01:35:33 +01:00
|
|
|
- update to 1.21
|
|
|
|
* Tidying up copyright formatting a bit.
|
|
|
|
* Disable the GPBF_HAS_DATA_DESCRIPTOR_MASK bit when
|
|
|
|
auto-switching directory storage to STORED
|
|
|
|
* bugfixes, test fixes
|
2008-09-12 18:07:19 +02:00
|
|
|
* Mon Jun 11 2007 anicka@suse.cz
|
2007-06-11 15:07:46 +02:00
|
|
|
- update to 1.20
|
|
|
|
* Removing dependency on File::Which due to public outburst
|
|
|
|
of flaming
|
|
|
|
* Embedding an entire copy of File::Which inside the tests
|
|
|
|
instead as an alternative to compensating for the lack
|
|
|
|
of build_requires.
|
|
|
|
* Removing the docs directory.
|
|
|
|
- remove perl-File-Which from BuildRequires
|
2008-09-12 18:07:19 +02:00
|
|
|
* Wed Dec 20 2006 anicka@suse.cz
|
2006-12-20 18:19:48 +01:00
|
|
|
- add perl-File-Which to BuildRequires and enable tests again
|
2008-09-12 18:07:19 +02:00
|
|
|
* Thu Dec 14 2006 anicka@suse.cz
|
2006-12-20 18:19:48 +01:00
|
|
|
- update to 1.18
|
|
|
|
* Seperated the classes from the main file into seperate packages.
|
|
|
|
* Merged the Zip.pod into the main Zip.pm file.
|
|
|
|
* Applied default Perl::Tidy to all of the source files,
|
|
|
|
to improve the readability and maintainability of the files.
|
|
|
|
* Added license in Makefile.PL
|
|
|
|
* Added some additional entries to the realclean files
|
|
|
|
* Adding dependency on File::Which to deal with problems on systems
|
|
|
|
that lack zip and unzip programs. This really should
|
|
|
|
be a build-time dependency only, but ExtUtils::MakeMaker lacks
|
|
|
|
that capability.
|
|
|
|
* Upgraded all test scripts from Test.pm to Test::More
|
|
|
|
(removing Test.pm dependency)
|
|
|
|
* Removed MANIFEST and pod.t from repository
|
|
|
|
(will be auto-generated)
|
|
|
|
* Added SUPPORT section to docs
|
|
|
|
* Merged external TODO file into the POD as a more-common
|
|
|
|
TO DO section
|
|
|
|
* Added a BUGS section to the docs
|
|
|
|
* Moved crc32 to bin/crc32 in line with package layout conventions
|
|
|
|
- disable tests because they depend on File::Which
|
2008-09-12 18:07:19 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-09-12 18:07:19 +02:00
|
|
|
* Mon Jul 11 2005 schubi@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- update to version 1.16
|
2008-09-12 18:07:19 +02:00
|
|
|
* Fri Apr 15 2005 schubi@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- update to most recent version 1.14
|
2008-09-12 18:07:19 +02:00
|
|
|
* Thu Feb 26 2004 choeger@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- update to most recent version 1.09
|
2008-09-12 18:07:19 +02:00
|
|
|
* Sun Jan 11 2004 adrian@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- build as user
|
2008-09-12 18:07:19 +02:00
|
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
2006-12-20 18:19:48 +01:00
|
|
|
- require the perl version we build with
|
2008-09-12 18:07:19 +02:00
|
|
|
* Thu Jul 17 2003 choeger@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- use install_vendor and new %%perl_process_packlist macro
|
2008-09-12 18:07:19 +02:00
|
|
|
* Tue Jun 17 2003 choeger@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- updated filelist
|
2008-09-12 18:07:19 +02:00
|
|
|
* Mon May 26 2003 ro@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- remove unpackaged files from buildroot
|
2008-09-12 18:07:19 +02:00
|
|
|
* Sat Feb 08 2003 link@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- updated to 1.05
|
2008-09-12 18:07:19 +02:00
|
|
|
* Sat Jul 13 2002 link@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- some tweaks of the spec file
|
2008-09-12 18:07:19 +02:00
|
|
|
* Fri Jul 12 2002 link@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- updated to 1.01
|
2008-09-12 18:07:19 +02:00
|
|
|
* Wed May 08 2002 link@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- updated to 1.00
|
2008-09-12 18:07:19 +02:00
|
|
|
* Thu Aug 16 2001 ro@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- removed bogus Obsoletes
|
2008-09-12 18:07:19 +02:00
|
|
|
* Fri Apr 06 2001 link@suse.de
|
2006-12-20 18:19:48 +01:00
|
|
|
- first package, v0.11
|