File perl-PadWalker.spec of Package perl-PadWalker

%define _real_name PadWalker
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)

Summary: Play with other peoples' lexical variables
Name: perl-PadWalker
Version: 1.7
Release: 1
License: GPL
Group: Applications/CPAN
Packager: Leo Eraly <leo@unstable.be>
URL: http://search.cpan.org/~robin/PadWalker-1.7/PadWalker.pm

Source: http://search.cpan.org/CPAN/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
Play with other peoples' lexical variables

%prep
%setup -n %{_real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor"  destdir="%{buildroot}"
%{__make}

%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%{_mandir}/man3/*.gz
%dir %{perl_vendorarch}/auto/PadWalker/
%{perl_vendorarch}/auto/PadWalker/*
%{perl_vendorarch}/PadWalker.pm


%changelog
* Tue Feb 03 2009 Leo Eraly <leo@unstable.be> - 1.18-1
- Initial package
openSUSE Build Service is sponsored by