3 %bcond_without tests # do not perform "make test"
7 Summary: Params::Util - Simple standalone param-checking functions
8 Summary(pl.UTF-8): Params::Util - proste samodzielne funkcje do sprawdzania parametrów
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Params/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 02db120c0eef87aae1830cc62bdec37b
17 URL: https://metacpan.org/release/Params-Util
18 BuildRequires: perl-ExtUtils-CBuilder >= 0.27
19 BuildRequires: perl-ExtUtils-MakeMaker >= 6.52
21 BuildRequires: perl(File::Spec) >= 0.80
22 BuildRequires: perl(Scalar::Util) >= 1.18
23 BuildRequires: perl-Test-Simple >= 0.42
25 BuildRequires: perl-devel >= 1:5.8.0
26 BuildRequires: rpm-perlprov >= 4.1-13
27 BuildRequires: rpmbuild(macros) >= 1.745
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Params::Util provides a basic set of importable functions that makes
32 checking parameters a hell of a lot easier.
34 The functions provided by Params::Util check in the most strictly
35 correct manner, and in should not be fooled by odd cases.
37 %description -l pl.UTF-8
38 Params::Util udostępnia podstawowy zestaw importowalnych funkcji
39 znacznie ułatwiających sprawdzanie parametrów.
41 Funkcje dostarczane przez Params::Util sprawdzają poprawność w
42 najbardziej ścisły sposób i nie powinny dać się ogłupić przez
46 %setup -q -n %{pdir}-%{pnam}-%{version}
49 %{__perl} Makefile.PL \
53 %{?with_tests:%{__make} test}
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %{perl_vendorarch}/Params/Util.pm
68 %attr(755,root,root) %{perl_vendorarch}/auto/Params/Util/Util.so
69 %{_mandir}/man3/Params::Util.3pm*