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