commit da8a286c428967117a8ca88d23952c6ebb884e40 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Wed Oct 12 06:22:14 2011 +0200 initial import (rhbz#742557) .gitignore | 1 + perl-CatalystX-Profile.spec | 59 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 61 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..d975479 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/CatalystX-Profile-0.02.tar.gz diff --git a/perl-CatalystX-Profile.spec b/perl-CatalystX-Profile.spec new file mode 100644 index 0000000..65b8497 --- /dev/null +++ b/perl-CatalystX-Profile.spec @@ -0,0 +1,59 @@ +Name: perl-CatalystX-Profile +Version: 0.02 +Release: 1%{?dist} +Summary: Profile your Catalyst application with Devel::NYTProf +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/CatalystX-Profile/ +Source0: http://www.cpan.org/authors/id/J/JJ/JJNAPIORK/CatalystX-Profile-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Catalyst::Runtime) >= 5.80020 +BuildRequires: perl(CatalystX::InjectComponent) >= 0.024 +BuildRequires: perl(Devel::NYTProf) >= 3.01 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Moose) >= 0.93 +BuildRequires: perl(namespace::autoclean) >= 0.09 +BuildRequires: perl(Sub::Identify) >= 0.04 +BuildRequires: perl(Test::More) +Requires: perl(Catalyst::Runtime) >= 5.80020 +Requires: perl(CatalystX::InjectComponent) >= 0.024 +Requires: perl(Devel::NYTProf) >= 3.01 +Requires: perl(Moose) >= 0.93 +Requires: perl(namespace::autoclean) >= 0.09 +Requires: perl(Sub::Identify) >= 0.04 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This (really basic for now) plugin adds support for profiling your Catalyst +application, without profiling all the crap that happens during setup. This +noise can make finding the real profiling stuff trickier, so profiling is +disabled while this happens. + +%prep +%setup -q -n CatalystX-Profile-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Sep 30 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.02-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..d79335e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +708ab56ebf8707c1668b1a48f3518c2f CatalystX-Profile-0.02.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel