File perl-UNIVERSAL-require.spec of Package perl-UNIVERSAL-require
#
# spec file for package perl-UNIVERSAL-require (Version 0.11)
#
# Copyright (c) 2007 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://bugs.opensuse.org/
#
Name: perl-UNIVERSAL-require
Version: 0.11
Release: 1
%define modname UNIVERSAL-require
#
License: Artistic License, GPL v2 only
Group: Development/Libraries/Perl
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
Requires: perl = %{perl_version}
#
Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/UNIVERSAL-require-0.11.tar.gz
URL: http://search.cpan.org/~mschwern/
#
Summary: UNIVERSAL::require - require() modules from a variable
%description
UNIVERSAL::require - require() modules from a variable
Authors:
--------
Michael G Schwern
%prep
%setup -q -n %{modname}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
/var/adm/perl-modules/%{name}
%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
* Mon Aug 20 2007 - mrueckert@suse.de
- initial package