1 %include /usr/lib/rpm/macros.perl
3 %define pnam StackTrace
4 Summary: %{pdir}::%{pnam} perl module
5 Summary(pl): Modu³ perla %{pdir}::%{pnam}
6 Name: perl-%{pdir}-%{pnam}
10 Group: Development/Languages/Perl
11 Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires: rpm-perlprov >= 3.0.3-16
13 BuildRequires: perl >= 5.005
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 The Devel::StackTrace module contains two classes, Devel::StackTrace
19 and Devel::StackTraceFrame. The goal of this object is to encapsulate
20 the information that can found through using the caller() function,
21 as well as providing a simple interface to this data.
24 Modu³ Devel::StackTrace zawiera dwie klasy: Devel::StackTrace
25 i Devel::StackTraceFrame. Zadaniem tego obiektu jest obudowanie
26 znalezionej przy u¿yciu funkcji caller() informacji, oraz udostêpnienie
27 prostego interfejsu do tych danych.
30 %setup -q -n %{pdir}-%{pnam}-%{version}
38 rm -rf $RPM_BUILD_ROOT
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc LICENSE Changes README
49 %{perl_sitelib}/%{pdir}/%{pnam}.pm