]> git.pld-linux.org Git - SPECS.git/blob - perl-Devel-Leak.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Devel-Leak.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Devel
6 %define         pnam    Leak
7 Summary:        Devel::Leak - utility for looking for Perl objects that are not reclaimed
8 Summary(pl.UTF-8):      Devel::Leak - narzędzie do wyszukiwania niezwolnionych obiektów Perla 
9 Name:           perl-Devel-Leak
10 Version:        0.03
11 Release:        15
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Devel/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  9ee2cf88bd1dbc6091e38ef4597b54bb
17 URL:            https://metacpan.org/release/Devel-Leak
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRequires:  rpmbuild(macros) >= 1.745
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Devel::Leak is a utility for looking for Perl objects that are not
25 reclaimed.
26
27 %description -l pl.UTF-8
28 Devel::Leak jest narzędziem służącym do wyszukiwania niezwolnionych
29 obiektów Perla.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make} \
38         CC="%{__cc}" \
39         OPTIMIZE="%{rpmcflags}"
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 %doc README
55 %{perl_vendorarch}/Devel/Leak.pm
56 %dir %{perl_vendorarch}/auto/Devel/Leak
57 %attr(755,root,root) %{perl_vendorarch}/auto/Devel/Leak/Leak.so
58 %{_mandir}/man3/Devel::Leak.3pm*
This page took 0.712784 seconds and 3 git commands to generate.