]> git.pld-linux.org Git - packages/perl-Devel-StackTrace.git/blob - perl-Devel-StackTrace.spec
- should be ready for perl-5.8.0; release++
[packages/perl-Devel-StackTrace.git] / perl-Devel-StackTrace.spec
1 #
2 # Conditional build:
3 # _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.03
12 Release:        2
13 License:        GPL/Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires:  perl >= 5.005
17 %if %{!?_without_tests:1}0
18 BuildRequires:  perl(fields)
19 %endif
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,
28 as well as providing a simple interface to this data.
29
30 %description -l pl
31 Modu³ Devel::StackTrace zawiera dwie klasy: Devel::StackTrace
32 i Devel::StackTraceFrame.  Zadaniem tego obiektu jest obudowanie
33 znalezionej przy u¿yciu funkcji caller() informacji, oraz udostêpnienie
34 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 %{__make}
43
44 %{!?_without_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc LICENSE Changes README
57 %{perl_vendorlib}/%{pdir}/%{pnam}.pm
58 %{_mandir}/man3/*
This page took 0.070569 seconds and 4 git commands to generate.