Name: perl-Catalyst-Plugin-StackTrace Version: 0.11 Release: 1%{?dist} Summary: Display a stack trace on the debug screen License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Catalyst-Plugin-StackTrace/ Source0: http://www.cpan.org/modules/by-module/Catalyst/Catalyst-Plugin-StackTrace-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.8.1 BuildRequires: perl(Catalyst) >= 5.70 BuildRequires: perl(Devel::StackTrace) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(MRO::Compat) >= 0.10 Requires: perl(Catalyst) >= 5.70 Requires: perl(Devel::StackTrace) Requires: perl(MRO::Compat) >= 0.10 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This plugin will enhance the standard Catalyst debug screen by including a stack trace of your appliation up to the point where the error occurred. Each stack frame is displayed along with the package name, line number, file name, and code context surrounding the line number. %prep %setup -q -n Catalyst-Plugin-StackTrace-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat May 05 2012 Dave Cross 0.11-1 - Specfile autogenerated by cpanspec 1.78.