auto-import perl-PadWalker-1.0-1 on branch devel from

perl-PadWalker-1.0-1.src.rpm
This commit is contained in:
Jose Pedro Oliveira 2006-05-20 21:17:41 +00:00
parent 12498918c4
commit 87782ca7b7
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1 @@
PadWalker-1.0.tar.gz

56
perl-PadWalker.spec Normal file
View File

@ -0,0 +1,56 @@
Name: perl-PadWalker
Version: 1.0
Release: 1%{?dist}
Summary: Play with other peoples' lexical variables
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/PadWalker/
Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%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 INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/PadWalker*
%{perl_vendorarch}/auto/PadWalker/
%{_mandir}/man3/*.3pm*
%changelog
* Fri May 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-1
- First build.

View File

@ -0,0 +1 @@
05d684ce2f17ef4f058ec2e912b5f95c PadWalker-1.0.tar.gz