forked from pool/perl-Class-Autouse
71 lines
1.7 KiB
RPMSpec
71 lines
1.7 KiB
RPMSpec
|
|
#
|
||
|
|
# spec file for package perl-Class-Autouse (Version 1.18)
|
||
|
|
#
|
||
|
|
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
|
# This file and all modifications and additions to the pristine
|
||
|
|
# package are under the same license as the package itself.
|
||
|
|
#
|
||
|
|
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||
|
|
#
|
||
|
|
|
||
|
|
# norootforbuild
|
||
|
|
|
||
|
|
Name: perl-Class-Autouse
|
||
|
|
BuildRequires: perl-Carp-Assert
|
||
|
|
Version: 1.18
|
||
|
|
Release: 3
|
||
|
|
Requires: perl = %{perl_version}
|
||
|
|
Autoreqprov: on
|
||
|
|
Group: Development/Libraries/Perl
|
||
|
|
License: GPL, Artistic License
|
||
|
|
Url: http://cpan.org/modules/by-module/Class/
|
||
|
|
Summary: Run-time class loading on first method call
|
||
|
|
Source: Class-Autouse-%{version}.tar.gz
|
||
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
|
||
|
|
%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
|
||
|
|
%setup -n Class-Autouse-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
perl Makefile.PL
|
||
|
|
make
|
||
|
|
make test
|
||
|
|
|
||
|
|
%install
|
||
|
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
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}
|
||
|
|
|
||
|
|
%changelog -n perl-Class-Autouse
|
||
|
|
* 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
|