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