File perl-Class-Autouse.spec of Package perl-Class-Autouse

# spec file for package perl-Class-Autouse
# Copyright (c) 2011 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

# norootforbuild

Name:           perl-Class-Autouse
BuildRequires:  perl-Carp-Assert
BuildRequires:  perl-macros
Version:        2.00
Release:        1
Summary:        Run-time class loading on first method call
Group:          Development/Libraries/Perl
License:        Artistic ; GPLv2+
AutoReqProv:    on
Source:         Class-Autouse-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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.

    Adam Kennedy

%setup -q -n Class-Autouse-%{version}

perl Makefile.PL
make %{?_smp_mflags}

make test

make DESTDIR=$RPM_BUILD_ROOT install_vendor


%doc %{_mandir}/man?/*
%doc Changes README