Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > e482e71e4649fd62b9ee6631df5b7b3f > files > 2

perl-Benchmark-Timer-0.7100-3mdv2008.0.src.rpm

%define real_name Benchmark-Timer
%define	name perl-%{real_name}
%define	version 0.7100
%define	release %mkrel 3

Summary:	Benchmark::Timer - Perl code benchmarking tool
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	GPL or Artistic
Group:		Development/Perl
URL:		http://search.cpan.org/dist/%{real_name}
Source0:	ftp://ftp.perl.org/pub/CPAN/modules/by-module/Benchmark/%{real_name}-%{version}.tar.bz2
BuildRequires:	perl-devel
BuildRequires:	perl(Statistics::TTest)
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
The Benchmark::Timer class allows you to time portions of code
conveniently, as well as benchmark code by allowing timings of
repeated trials. It is perfect for when you need more precise
information about the running time of portions of your code than the
Benchmark module will give you, but don't want to go all out and
profile your code.

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

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make
make test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc CHANGES LICENSE README
%{perl_vendorlib}/Benchmark/Timer.pm
%{_mandir}/man3/*



%changelog
* Wed May 09 2007 Oden Eriksson <oeriksson@mandriva.com> 0.7100-3mdv2008.0
+ Revision: 25447
- rebuild


* Thu Apr 27 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.7100-2mdk
- Fix SPEC Using perl Policies
	- BuildRequires
	- Source URL
- use mkrel

* Sun Jul 10 2005 Oden Eriksson <oeriksson@mandriva.com> 0.7100-1mdk
- initial Mandriva package