2012-05-22 17:58:54 +02:00
|
|
|
#
|
|
|
|
# spec file for package perl-List-AllUtils
|
|
|
|
#
|
2013-10-04 19:27:50 +02:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-05-22 17:58:54 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-02-17 15:28:42 +01:00
|
|
|
Name: perl-List-AllUtils
|
2013-11-25 11:39:55 +01:00
|
|
|
Version: 0.07
|
2011-02-17 15:28:42 +01:00
|
|
|
Release: 0
|
2013-10-04 19:27:50 +02:00
|
|
|
%define cpan_name List-AllUtils
|
2011-02-17 15:28:42 +01:00
|
|
|
Summary: Combines List::Util and List::MoreUtils in one bite-sized package
|
2013-10-04 19:27:50 +02:00
|
|
|
License: Artistic-2.0
|
2012-05-29 10:32:07 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2013-10-04 19:27:50 +02:00
|
|
|
Url: http://search.cpan.org/dist/List-AllUtils/
|
|
|
|
Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
2012-05-22 17:58:54 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-10-04 19:27:50 +02:00
|
|
|
BuildRequires: perl
|
2011-02-17 15:28:42 +01:00
|
|
|
BuildRequires: perl-macros
|
2013-10-04 19:27:50 +02:00
|
|
|
BuildRequires: perl(List::MoreUtils) >= 0.28
|
|
|
|
BuildRequires: perl(List::Util) >= 1.31
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
2013-11-25 11:39:55 +01:00
|
|
|
BuildRequires: perl(Test::Warnings)
|
2013-10-04 19:27:50 +02:00
|
|
|
#BuildRequires: perl(List::AllUtils)
|
|
|
|
Requires: perl(List::MoreUtils) >= 0.28
|
|
|
|
Requires: perl(List::Util) >= 1.31
|
|
|
|
%{perl_requires}
|
2011-02-17 15:28:42 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Are you sick of trying to remember whether a particular helper is defined
|
2013-10-04 19:27:50 +02:00
|
|
|
in 'List::Util' or 'List::MoreUtils'? I sure am. Now you don't have to
|
|
|
|
remember. This module will export all of the functions that either of those
|
|
|
|
two modules defines.
|
|
|
|
|
|
|
|
Note that all function documentation has been shamelessly copied from the
|
|
|
|
List::Util manpage and <List::MoreUtils>.
|
2011-02-17 15:28:42 +01:00
|
|
|
|
|
|
|
%prep
|
2013-10-04 19:27:50 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2011-02-17 15:28:42 +01:00
|
|
|
|
|
|
|
%build
|
2013-10-04 19:27:50 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2011-02-17 15:28:42 +01:00
|
|
|
|
|
|
|
%check
|
2013-10-04 19:27:50 +02:00
|
|
|
%{__make} test
|
2011-02-17 15:28:42 +01:00
|
|
|
|
2013-10-04 19:27:50 +02:00
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
2011-02-17 15:28:42 +01:00
|
|
|
|
2013-10-04 19:27:50 +02:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes LICENSE README
|
2011-02-17 15:28:42 +01:00
|
|
|
|
2012-05-22 17:58:54 +02:00
|
|
|
%changelog
|