diff --git a/README.md b/README.md index 36a2323..6979368 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-PadWalker +PadWalker is a module which allows you to inspect (and even change!) +lexical variables in any subroutine which called you. It will only show +those variables which are in scope at the point of the call. + diff --git a/perl-PadWalker.spec b/perl-PadWalker.spec new file mode 100644 index 0000000..aa32d85 --- /dev/null +++ b/perl-PadWalker.spec @@ -0,0 +1,67 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-PadWalker +Version: 1.98 +Release: 1mamba +Summary: PadWalker - play with other peoples' lexical variables +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz +License: GPL, Artistic +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-devel +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +PadWalker is a module which allows you to inspect (and even change!) +lexical variables in any subroutine which called you. It will only show +those variables which are in scope at the point of the call. + +%prep +%setup -q -n PadWalker-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl + +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/PadWalker* +%{_mandir}/man3/*.3pm.gz +%doc Changes README + +%changelog +* Wed Oct 30 2013 Automatic Build System 1.98-1mamba +- automatic update by autodist + +* Sat Nov 10 2012 Silvan Calarco 1.96-2mamba +- perl 5.16 mass rebuild + +* Sat Sep 15 2012 Automatic Build System 1.96-1mamba +- automatic version update by autodist + +* Thu Aug 09 2012 Automatic Build System 1.94-1mamba +- automatic version update by autodist + +* Fri Feb 10 2012 Automatic Build System 1.93-1mamba +- automatic version update by autodist + +* Fri Feb 18 2011 gil 1.92-1mamba +- package created by autospec