51f515
Name:           perl-Devel-StackTrace
51f515
Summary:        Perl module implementing stack trace and stack trace frame objects
51f515
Version:        1.30
51f515
Epoch:          1
51f515
Release:        1%{?dist}
51f515
License:        Artistic 2.0
51f515
Group:          Development/Libraries
51f515
URL:            http://search.cpan.org/dist/Devel-StackTrace/
51f515
Source0:        http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-%{version}.tar.gz
51f515
BuildArch:      noarch
51f515
51f515
# --with release_tests ... also check "RELEASE_TESTS".
51f515
# Disabled by default
51f515
%bcond_with release_tests
51f515
51f515
BuildRequires:  perl(ExtUtils::MakeMaker)
51f515
BuildRequires:  perl(File::Spec)
51f515
BuildRequires:  perl(overload)
51f515
BuildRequires:  perl(Test::More) >= 0.88
51f515
BuildRequires:  perl(Scalar::Util)
51f515
BuildRequires:  perl(strict)
51f515
BuildRequires:  perl(warnings)
51f515
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
51f515
51f515
%if %{with release_tests}
51f515
# for improved tests
51f515
BuildRequires:  perl(base)
51f515
BuildRequires:  perl(bytes)
51f515
BuildRequires:  perl(Exception::Class::Base)
51f515
BuildRequires:  perl(Test::Pod)
51f515
BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
51f515
BuildRequires:  perl(Test::EOL)
51f515
BuildRequires:  perl(Test::NoTabs)
51f515
BuildRequires:  perl(Test::Spelling)
51f515
BuildRequires:  perl(Test::CPAN::Changes)
51f515
BuildRequires:  perl(Test::Pod::LinkCheck)
51f515
BuildRequires:  perl(Test::Pod::No404s)
51f515
BuildRequires:  perl(LWP::Protocol::https)
51f515
BuildRequires:  aspell-en
51f515
%endif
51f515
51f515
%description
51f515
The Devel::StackTrace module contains two classes, Devel::StackTrace
51f515
and Devel::StackTraceFrame.  The goal of this object is to encapsulate
51f515
the information that can found through using the caller() function, as
51f515
well as providing a simple interface to this data.
51f515
51f515
The Devel::StackTrace object contains a set of Devel::StackTraceFrame
51f515
objects, one for each level of the stack.  The frames contain all the
51f515
data available from caller() as of Perl 5.6.0.
51f515
51f515
%prep
51f515
%setup -q -n Devel-StackTrace-%{version}
51f515
51f515
%build
51f515
%{__perl} Makefile.PL INSTALLDIRS=vendor
51f515
make %{?_smp_mflags}
51f515
51f515
%install
51f515
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
51f515
51f515
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
51f515
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
51f515
51f515
%{_fixperms} $RPM_BUILD_ROOT/*
51f515
51f515
%check
51f515
make test %{?with_release_tests:RELEASE_TESTING=1}
51f515
51f515
%files
51f515
%doc README LICENSE Changes
51f515
%{perl_vendorlib}/Devel
51f515
%{_mandir}/man3/*
51f515
51f515
%changelog
51f515
* Thu Nov 22 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.30-1
51f515
- Upstream update.
51f515
- Reflect new BR:'s.
51f515
- Modernize spec-file.
51f515
51f515
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.27-6
51f515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
51f515
51f515
* Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 1:1.27-5
51f515
- Perl 5.16 rebuild
51f515
51f515
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.27-4
51f515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
51f515
51f515
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.27-3
51f515
- Perl mass rebuild
51f515
51f515
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.27-2
51f515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
51f515
51f515
* Mon Jan 17 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.27-1
51f515
- Upstream update.
51f515
51f515
* Wed Nov 03 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.26-1
51f515
- Upstream update.
51f515
51f515
* Sun Sep 12 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.25-1
51f515
- Upstream update.
51f515
- Spec overhaul.
51f515
- Add %%bcond_with release_tests
51f515
51f515
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.22-5
51f515
- Mass rebuild with perl-5.12.0
51f515
51f515
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.22-4
51f515
- Mass rebuild with perl-5.12.0
51f515
51f515
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1:1.22-3
51f515
- rebuild against perl 5.10.1
51f515
51f515
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.22-2
51f515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
51f515
51f515
* Mon Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.22-1
51f515
- Upstream update.
51f515
51f515
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-3
51f515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
51f515
51f515
* Wed Feb 18 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.20-2
51f515
- BR: perl(Test::Kwalitee).
51f515
51f515
* Sat Dec 13 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.20-1
51f515
- Upstream update.
51f515
- Bump epoch.
51f515
51f515
* Fri Aug 08 2008 Ralf Corsépius <rc040203@freenet.de> - 1.1902-1
51f515
- Upstream update.
51f515
51f515
* Wed Jun 25 2008 Ralf Corsépius <rc040203@freenet.de> - 1.1901-1
51f515
- Upstream update.
51f515
51f515
* Fri May 16 2008 Ralf Corsépius <rc040203@freenet.de> - 1.18-2
51f515
- Bump release.
51f515
51f515
* Mon Apr 07 2008 Ralf Corsépius <rc040203@freenet.de> - 1.18-1
51f515
- Upstream update.
51f515
51f515
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.16-2
51f515
- Rebuild for perl 5.10 (again)
51f515
51f515
* Sun Feb 03 2008 Ralf Corsépius <rc040203@freenet.de> - 1.16-1
51f515
- Upstream update.
51f515
- Activate IS_MAINTAINER-tests.
51f515
- BR: perl(Test::Pod::Coverage).
51f515
51f515
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.15-3
51f515
- rebuild for new perl
51f515
51f515
* Wed Aug 29 2007 Ralf Corsépius <rc040203@freenet.de> - 1.15-2
51f515
- Update License.
51f515
51f515
* Mon Apr 30 2007 Ralf Corsépius <rc040203@freenet.de> - 1.15-1
51f515
- Upstream update.
51f515
51f515
* Sat Mar 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.14-1
51f515
- Upstream update.
51f515
51f515
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.13-2
51f515
- Mass rebuild.
51f515
51f515
* Wed Apr 04 2006 Ralf Corsépius <rc040203@freenet.de> - 1.13-1
51f515
- Upstream update.
51f515
51f515
* Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 1.12-2
51f515
- Rebuild for perl-5.8.8.
51f515
51f515
* Sun Oct 02 2005 Ralf Corsepius <rc040203@freenet.de> - 1.12-1
51f515
- Upstream update.