]> git.pld-linux.org Git - packages/perl-Test-ManyParams.git/blame - perl-Test-ManyParams.spec
use generic url
[packages/perl-Test-ManyParams.git] / perl-Test-ManyParams.spec
CommitLineData
76c18aac 1#
2# Conditional build:
bf45f463 3%bcond_without tests # do not perform "make test"
d567f8f0 4
294018d2 5%define pdir Test
6%define pnam ManyParams
d567f8f0 7%include /usr/lib/rpm/macros.perl
76c18aac 8Summary: Test::ManyParams - module to test many params as one test
053e6b9e 9Summary(pl.UTF-8): Test::ManyParams - moduł do testowania wielu parametrów podczas jednego testu
76c18aac 10Name: perl-Test-ManyParams
3b4267af 11Version: 0.10
c95d78e8 12Release: 3
2f49c52d 13# same as perl
14License: GPL v1+ or Artistic
76c18aac 15Group: Development/Languages/Perl
be79b3fa 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
3b4267af 17# Source0-md5: ba8534916c50206985beda77720c671b
d567f8f0 18URL: http://search.cpan.org/dist/Test-ManyParams/
c0dd1cbd 19BuildRequires: perl-devel >= 1:5.8.0
d567f8f0 20BuildRequires: rpm-perlprov >= 4.1-13
bf45f463 21%if %{with tests}
daa4a75d 22BuildRequires: perl-Readonly
16bb09b2
JB
23BuildRequires: perl-Set-CrossProduct
24BuildRequires: perl-Test-Builder-Tester
3b4267af 25BuildRequires: perl-Test-Differences
76c18aac 26BuildRequires: perl-Test-Exception
27BuildRequires: perl-Test-Simple
76c18aac 28%endif
29BuildArch: noarch
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
16bb09b2
JB
33This module helps to tests many parameters at once. In general, it
34calls the given subroutine with every combination of the given
35parameter values. The combinations are created with building a cross
36product.
76c18aac 37
742c2f47
JR
38%description -l pl.UTF-8
39Ten moduł jest pomocny przy testowania wielu parametrów naraz.
40Ogólnie, wywołuje on podaną funkcję we wszystkich kombinacjach
41podanych wartości parametrów. Kombinacje są tworzone poprzez iloczyn
42kartezjański.
76c18aac 43
44%prep
45%setup -q -n %{pdir}-%{pnam}-%{version}
46
47%build
9c8992ce 48%{__perl} Makefile.PL \
8a9de3be 49 INSTALLDIRS=vendor
76c18aac 50%{__make}
16bb09b2 51
bf45f463 52%{?with_tests:%{__make} test}
76c18aac 53
54%install
55rm -rf $RPM_BUILD_ROOT
56
bf45f463 57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
76c18aac 59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
9c8992ce 65%{perl_vendorlib}/%{pdir}/*.pm
76c18aac 66%{_mandir}/man3/*
This page took 0.122447 seconds and 4 git commands to generate.