2007-01-15 23:29:56 +00:00
|
|
|
#
|
2007-12-14 16:20:36 +00:00
|
|
|
# spec file for package perl-Class-Autouse (Version 1.29)
|
2007-01-15 23:29:56 +00:00
|
|
|
#
|
2007-12-14 16:20:36 +00:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:29:56 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
2007-12-14 16:20:36 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:29:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2007-12-14 16:20:36 +00:00
|
|
|
Name: perl-Class-Autouse
|
|
|
|
BuildRequires: perl-Carp-Assert
|
|
|
|
Version: 1.29
|
|
|
|
Release: 1
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Artistic License; GPL v2 or later
|
|
|
|
Url: http://cpan.org/modules/by-module/Class/
|
|
|
|
Summary: Run-time class loading on first method call
|
|
|
|
Source: Class-Autouse-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:29:56 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Class::Autouse allows you to specify a class the will only load when a
|
|
|
|
method of that class is called. For large classes that might not be
|
|
|
|
used during the running of a program, such as Date::Manip, this can
|
|
|
|
save you large amounts of memory, and decrease the script load time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Adam Kennedy
|
|
|
|
|
|
|
|
%prep
|
2007-12-14 16:20:36 +00:00
|
|
|
%setup -q -n Class-Autouse-%{version}
|
2007-01-15 23:29:56 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
2007-12-14 16:20:36 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:29:56 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/Class
|
|
|
|
%{perl_vendorarch}/auto/Class
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2007-12-14 16:20:36 +00:00
|
|
|
%changelog
|
|
|
|
* Fri Dec 14 2007 - anicka@suse.cz
|
|
|
|
- update to 1.29
|
|
|
|
* Debugging change in 1.25 regressed an undocumented 5.6-related
|
|
|
|
bug first fixed in 1.20.
|
|
|
|
* Expands the can hook to also hook isa
|
|
|
|
* Added t/05_base.t to try and chase down base.pm bug
|
|
|
|
* Documenting ->autouse(@classes)
|
|
|
|
* Tidying up the POD a little to refer to features
|
|
|
|
in an order much more relevant to the reader.
|
|
|
|
* Catch and rethrow all error when autoloading during a ->can.
|
|
|
|
* Debugging can now only be done at compile time, and thus is
|
|
|
|
optimised out. The :debug flag is removed and instead you need
|
2007-01-15 23:29:56 +00:00
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Wed Sep 28 2005 - dmueller@suse.de
|
|
|
|
- add norootforbuild
|
|
|
|
* Fri Jul 29 2005 - cthiel@suse.de
|
|
|
|
- update to version 1.18
|
|
|
|
* Tue May 31 2005 - ro@suse.de
|
|
|
|
- created package, version 1.17
|