3 %bcond_without tests # do not perform "make test"
6 %define pnam ManyParams
7 Summary: Test::ManyParams - module to test many params as one test
8 Summary(pl.UTF-8): Test::ManyParams - moduł do testowania wielu parametrów podczas jednego testu
9 Name: perl-Test-ManyParams
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: ba8534916c50206985beda77720c671b
17 URL: http://search.cpan.org/dist/Test-ManyParams/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Readonly
22 BuildRequires: perl-Set-CrossProduct
23 BuildRequires: perl-Test-Builder-Tester
24 BuildRequires: perl-Test-Differences
25 BuildRequires: perl-Test-Exception
26 BuildRequires: perl-Test-Simple
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 This module helps to tests many parameters at once. In general, it
33 calls the given subroutine with every combination of the given
34 parameter values. The combinations are created with building a cross
37 %description -l pl.UTF-8
38 Ten moduł jest pomocny przy testowania wielu parametrów naraz.
39 Ogólnie, wywołuje on podaną funkcję we wszystkich kombinacjach
40 podanych wartości parametrów. Kombinacje są tworzone poprzez iloczyn
44 %setup -q -n %{pdir}-%{pnam}-%{version}
47 %{__perl} Makefile.PL \
51 %{?with_tests:%{__make} test}
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %{perl_vendorlib}/%{pdir}/*.pm