]> git.pld-linux.org Git - packages/perl-Devel-StackTrace.git/blob - perl-Devel-StackTrace.spec
- spec by Radosław Zieliński
[packages/perl-Devel-StackTrace.git] / perl-Devel-StackTrace.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Devel
3 %define pnam    StackTrace
4 Summary:        %{pdir}::%{pnam} perl module
5 Summary(pl):    Modu³ perla %{pdir}::%{pnam}
6 Name:           perl-%{pdir}-%{pnam}
7 Version:        0.9
8 Release:        1
9 License:        GPL/Artistic
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
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
22
23 %description -l pl
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.
28
29 %prep
30 %setup -q -n %{pdir}-%{pnam}-%{version}
31
32 %build
33 perl Makefile.PL
34 %{__make}
35 %{__make} test
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
41
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc LICENSE Changes README
49 %{perl_sitelib}/%{pdir}/%{pnam}.pm
50 %{_mandir}/man3/*
This page took 0.066466 seconds and 4 git commands to generate.