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