3 %bcond_without tests # do not perform "make test"
6 Summary: PadWalker - play with other peoples' lexical variables
7 Summary(pl.UTF-8): PadWalker - igranie z cudzymi zmiennymi leksykalnymi
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: f3f1e06c0385aab80353176a414f02b2
16 URL: https://metacpan.org/release/PadWalker
17 BuildRequires: perl-ExtUtils-MakeMaker
18 BuildRequires: perl-devel >= 1:5.8.1
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: rpmbuild(macros) >= 1.745
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 PadWalker is a Perl module which allows you to inspect (and even
25 change!) lexical variables in any subroutine which called you. It will
26 only show those variables which are in scope at the point of the call.
28 %description -l pl.UTF-8
29 PadWalker jest modułem Perla umożliwiającym przeglądanie (a nawet
30 modyfikacje!) zmiennych leksykalnych w dowolnej wywołanej funkcji.
31 Pokazuje on tylko te zmienne, których zasięg obejmuje miejsce
35 %setup -q -n %{pdir}-%{version}
38 %{__perl} Makefile.PL \
42 OPTIMIZE="%{rpmcflags}"
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorarch}/PadWalker.pm
59 %dir %{perl_vendorarch}/auto/PadWalker
60 %attr(755,root,root) %{perl_vendorarch}/auto/PadWalker/PadWalker.so
61 %{_mandir}/man3/PadWalker.3pm*