Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-release-src > by-pkgid > 2303c895537629f6c97d3cb691c7729b > files > 3

perl-Benchmark-Timer-0.710.200-1.mga1.src.rpm

%define upstream_name    Benchmark-Timer
%define	upstream_version 0.7102

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1
Epoch:      1

Summary:	Benchmark::Timer - Perl code benchmarking tool
License:	GPL+ or Artistic
Group:		Development/Perl
Url:		http://search.cpan.org/dist/%{upstream_name}
Source0:	ftp://ftp.perl.org/pub/CPAN/modules/by-module/Benchmark/%{upstream_name}-%{upstream_version}.tar.gz
Patch0:		Benchmark-Timer-fix-dep.patch

BuildRequires:	perl(Statistics::TTest)

BuildArch:	noarch


%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 %{upstream_name}-%{upstream_version}
%patch0 -p0

%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 META.yml
%{perl_vendorlib}/Benchmark
%{_mandir}/man3/*

%changelog
* Sun Jan 23 2011 jquelin <jquelin> 1:0.710.200-1.mga1
+ Revision: 33591
- mageia rebuild
- imported package perl-Benchmark-Timer


* Mon Aug 31 2009 Jérôme Quelin <jquelin@mandriva.org> 1:0.710.200-1mdv2010.0
+ Revision: 422881
- bumping epoch
- update to 0.7102

* Mon Jul 21 2008 Thierry Vignaud <tv@mandriva.org> 0.7101-2mdv2009.0
+ Revision: 239336
- patch 0: fix dependancy on /usr/local/bin/perl

* Sat Jul 19 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.7101-1mdv2009.0
+ Revision: 238736
- own containing directory

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request

* 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