]> git.pld-linux.org Git - packages/perl-List-AllUtils.git/blame - perl-List-AllUtils.spec
- up to 0.15
[packages/perl-List-AllUtils.git] / perl-List-AllUtils.spec
CommitLineData
34cc5b7e
JB
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
f3296b02
JB
8Summary: List::AllUtils - combines List::Util, List::SomeUtils and List::UtilsBy in one bite-sized package
9Summary(pl.UTF-8): List::AllUtils - połączenie List::Util, List::SomeUtils oraz List::UtilsBy jednym bałym pakiecie
34cc5b7e 10Name: perl-List-AllUtils
49fc63ee 11Version: 0.15
34cc5b7e
JB
12Release: 1
13License: Artistic v2.0
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/List/%{pdir}-%{pnam}-%{version}.tar.gz
49fc63ee 16# Source0-md5: df17b5e9dbef488c72836298e2da221b
34cc5b7e
JB
17URL: http://search.cpan.org/dist/List-AllUtils/
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
f3296b02
JB
21BuildRequires: perl-List-SomeUtils >= 0.50
22BuildRequires: perl-List-UtilsBy >= 0.10
23BuildRequires: perl-Scalar-List-Utils >= 1.45
24BuildRequires: perl-Test-Simple >= 0.96
34cc5b7e
JB
25%endif
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Are you sick of trying to remember whether a particular helper is
f3296b02
JB
31defined in List::Util, List::SomeUtils or List::UtilsBy? I sure am.
32Now you don't have to remember. This module will export all of the
33functions that either of those three modules defines.
34cc5b7e
JB
34
35%description -l pl.UTF-8
36Jesteś zmęczony pamiętaniem, czy jakaś funkcja pomocnicza jest
f3296b02
JB
37zdefiniowana w List::Util, List::SomeUtils czy List::UtilsBy? Ja tak.
38Teraz nie musisz pamiętać. Ten moduł eksportuje wszystkie funkcje
39definiowane przez dowolny z tych trzech modułów.
34cc5b7e
JB
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
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} pure_install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -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.037243 seconds and 4 git commands to generate.