%define upstream_name Devel-NYTProf %define upstream_version 4.23 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Powerful feature-rich perl source code profiler Group: Development/Perl License: Artistic Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Devel/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Getopt::Long) BuildRequires: perl(JSON::Any) BuildRequires: perl(List::Util) BuildRequires: perl(Test::More) >= 0.840.0 BuildRequires: perl(XSLoader) BuildRequires: perl-devel %description Devel::NYTProf is a powerful feature-rich perl source code profiler. * Performs per-line statement profiling for fine detail * Performs per-subroutine statement profiling for overview * Performs per-block statement profiling (the first profiler to do so) * Accounts correctly for time spent after calls return * Performs inclusive and exclusive timing of subroutines * Subroutine times are per calling location (a powerful feature) * Can profile compile-time activity, just run-time, or just END time * Uses novel techniques for efficient profiling * Sub-microsecond (100ns) resolution on systems with clock_gettime() * Very fast - the fastest statement and subroutine profilers for perl * Handles applications that fork, with no performance cost * Immune from noise caused by profiling overheads and I/O * Program being profiled can stop/start the profiler * Generates richly annotated and cross-linked html reports * Trivial to use with mod_perl - add one line to httpd.conf * Includes an extensive test suite * Tested on very large codebases NYTProf is effectively two profilers in one: a statement profiler, and a subroutine profiler. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make CFLAGS="%optflags" %check make test %install %makeinstall_std %files %doc Changes HACKING INSTALL META.yml MYMETA.yml demo %{_bindir}/* %{_mandir}/*/* %{perl_vendorarch}/Devel %{perl_vendorarch}/auto/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 4.230.0-2.mga3 + Revision: 365789 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 08 2013 jquelin <jquelin> 4.230.0-1.mga3 + Revision: 342079 - update to 4.23 * Mon Sep 17 2012 jquelin <jquelin> 4.90.0-1.mga3 + Revision: 295000 - update to 4.09 * Fri Aug 31 2012 kharec <kharec> 4.80.0-1.mga3 + Revision: 286068 - update to 4.08 * Wed May 30 2012 jquelin <jquelin> 4.60.0-3.mga3 + Revision: 250524 - rebuild for perl 5.16 * Sat Jun 11 2011 sander85 <sander85> 4.60.0-2.mga2 + Revision: 104178 - perl 5.14 * Fri Jan 21 2011 jquelin <jquelin> 4.60.0-1.mga1 + Revision: 30133 - mageia rebuild - imported package perl-Devel-NYTProf