3 %bcond_without tests # do not perform "make test"
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
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)
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
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
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
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