%define realname PadWalker %define name perl-%{realname} %define version 0.10 %define release 1mdk Summary: Play with other peoples' lexical variables Name: %{name} Version: %{version} Release: %{release} License: Artistic/GPL Group: Development/Perl URL: http://search.cpan.org/dist/%{realname}/ Source: %{realname}-%{version}.tar.bz2 BuildRequires: perl-devel Buildroot: %{_tmppath}/%{name}-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 %{realname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{__make} test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %files %defattr(-,root,root) %doc README Changes %{perl_vendorarch}/PadWalker.pm %{perl_vendorarch}/auto/PadWalker/* %{_mandir}/*/* %clean rm -rf $RPM_BUILD_ROOT %changelog * Wed May 04 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.10-1mdk - First Mandriva release