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