]> git.pld-linux.org Git - packages/perl-Devel-StackTrace.git/blob - perl-Devel-StackTrace.spec
- tabs in preamble
[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.UTF-8):      Devel::StackTrace - śledzenie stosu i ramek obiektów
10 Name:           perl-Devel-StackTrace
11 Version:        1.13
12 Release:        1
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:  35d85c3f2c91c1de389b13436659551a
18 URL:            http://search.cpan.org/dist/Devel-StackTrace/
19 BuildRequires:  perl-Module-Build
20 %{?with_tests:BuildRequires:    perl-Test-Simple >= 0.46}
21 BuildRequires:  perl-devel >= 1:5.8.0
22 BuildRequires:  rpm-perlprov >= 4.1-13
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 The Devel::StackTrace module contains two classes, Devel::StackTrace
28 and Devel::StackTraceFrame. The goal of this object is to encapsulate
29 the information that can found through using the caller() function, as
30 well as providing a simple interface to this data.
31
32 %description -l pl.UTF-8
33 Moduł Devel::StackTrace zawiera dwie klasy: Devel::StackTrace i
34 Devel::StackTraceFrame. Zadaniem tego obiektu jest obudowanie
35 znalezionej przy użyciu funkcji caller() informacji, oraz
36 udostępnienie prostego interfejsu do tych danych.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Build.PL \
43         installdirs=vendor
44 ./Build
45
46 %{?with_tests:./Build test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 ./Build install \
52         destdir=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc LICENSE Changes README
60 %{perl_vendorlib}/Devel/StackTrace.pm
61 %{_mandir}/man3/*
This page took 0.089473 seconds and 3 git commands to generate.