3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 %define pnam StackTrace
8 Summary: Devel::StackTrace - stack trace and stack trace frame objects
9 Summary(pl): Devel::StackTrace - ¶ledzenie stosu i ramek obiektów
10 Name: perl-%{pdir}-%{pnam}
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: a5d2088a531ceeec82b989c742f9382e
18 BuildRequires: perl-Module-Build
19 %{?with_tests:BuildRequires: perl-Test-Simple >= 0.46}
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 The Devel::StackTrace module contains two classes, Devel::StackTrace
27 and Devel::StackTraceFrame. The goal of this object is to encapsulate
28 the information that can found through using the caller() function,
29 as well as providing a simple interface to this data.
32 Modu³ Devel::StackTrace zawiera dwie klasy: Devel::StackTrace
33 i Devel::StackTraceFrame. Zadaniem tego obiektu jest obudowanie
34 znalezionej przy u¿yciu funkcji caller() informacji, oraz udostêpnienie
35 prostego interfejsu do tych danych.
38 %setup -q -n %{pdir}-%{pnam}-%{version}
45 %{?with_tests:./Build test}
48 rm -rf $RPM_BUILD_ROOT
51 destdir=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc LICENSE Changes README
59 %{perl_vendorlib}/Devel/StackTrace.pm