File perl-LWPx-TimedHTTP.spec of Package perl-LWPx-TimedHTTP

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

Summary: Time HTTP requests
Name: perl-LWPx-TimedHTTP
Version: 1.5
Release: 1
License: GPL
Group: Applications/CPAN
Packager: Leo Eraly <leo@unstable.be>
URL: http://search.cpan.org/dist/LWPx-TimedHTTP/

Buildarch: noarch

BuildRequires: perl-Module-Build

Source: http://search.cpan.org/CPAN/authors/id/S/SI/SIMONW/LWPx-TimedHTTP-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
Time the different stages of an HTTP request 

%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}/LWPx
%{perl_vendorlib}/LWPx/TimedHTTP.pm

%changelog
* Thu Nov 05 2008 Leo Eraly <leo@unstable.be> - 1.5-1
- Initial package
openSUSE Build Service is sponsored by