]> git.pld-linux.org Git - packages/perl-Want.git/blame - perl-Want.spec
rebuild with perl 5.32
[packages/perl-Want.git] / perl-Want.spec
CommitLineData
e09492a7 1#
2# Conditional build:
64ae0399 3%bcond_without tests # do not perform "make test"
4#
cdb72115 5%define pdir Want
3f93b4c5 6Summary: Want - a generalisation of "wantarray"
d84ea718 7Summary(pl.UTF-8): Want - uogólnienie funkcji wantarray()
e09492a7 8Name: perl-Want
86e4509e 9Version: 0.29
891369fb 10Release: 6
f35538bb 11# same as perl
12License: GPL v1+ or Artistic
e09492a7 13Group: Development/Languages/Perl
f536b4b9 14Source0: http://www.cpan.org/modules/by-authors/id/R/RO/ROBIN/%{pdir}-%{version}.tar.gz
86e4509e 15# Source0-md5: 33b2dae5db59781b9a0434fa1db04aab
228ede66 16URL: http://search.cpan.org/dist/Want/
abf5ed9d 17BuildRequires: perl-devel >= 1:5.8.0
f5334d4c 18BuildRequires: rpm-perlprov >= 4.1-13
e09492a7 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%define _noautoreq 'perl(v5.6)'
22
23%description
1a1a2b69 24This module generalises the mechanism of the wantarray function,
25allowing a function to determine in some detail how its return value
26is going to be immediately used.
e09492a7 27
c4514425 28%description -l pl.UTF-8
d00e3fe6
ŁK
29Ten moduł generalizuje mechanizm funkcji wantarray, pozwalając
30funkcjom na określenie niektórych szczegółów tego, w jaki sposób
31używane będą zwracane przez nie wartości.
e09492a7 32
33%prep
34%setup -q -n %{pdir}-%{version}
35
36%build
f5334d4c 37%{__perl} Makefile.PL \
11fe788b 38 INSTALLDIRS=vendor
e09492a7 39%{__make}
40
64ae0399 41%{?with_tests:%{__make} test}
e09492a7 42
43%install
44rm -rf $RPM_BUILD_ROOT
45
64ae0399 46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
e09492a7 48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
f5334d4c 54%{perl_vendorarch}/*.pm
55%dir %{perl_vendorarch}/auto/Want
f5334d4c 56%attr(755,root,root) %{perl_vendorarch}/auto/Want/*.so
e09492a7 57%{_mandir}/man3/*
This page took 0.097453 seconds and 4 git commands to generate.