forked from pool/perl-List-AllUtils
f1a39e8058
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-List-AllUtils?expand=0&rev=3
71 lines
2.2 KiB
RPMSpec
71 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package perl-List-AllUtils
|
|
#
|
|
# Copyright (c) 2012 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-List-AllUtils
|
|
Version: 0.02
|
|
Release: 0
|
|
Summary: Combines List::Util and List::MoreUtils in one bite-sized package
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
Group: Development/Libraries/Perl
|
|
Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-AllUtils-%{version}.tar.gz
|
|
Url: http://search.cpan.org/dist/List-AllUtils
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%{perl_requires}
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(List::MoreUtils) >= 0.22
|
|
BuildRequires: perl(List::Util) >= 1.19
|
|
BuildRequires: perl(Module::Build) >= 0.35
|
|
BuildRequires: perl(Test::More)
|
|
Requires: perl(List::MoreUtils) >= 0.22
|
|
Requires: perl(List::Util) >= 1.19
|
|
%if 0%{?suse_version} >= 1120
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
%description
|
|
Are you sick of trying to remember whether a particular helper is defined
|
|
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.
|
|
|
|
%prep
|
|
%setup -q -n "List-AllUtils-%{version}"
|
|
|
|
%build
|
|
%__perl ./Build.PL
|
|
./Build
|
|
|
|
%install
|
|
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
|
%perl_process_packlist
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%clean
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc Changes README
|
|
%dir %{perl_vendorlib}/List
|
|
%{perl_vendorlib}/List/AllUtils.pm
|
|
%doc %{perl_man3dir}/List::AllUtils.%{perl_man3ext}%{ext_man}
|
|
|
|
%changelog
|