]> git.pld-linux.org Git - packages/perl-Devel-StackTrace.git/blob - perl-Devel-StackTrace.spec
- massive attack: change CPAN URLs
[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:        1
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 >= 3.0.3-16
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 %{__make}
42
43 %{!?_without_tests:%{__make} test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc LICENSE Changes README
56 %{perl_sitelib}/%{pdir}/%{pnam}.pm
57 %{_mandir}/man3/*
This page took 0.07024 seconds and 4 git commands to generate.