]> git.pld-linux.org Git - packages/perl-Devel-StackTrace.git/blob - perl-Devel-StackTrace.spec
- rel. 2
[packages/perl-Devel-StackTrace.git] / perl-Devel-StackTrace.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Devel
7 %define pnam    StackTrace
8 Summary:        Devel::StackTrace - stack trace and stack trace frame objects
9 Summary(pl):    Devel::StackTrace - ¶ledzenie stosu i ramek obiektów
10 Name:           perl-%{pdir}-%{pnam}
11 Version:        1.11
12 Release:        2
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  a5d2088a531ceeec82b989c742f9382e
18 BuildRequires:  perl-Module-Build
19 %{?with_tests:BuildRequires:    perl-Test-Simple >= 0.46}
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 The Devel::StackTrace module contains two classes, Devel::StackTrace
27 and Devel::StackTraceFrame.  The goal of this object is to encapsulate
28 the information that can found through using the caller() function,
29 as well as providing a simple interface to this data.
30
31 %description -l pl
32 Modu³ Devel::StackTrace zawiera dwie klasy: Devel::StackTrace
33 i Devel::StackTraceFrame.  Zadaniem tego obiektu jest obudowanie
34 znalezionej przy u¿yciu funkcji caller() informacji, oraz udostêpnienie
35 prostego interfejsu do tych danych.
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39
40 %build
41 %{__perl} Build.PL \
42         installdirs=vendor
43 ./Build
44
45 %{?with_tests:./Build test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 ./Build install \
51         destdir=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc LICENSE Changes README
59 %{perl_vendorlib}/Devel/StackTrace.pm
60 %{_mandir}/man3/*
This page took 0.050868 seconds and 3 git commands to generate.