1 | Name: perl-PadWalker
|
---|
2 | Version: 2.3
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Summary: Play with other people's lexical variables
|
---|
5 | License: GPL+ or Artistic
|
---|
6 | Vendor: bww bitwise works GmbH
|
---|
7 | URL: http://search.cpan.org/dist/PadWalker/
|
---|
8 | Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz
|
---|
9 | # Build:
|
---|
10 | BuildRequires: coreutils
|
---|
11 | BuildRequires: findutils
|
---|
12 | BuildRequires: gcc
|
---|
13 | BuildRequires: make
|
---|
14 | BuildRequires: perl-devel
|
---|
15 | BuildRequires: perl-generators
|
---|
16 | #BuildRequires: perl-interpreter
|
---|
17 | BuildRequires: perl(ExtUtils::MakeMaker)
|
---|
18 | # Run-time
|
---|
19 | BuildRequires: perl(DynaLoader)
|
---|
20 | BuildRequires: perl(Exporter)
|
---|
21 | BuildRequires: perl(strict)
|
---|
22 | BuildRequires: perl(vars)
|
---|
23 | # Tests:
|
---|
24 | #BuildRequires: perl(Data::Dumper)
|
---|
25 | #BuildRequires: perl(warnings)
|
---|
26 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
---|
27 |
|
---|
28 | %{?perl_default_filter}
|
---|
29 |
|
---|
30 | %description
|
---|
31 | PadWalker is a module that allows you to inspect (and even change!)
|
---|
32 | lexical variables in any subroutine that called you. It will only show
|
---|
33 | those variables that are in scope at the point of the call.
|
---|
34 |
|
---|
35 | %prep
|
---|
36 | %setup -q -n PadWalker-%{version}
|
---|
37 |
|
---|
38 | %build
|
---|
39 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
---|
40 | make %{?_smp_mflags}
|
---|
41 | make manifypods
|
---|
42 |
|
---|
43 | %install
|
---|
44 | make pure_install DESTDIR=%{buildroot}
|
---|
45 | find %{buildroot} -type f -name .packlist -delete
|
---|
46 | find %{buildroot} -type f -name '*.bs' -empty -delete
|
---|
47 | %{_fixperms} -c %{buildroot}
|
---|
48 |
|
---|
49 | %check
|
---|
50 | #make test
|
---|
51 |
|
---|
52 | %files
|
---|
53 | %doc Changes README
|
---|
54 | %{perl_vendorarch}/auto/PadWalker/
|
---|
55 | %{perl_vendorarch}/PadWalker.pm
|
---|
56 | %{_mandir}/man3/*.3*
|
---|
57 |
|
---|
58 | %changelog
|
---|
59 | * Wed Mar 14 2018 Elbert Pol <elbert.pol@gmail.com> - 2.3-1
|
---|
60 | - initial rpm for OS2
|
---|