]> git.pld-linux.org Git - packages/perl-Devel-StackTrace.git/blob - perl-Devel-StackTrace.spec
- updated Test::Simple version
[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:        2.00
12 Release:        1
13 License:        Artistic 2.0
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Devel/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  826ed2bc7cdd8d852d7d2d8b69aa313c
17 URL:            http://search.cpan.org/dist/Devel-StackTrace/
18 %{?with_tests:BuildRequires:    perl-Test-Simple >= 0.88}
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 The Devel::StackTrace module contains two classes, Devel::StackTrace
26 and Devel::StackTraceFrame. The goal of this object is to encapsulate
27 the information that can found through using the caller() function, as
28 well as providing a simple interface to this data.
29
30 %description -l pl.UTF-8
31 Moduł Devel::StackTrace zawiera dwie klasy: Devel::StackTrace i
32 Devel::StackTraceFrame. Zadaniem tego obiektu jest obudowanie
33 znalezionej przy użyciu funkcji caller() informacji, oraz
34 udostępnienie prostego interfejsu do tych danych.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42
43 %{__make}
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} 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 Changes LICENSE README.md
59 %{perl_vendorlib}/Devel/StackTrace.pm
60 %{perl_vendorlib}/Devel/StackTrace
61 %{_mandir}/man3/Devel::StackTrace*.3pm*
This page took 0.100524 seconds and 3 git commands to generate.