]> git.pld-linux.org Git - SPECS.git/blob - perl-B-Size.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / perl-B-Size.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    B
6 %define         pnam    Size
7 Summary:        B::Size, B::TerseSize - tools to measure size of Perl OPs and [SAV]Vs
8 Summary(pl.UTF-8):      B::Size, B::TerseSize - narzędzia do określania rozmiaru perlowych OP i [SAV]V
9 Name:           perl-B-Size
10 Version:        0.09
11 Release:        3
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/B/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  ee8bfb21beccf70621b4750b779795a6
17 URL:            http://search.cpan.org/dist/B-Size/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 The B::Size and B::TerseSize modules attempt to measure the size of
24 Perl op codes. The output of B::TerseSize is similar to that of
25 B::Terse, but includes the size of each OP in the tree and the PADLIST
26 (subroutine lexical variables). The module can be run just as other
27 compiler backends or used via Apache::Status (version 2.02 and
28 higher).
29
30 %description -l pl.UTF-8
31 Moduły B::Size i B::TerseSize próbują określić rozmiar perlowych
32 opkodów. Wyjście B::TerseSize jest podobne do wyjścia B::Terse, ale
33 zawiera rozmiar każdego OP w drzewie oraz PADLIST (leksykalne zmienne
34 procedur). Moduł może być uruchamiany tak jak inne backendy
35 kompilatora lub używany poprzez Apache::Status (w wersji 2.02 lub
36 wyższej).
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %{perl_vendorarch}/B/*.pm
60 %dir %{perl_vendorarch}/auto/B
61 %dir %{perl_vendorarch}/auto/B/Size
62 %attr(755,root,root) %{perl_vendorarch}/auto/B/Size/*.so
63 %{_mandir}/man3/*
This page took 0.194376 seconds and 3 git commands to generate.