File parent.spec of Package parent

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

Summary: Establish an ISA relationship with base classes at compile time
Name: parent
Version: 0.221
Release: 1
License: GPL
Group: Applications/CPAN
Packager: Leo Eraly <leo@unstable.be>
URL: http://search.cpan.org/~corion/parent-0.221/lib/parent.pm

Buildarch: noarch

Source: http://search.cpan.org/CPAN/authors/id/S/ST/STEVAN/parent-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
Establish an ISA relationship with base classes at compile time

%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_vendorlib}/
%{perl_vendorlib}/parent.pm

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