Name: perl-CatalystX-LeakChecker Summary: Debug memory leaks in Catalyst applications Version: 0.05 Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/CatalystX-LeakChecker-%{version}.tar.gz URL: http://search.cpan.org/dist/CatalystX-LeakChecker BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(B::Deparse) BuildRequires: perl(Catalyst) >= 5.8 BuildRequires: perl(Devel::Cycle) >= 1.11 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(FindBin) BuildRequires: perl(Moose) BuildRequires: perl(MooseX::AttributeHelpers) BuildRequires: perl(MooseX::Types) BuildRequires: perl(namespace::autoclean) BuildRequires: perl(namespace::clean) >= 0.05 BuildRequires: perl(PadWalker) >= 1.8 BuildRequires: perl(Task::Weaken) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Text::SimpleTable) # note the explicit versioning Requires: perl(Catalyst) >= 5.8 Requires: perl(Devel::Cycle) >= 1.11 Requires: perl(namespace::clean) >= 0.05 Requires: perl(PadWalker) >= 1.8 Requires: perl(Test::More) >= 0.88 %{?perl_default_filter} %{?perl_default_subpackage_tests} %description It's easy to create memory leaks in Catalyst applications and often they're hard to find. This module tries to help you finding them by automatically checking for common causes of leaks. This module is intended for debugging only. I suggest to not enable it in a production environment. %prep %setup -q -n CatalystX-LeakChecker-%{version} %build %{?perl_ext_env_unset} %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} 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 %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Mon Mar 08 2010 Chris Weyl 0.05-1 - specfile by Fedora::App::MaintainerTools 0.004