3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: List::AllUtils - combines List::Util and List::MoreUtils in one bite-sized package
9 Summary(pl.UTF-8): List::AllUtils - połączenie List::Util oraz List::MoreUtils w jednym bałym pakiecie
10 Name: perl-List-AllUtils
13 License: Artistic v2.0
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/List/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 3e2dfeeef80c4e1952443c6b7d48583c
17 URL: http://search.cpan.org/dist/List-AllUtils/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-List-MoreUtils >= 0.28
22 BuildRequires: perl-Scalar-List-Utils >= 1.31
23 BuildRequires: perl-Test-Simple >= 0.88
24 BuildRequires: perl-Test-Warnings
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Are you sick of trying to remember whether a particular helper is
31 defined in List::Util or List::MoreUtils? I sure am. Now you
32 don't have to remember. This module will export all of the functions
33 that either of those two modules defines.
35 %description -l pl.UTF-8
36 Jesteś zmęczony pamiętaniem, czy jakaś funkcja pomocnicza jest
37 zdefiniowana w List::Util, czy List::MoreUtils? Ja tak. Teraz nie
38 musisz pamiętać. Ten moduł eksportuje wszystkie funkcje definiowane
39 przez dowolny z tych dwóch modułów.
42 %setup -q -n %{pdir}-%{pnam}-%{version}
45 %{__perl} Makefile.PL \
49 %{?with_tests:%{__make} test}
52 rm -rf $RPM_BUILD_ROOT
54 %{__make} pure_install \
55 DESTDIR=$RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %{perl_vendorlib}/List/AllUtils.pm
64 %{_mandir}/man3/List::AllUtils.3pm*