File perl-UNIVERSAL-require.spec of Package perl-UNIVERSAL-require

#
# spec file for package perl-UNIVERSAL-require (Version 0.11)
#
# Copyright (c) 2010 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 http://bugs.opensuse.org/
#



Name:           perl-UNIVERSAL-require
Version:        0.11
Release:        79
%define modname UNIVERSAL-require
License:        Artistic ; GPLv2
Group:          Development/Libraries/Perl
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        UNIVERSAL::require - require() modules from a variable
Source:         http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/UNIVERSAL-require-0.11.tar.gz
BuildRequires:  perl
BuildRequires:  perl-macros
Url:            http://search.cpan.org/~mschwern/
%{perl_requires}

%description
UNIVERSAL::require - require() modules from a variable

%prep
%setup -q -n %{modname}-%{version}

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make %{?_smp_mflags}

%check
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root)
%dir %{perl_vendorlib}/UNIVERSAL/
%{perl_vendorlib}/UNIVERSAL/require.pm
%dir %{perl_vendorarch}/auto/UNIVERSAL/
%{perl_vendorarch}/auto/UNIVERSAL/require/
%{_mandir}/man3/UNIVERSAL::require.3pm*

%changelog
openSUSE Build Service is sponsored by