]> git.pld-linux.org Git - packages/perl-List-AllUtils.git/blob - perl-List-AllUtils.spec
d5116034d100cb309df0e45821207a15acf86218
[packages/perl-List-AllUtils.git] / perl-List-AllUtils.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    List
6 %define         pnam    AllUtils
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        List::AllUtils - combines List::Util, List::SomeUtils and List::UtilsBy in one bite-sized package
9 Summary(pl.UTF-8):      List::AllUtils - połączenie List::Util, List::SomeUtils oraz List::UtilsBy jednym bałym pakiecie
10 Name:           perl-List-AllUtils
11 Version:        0.12
12 Release:        1
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:  8803c2beaccaf5b042efd4399ed107e5
17 URL:            http://search.cpan.org/dist/List-AllUtils/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-List-SomeUtils >= 0.50
22 BuildRequires:  perl-List-UtilsBy >= 0.10
23 BuildRequires:  perl-Scalar-List-Utils >= 1.45
24 BuildRequires:  perl-Test-Simple >= 0.96
25 %endif
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Are you sick of trying to remember whether a particular helper is
31 defined in List::Util, List::SomeUtils or List::UtilsBy? I sure am.
32 Now you don't have to remember. This module will export all of the
33 functions that either of those three modules defines.
34
35 %description -l pl.UTF-8
36 Jesteś zmęczony pamiętaniem, czy jakaś funkcja pomocnicza jest
37 zdefiniowana w List::Util, List::SomeUtils czy List::UtilsBy? Ja tak.
38 Teraz nie musisz pamiętać. Ten moduł eksportuje wszystkie funkcje
39 definiowane przez dowolny z tych trzech modułów.
40
41 %prep
42 %setup -q -n %{pdir}-%{pnam}-%{version}
43
44 %build
45 %{__perl} Makefile.PL \
46         INSTALLDIRS=vendor
47 %{__make}
48
49 %{?with_tests:%{__make} test}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} pure_install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc Changes
63 %{perl_vendorlib}/List/AllUtils.pm
64 %{_mandir}/man3/List::AllUtils.3pm*
This page took 0.041488 seconds and 2 git commands to generate.