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