f51bf21982
Copy from home:rjschwei:branches:devel:languages:perl/perl-PadWalker via accept of submit request 44551 revision 2. Request was accepted with message: reviewed OK OBS-URL: https://build.opensuse.org/request/show/44551 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PadWalker?expand=0&rev=2
72 lines
1.9 KiB
RPMSpec
72 lines
1.9 KiB
RPMSpec
# Copyright (c) 2009 Novell
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: perl-PadWalker
|
|
Version: 1.92
|
|
Release: 1
|
|
%define cpan_name PadWalker
|
|
Provides: %cpan_name
|
|
Requires: perl = %{perl_version}
|
|
Autoreqprov: on
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic License, GPL, see package
|
|
URL: http://search.cpan.org/~robin/PadWalker-1.9/PadWalker.pm
|
|
Summary: Play with other peoples' lexical variables
|
|
Source0: %{cpan_name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-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.
|
|
|
|
PadWalker is particularly useful for debugging. It's even used by Perl's
|
|
built-in debugger. (It can also be used for evil, of course.)
|
|
|
|
I wouldn't recommend using PadWalker directly in production code, but it's
|
|
your call. Some of the modules that use PadWalker internally are certainly
|
|
safe for and useful in production.
|
|
|
|
Authors:
|
|
Robin Houston <robin@cpan.org>
|
|
|
|
%prep
|
|
%setup -q -n %cpan_name-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%__rm -f %{buildroot}%{perl_vendorarch}/auto/PadWalker/.packlist
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes README
|
|
%doc %{_mandir}/man3/*
|
|
%dir %{perl_vendorarch}/auto/PadWalker/
|
|
%{perl_vendorarch}/auto/PadWalker/*
|
|
%{perl_vendorarch}/PadWalker.pm
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
%changelog
|
|
* Tue Nov 24 2009 Robert Schweikert <rschweikert@novell.com> - PadWalker-1
|
|
- Initial build.
|
|
|