%global pkg_name Class-Autouse %global pkg_version 1.29 %global rpm_pkg_version 1.29 %global rpm_pkg_release 1.n0i.10 Summary: Run-time class loading on first method call Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(List::Util) >= 1.19 Requires: perl(List::Util) >= 1.19 %global perl_filter_req 'perl\\(List::Util\\)$' %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. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes LICENSE README %changelog * Wed Nov 14 2007 Marius Feraru - 1.29-1.n0i.10 - version 1.29 - spec update (new reb00t build tools) - BR update * Wed Aug 01 2007 Marius Feraru - 1.28-1.n0i.9 - version 1.28 * Tue May 22 2007 Marius Feraru - 1.27-1.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 1.27 * Fri Apr 14 2006 Marius Feraru - 1.26-1.n0i.7 - version 1.26 * Sat Apr 08 2006 Marius Feraru - 1.25-1.n0i.6 - version 1.25 * Fri Feb 03 2006 Marius Feraru - 1.24-1.n0i.5 - version 1.24 * Thu Oct 06 2005 Marius Feraru 1.21-1.n0i.4 - version 1.21 * Tue Aug 30 2005 Marius Feraru 1.20-1.n0i.3 - version 1.20 * Wed Aug 03 2005 Marius FERARU 1.18-1.n0i.2 - version 1.18 * Thu Jul 28 2005 Marius Feraru 1.17-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7