3 # _without_tests - do not perform "make test"
4 %include /usr/lib/rpm/macros.perl
6 %define pnam StackTrace
7 Summary: Devel::StackTrace - Stack trace and stack trace frame objects
8 Summary(pl): Devel::StackTrace - ¶ledzenie stosu i ramek obiektów
9 Name: perl-%{pdir}-%{pnam}
13 Group: Development/Languages/Perl
14 Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires: perl >= 5.005
16 %if %{?_without_tests:0}%{!?_without_tests:1}
17 BuildRequires: perl(fields)
19 BuildRequires: rpm-perlprov >= 3.0.3-16
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,
27 as well as providing a simple interface to this data.
30 Modu³ Devel::StackTrace zawiera dwie klasy: Devel::StackTrace
31 i Devel::StackTraceFrame. Zadaniem tego obiektu jest obudowanie
32 znalezionej przy u¿yciu funkcji caller() informacji, oraz udostêpnienie
33 prostego interfejsu do tych danych.
36 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{!?_without_tests:%{__make} test}
45 rm -rf $RPM_BUILD_ROOT
47 %{__make} install DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc LICENSE Changes README
55 %{perl_sitelib}/%{pdir}/%{pnam}.pm