source: spec/trunk/SPECS/perl-PadWalker.spec@ 1504

Last change on this file since 1504 was 1379, checked in by tellie, 8 years ago

spec: perl-PadWalker: Release version 2.3-1.

File size: 1.6 KB
Line 
1Name: perl-PadWalker
2Version: 2.3
3Release: 1%{?dist}
4Summary: Play with other people's lexical variables
5License: GPL+ or Artistic
6Vendor: bww bitwise works GmbH
7URL: http://search.cpan.org/dist/PadWalker/
8Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz
9# Build:
10BuildRequires: coreutils
11BuildRequires: findutils
12BuildRequires: gcc
13BuildRequires: make
14BuildRequires: perl-devel
15BuildRequires: perl-generators
16#BuildRequires: perl-interpreter
17BuildRequires: perl(ExtUtils::MakeMaker)
18# Run-time
19BuildRequires: perl(DynaLoader)
20BuildRequires: perl(Exporter)
21BuildRequires: perl(strict)
22BuildRequires: perl(vars)
23# Tests:
24#BuildRequires: perl(Data::Dumper)
25#BuildRequires: perl(warnings)
26Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
27
28%{?perl_default_filter}
29
30%description
31PadWalker is a module that allows you to inspect (and even change!)
32lexical variables in any subroutine that called you. It will only show
33those variables that are in scope at the point of the call.
34
35%prep
36%setup -q -n PadWalker-%{version}
37
38%build
39perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
40make %{?_smp_mflags}
41make manifypods
42
43%install
44make pure_install DESTDIR=%{buildroot}
45find %{buildroot} -type f -name .packlist -delete
46find %{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
Note: See TracBrowser for help on using the repository browser.