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.UTF-8): Devel::StackTrace - śledzenie stosu i ramek obiektów
10 Name: perl-Devel-StackTrace
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: 35d85c3f2c91c1de389b13436659551a
18 URL: http://search.cpan.org/dist/Devel-StackTrace/
19 BuildRequires: perl-Module-Build
20 %{?with_tests:BuildRequires: perl-Test-Simple >= 0.46}
21 BuildRequires: perl-devel >= 1:5.8.0
22 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 The Devel::StackTrace module contains two classes, Devel::StackTrace
28 and Devel::StackTraceFrame. The goal of this object is to encapsulate
29 the information that can found through using the caller() function, as
30 well as providing a simple interface to this data.
32 %description -l pl.UTF-8
33 Moduł Devel::StackTrace zawiera dwie klasy: Devel::StackTrace i
34 Devel::StackTraceFrame. Zadaniem tego obiektu jest obudowanie
35 znalezionej przy użyciu funkcji caller() informacji, oraz
36 udostępnienie prostego interfejsu do tych danych.
39 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{?with_tests:./Build test}
49 rm -rf $RPM_BUILD_ROOT
52 destdir=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc LICENSE Changes README
60 %{perl_vendorlib}/Devel/StackTrace.pm