File perl-WWW-Robot-openSUSE_10.2.spec of Package perl-WWW-Robot

# $Id: perl-WWW-Robot.spec 5676 2007-08-02 18:53:59Z dries $
# Authority: dries
# Upstream: Ave Wrigley <Ave,Wrigley$itn,co,uk>

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

%define real_name WWW-Robot

Summary: Configurable web traversal engine
Name: perl-WWW-Robot
Version: 0.025
%define releasesuffix opensuse10.2
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/WWW-Robot/

Packager: Dries Verachtert <dries@ulyssis.org>
Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/
Source: http://search.cpan.org/CPAN/authors/id/K/KV/KVENTIN/WWW-Robot-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl, perl(ExtUtils::MakeMaker)

%description
This distribution contains a module which provides a web traversal engine
for use in web robots and the like. This is a beta release; the API is
open to change until a 1.000 release.

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

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

%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist

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

%files
%defattr(-, root, root, 0755)
%doc ChangeLog README
%doc %{_mandir}/man3/*
%{perl_vendorlib}/WWW/Robot.pm

%changelog
* Sun Apr 29 2007 Dries Verachtert <dries@ulyssis.org> - 0.025-1
- Updated to release 0.025.

* Wed Jan 03 2007 Dries Verachtert <dries@ulyssis.org> - 0.024-1
- Updated to release 0.024.

* Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 0.023-1.2
- Rebuild for Fedora Core 5.

* Sat Apr  9 2005 Dries Verachtert <dries@ulyssis.org> - 0.023-1
- Initial package.
openSUSE Build Service is sponsored by