8fb805a
Name:           perl-Catalyst-Plugin-StackTrace
Chris Weyl efbe00c
Version:        0.09
Chris Weyl efbe00c
Release:        1%{?dist}
8fb805a
Summary:        Display a stack trace on the debug screen
5d58151
License:        GPL+ or Artistic
8fb805a
Group:          Development/Libraries
8fb805a
URL:            http://search.cpan.org/dist/Catalyst-Plugin-StackTrace/
8fb805a
Source0:        http://www.cpan.org/authors/id/M/MS/MSTROUT/Catalyst-Plugin-StackTrace-%{version}.tar.gz
8fb805a
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
8fb805a
BuildArch:      noarch
8fb805a
BuildRequires:  perl(Catalyst) >= 5.61
8fb805a
BuildRequires:  perl(Devel::StackTrace)
8fb805a
BuildRequires:  perl(ExtUtils::MakeMaker)
8fb805a
BuildRequires:  perl(Test::More)
8fb805a
BuildRequires:  perl(Test::Pod) >= 1.14
8fb805a
BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
8fb805a
Requires:       perl(Catalyst) >= 5.61
8fb805a
Requires:       perl(Devel::StackTrace)
8fb805a
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
8fb805a
8fb805a
%description
8fb805a
This plugin will enhance the standard Catalyst debug screen by including a
8fb805a
stack trace of your appliation up to the point where the error occurred.
8fb805a
Each stack frame is displayed along with the package name, line number,
8fb805a
file name, and code context surrounding the line number.
8fb805a
8fb805a
%prep
8fb805a
%setup -q -n Catalyst-Plugin-StackTrace-%{version}
8fb805a
8fb805a
%build
8fb805a
%{__perl} Makefile.PL INSTALLDIRS=vendor
8fb805a
make %{?_smp_mflags}
8fb805a
8fb805a
%install
8fb805a
rm -rf $RPM_BUILD_ROOT
8fb805a
8fb805a
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
8fb805a
8fb805a
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
8fb805a
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
8fb805a
8fb805a
%{_fixperms} $RPM_BUILD_ROOT/*
8fb805a
8fb805a
%check
5d58151
TEST_POD=1 make test
8fb805a
8fb805a
%clean
8fb805a
rm -rf $RPM_BUILD_ROOT
8fb805a
8fb805a
%files
8fb805a
%defattr(-,root,root,-)
Chris Weyl efbe00c
%doc Changes 
8fb805a
%{perl_vendorlib}/*
8fb805a
%{_mandir}/man3/*
8fb805a
8fb805a
%changelog
Chris Weyl efbe00c
* Fri Feb 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.09-1
Chris Weyl efbe00c
- update to 0.09
Chris Weyl efbe00c
Chris Weyl efbe00c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-5
Chris Weyl efbe00c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Chris Weyl efbe00c
Caolan McNamara 6b274b8
* Sat Jun 07 2008 Caolán McNamara <caolanm@redhat.com> 0.07-4
Caolan McNamara 6b274b8
- rebuild for dependencies
Caolan McNamara 6b274b8
5d58151
* Sat Apr 12 2008 Simon Wilkinson <simon@sxw.org.uk> 0.07-3
5d58151
- Fix incorrect license
5d58151
- Try building with POD checks
5d58151
8fb805a
* Thu Mar 27 2008 Simon Wilkinson <simon@sxw.org.uk> 0.07-2
8fb805a
- Add build dependencies on Test::Pod and Test::Pod::Coverage for tests
8fb805a
8fb805a
* Thu Mar 27 2008 Simon Wilkinson <simon@sxw.org.uk> 0.07-1
8fb805a
- Specfile autogenerated by cpanspec 1.73.