]> git.pld-linux.org Git - packages/perl-Params-Util.git/blob - perl-Params-Util.spec
rebuild with perl 5.32
[packages/perl-Params-Util.git] / perl-Params-Util.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Params
6 %define pnam    Util
7 Summary:        Params::Util - Simple standalone param-checking functions
8 Summary(pl.UTF-8):      Params::Util - proste samodzielne funkcje do sprawdzania parametrów
9 Name:           perl-Params-Util
10 Version:        1.07
11 Release:        12
12 # same as perl
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
20 %if %{with tests}
21 BuildRequires:  perl(File::Spec) >= 0.80
22 BuildRequires:  perl(Scalar::Util) >= 1.18
23 BuildRequires:  perl-Test-Simple >= 0.42
24 %endif
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)
29
30 %description
31 Params::Util provides a basic set of importable functions that makes
32 checking parameters a hell of a lot easier.
33
34 The functions provided by Params::Util check in the most strictly
35 correct manner, and in should not be fooled by odd cases.
36
37 %description -l pl.UTF-8
38 Params::Util udostępnia podstawowy zestaw importowalnych funkcji
39 znacznie ułatwiających sprawdzanie parametrów.
40
41 Funkcje dostarczane przez Params::Util sprawdzają poprawność w
42 najbardziej ścisły sposób i nie powinny dać się ogłupić przez
43 nietypowe przypadki.
44
45 %prep
46 %setup -q -n %{pdir}-%{pnam}-%{version}
47
48 %build
49 %{__perl} Makefile.PL \
50         INSTALLDIRS=vendor
51 %{__make}
52
53 %{?with_tests:%{__make} test}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc Changes README
67 %{perl_vendorarch}/Params/Util.pm
68 %attr(755,root,root) %{perl_vendorarch}/auto/Params/Util/Util.so
69 %{_mandir}/man3/Params::Util.3pm*
This page took 0.093905 seconds and 3 git commands to generate.