]> git.pld-linux.org Git - packages/perl-Scalar-List-Utils.git/blob - perl-Scalar-List-Utils.spec
- updated to 1.62
[packages/perl-Scalar-List-Utils.git] / perl-Scalar-List-Utils.spec
1 #
2 # perl modules provided by this package are part of perl distribution (perl-Scalar-List-Utils subpackage)
3 # DO NOT send this package to Th builders if version is <= provided from perl.spec
4 #
5 # Conditional build:
6 %bcond_without  tests   # don't perform "make test"
7 #
8 %define         pdir    Scalar
9 %define         pnam    List-Utils
10 Summary:        List::Util and Scalar::Util - selection of general-utility scalar subroutines
11 Summary(pl.UTF-8):      List::Util i Scalar::Util - wybór procedur skalarnych ogólnego zastosowania
12 Name:           perl-Scalar-List-Utils
13 Version:        1.62
14 Release:        1
15 # same as perl
16 License:        GPL v1+ or Artistic
17 Group:          Development/Languages/Perl
18 Source0:        http://www.cpan.org/modules/by-module/Scalar/%{pdir}-%{pnam}-%{version}.tar.gz
19 # Source0-md5:  2e5186779360f938c8ec83030c7b5a03
20 URL:            https://metacpan.org/release/Scalar-List-Utils
21 BuildRequires:  perl-devel >= 1:5.8.0
22 BuildRequires:  rpm-perlprov >= 4.1-13
23 BuildRequires:  rpmbuild(macros) >= 1.745
24 #BuildRequires: th-blocker, not for ftp
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This package contains a selection of subroutines that people have
29 expressed would be nice to have in the perl core, but the usage would
30 not really be high enough to warrant the use of a keyword, and the
31 size so small such that being individual extensions would be wasteful.
32
33 %description -l pl.UTF-8
34 Ten pakiet zawiera wybrane procedury, które według niektórych ludzi
35 powinny znaleźć się w głównym pakiecie Perla, ale użyteczność nie jest
36 zbyt duża, a rozmiar za mały na tworzenie oddzielnych rozszerzeń.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL -xs \
43         INSTALLDIRS=vendor
44 %{__make} \
45         CC="%{__cc}" \
46         OPTIMIZE="%{rpmcflags}"
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc Changes README
62 %dir %{perl_vendorarch}/List
63 %{perl_vendorarch}/List/Util.pm
64 %dir %{perl_vendorarch}/List/Util
65 %{perl_vendorarch}/List/Util/*.pm
66 %dir %{perl_vendorarch}/Scalar
67 %{perl_vendorarch}/Scalar/Util.pm
68 %dir %{perl_vendorarch}/Sub
69 %{perl_vendorarch}/Sub/Util.pm
70 %dir %{perl_vendorarch}/auto/List
71 %dir %{perl_vendorarch}/auto/List/Util
72 %attr(755,root,root) %{perl_vendorarch}/auto/List/Util/Util.so
73 %{_mandir}/man3/List::Util*.3pm*
74 %{_mandir}/man3/Scalar::Util.3pm*
75 %{_mandir}/man3/Sub::Util.3pm*
This page took 0.096203 seconds and 4 git commands to generate.