]> git.pld-linux.org Git - packages/perl-Devel-StackTrace.git/blob - perl-Devel-StackTrace.spec
- version 1.02
[packages/perl-Devel-StackTrace.git] / perl-Devel-StackTrace.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 %include        /usr/lib/rpm/macros.perl
5 %define pdir    Devel
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}
10 Version:        1.02
11 Release:        1
12 License:        GPL/Artistic
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)
18 %endif
19 BuildRequires:  rpm-perlprov >= 3.0.3-16
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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.
28
29 %description -l pl
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.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 perl Makefile.PL
40 %{__make}
41
42 %{!?_without_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc LICENSE Changes README
55 %{perl_sitelib}/%{pdir}/%{pnam}.pm
56 %{_mandir}/man3/*
This page took 0.090793 seconds and 4 git commands to generate.