]> git.pld-linux.org Git - packages/perl-PadWalker.git/blame - perl-PadWalker.spec
- generic URL
[packages/perl-PadWalker.git] / perl-PadWalker.spec
CommitLineData
17838ef1 1#
2# Conditional build:
85225232 3%bcond_without tests # do not perform "make test"
17838ef1 4#
5%include /usr/lib/rpm/macros.perl
df301b85 6%define pdir PadWalker
17838ef1 7Summary: PadWalker - play with other peoples' lexical variables
59771cc7 8Summary(pl.UTF-8): PadWalker - igranie z cudzymi zmiennymi leksykalnymi
17838ef1 9Name: perl-PadWalker
3ed360a1 10Version: 1.5
17838ef1 11Release: 1
12# same as perl
70d936aa 13License: GPL v1+ or Artistic
17838ef1 14Group: Development/Languages/Perl
45c29485 15Source0: http://www.cpan.org/modules/by-authors/id/R/RO/ROBIN/%{pdir}-%{version}.tar.gz
3ed360a1 16# Source0-md5: eabfa7010def851374eda9f3e323d268
bdf0034e 17URL: http://search.cpan.org/dist/PadWalker/
fb8488ae 18BuildRequires: perl-devel >= 1:5.8.0
17838ef1 19BuildRequires: rpm-perlprov >= 4.1-13
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
22775ee3 23PadWalker is a Perl module which allows you to inspect (and even
24change!) lexical variables in any subroutine which called you. It will
25only show those variables which are in scope at the point of the call.
26
cc88c8a5
JR
27%description -l pl.UTF-8
28PadWalker jest modułem Perla umożliwiającym przeglądanie (a nawet
29modyfikacje!) zmiennych leksykalnych w dowolnej wywołanej funkcji.
30Pokazuje on tylko te zmienne, których zasięg obejmuje miejsce
31wywołania.
17838ef1 32
33%prep
34%setup -q -n %{pdir}-%{version}
35
36%build
37%{__perl} Makefile.PL \
38 INSTALLDIRS=vendor
70d936aa 39%{__make} \
40 OPTIMIZE="%{rpmcflags}"
17838ef1 41
85225232 42%{?with_tests:%{__make} test}
17838ef1 43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc Changes README
56%{perl_vendorarch}/*.pm
57%dir %{perl_vendorarch}/auto/%{pdir}
58%attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/*.so
59%{perl_vendorarch}/auto/%{pdir}/*.bs
60%{_mandir}/man3/*
This page took 0.350778 seconds and 4 git commands to generate.