3 %bcond_without tests # do not perform "make test"
6 %define pnam StackTrace
7 Summary: Devel::StackTrace - stack trace and stack trace frame objects
8 Summary(pl.UTF-8): Devel::StackTrace - śledzenie stosu i ramek obiektów
9 Name: perl-Devel-StackTrace
12 License: Artistic v2.0
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Devel/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: a5b09f7be7f2b10b525a9740676906d8
16 URL: http://search.cpan.org/dist/Devel-StackTrace/
17 %{?with_tests:BuildRequires: perl-Test-Simple >= 0.96}
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The Devel::StackTrace module contains two classes, Devel::StackTrace
25 and Devel::StackTraceFrame. The goal of this object is to encapsulate
26 the information that can found through using the caller() function, as
27 well as providing a simple interface to this data.
29 %description -l pl.UTF-8
30 Moduł Devel::StackTrace zawiera dwie klasy: Devel::StackTrace i
31 Devel::StackTraceFrame. Zadaniem tego obiektu jest obudowanie
32 znalezionej przy użyciu funkcji caller() informacji, oraz
33 udostępnienie prostego interfejsu do tych danych.
36 %setup -q -n %{pdir}-%{pnam}-%{version}
39 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc Changes LICENSE README.md
58 %{perl_vendorlib}/Devel/StackTrace.pm
59 %{perl_vendorlib}/Devel/StackTrace
60 %{_mandir}/man3/Devel::StackTrace*.3pm*