File perl-List-MoreUtils.spec of Package perl-List-MoreUtils

#
# spec file for package perl-List-MoreUtils (Version 0.22)
#
# 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-List-MoreUtils
Version:        0.22
Release:        1
%define modname List-MoreUtils
#
License:        Artistic License, GPL v2 only
Group:          Development/Libraries/Perl
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
Requires:       perl = %{perl_version}
#
URL:            http://search.cpan.org/~vparseval/
Source:         http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/List-MoreUtils-0.22.tar.gz
Summary:        Provide the missing functionality from List::Util

%description
List::MoreUtils provides some trivial but commonly needed functionality
on lists which is not going to go into List::Util.



Authors:
--------
    Tassilo von Parseval, <tassilo.von.parseval@rwth-aachen.de>

%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)
%doc README
/var/adm/perl-modules/%{name}
%dir %{perl_vendorarch}/List/
%{perl_vendorarch}/List/MoreUtils.pm
%dir %{perl_vendorarch}/auto/List/
%{perl_vendorarch}/auto/List/MoreUtils/
%{_mandir}/man3/List::MoreUtils.3pm*

%changelog
* Mon Aug 20 2007 - mrueckert@suse.de
- initial package
openSUSE Build Service is sponsored by