]> git.pld-linux.org Git - packages/perl-Log-TraceMessages.git/blob - perl-Log-TraceMessages.spec
d9815e4f4f6cb950719262d7a9ebf51a966da34b
[packages/perl-Log-TraceMessages.git] / perl-Log-TraceMessages.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    Log
7 %define pnam    TraceMessages
8 Summary:        Log::TraceMessages - Perl extension for trace messages used in debugging
9 Summary(pl.UTF-8):      Log::TraceMessages - rozszerzenie Perla do śledzenia komunikatów
10 Name:           perl-Log-TraceMessages
11 Version:        1.4
12 Release:        2
13 # same as perl (REMOVE THIS LINE IF NOT TRUE)
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:  77687c9858a476628f0299cf4f29c727
18 BuildRequires:  perl-HTML-FromText
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 This module is a slightly better way to put trace statements into your
26 code than just calling print(). It provides an easy way to turn trace
27 on and off for particular sections of code without having to comment
28 out bits of source.
29
30 %description -l pl.UTF-8
31 Ten moduł to nieco lepszy sposób umieszczania instrukcji do śledzenia
32 we własnym kodzie niż zwykłe wywoływanie print(). Udostępnia on łatwy
33 sposób włączania i wyłączania śledzenia dla różnych sekcji kodu bez
34 potrzeby zamiany na komentarze kawałków kodu źródłowego.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make}
43
44 %{?with_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} pure_install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes README
58 %{perl_vendorlib}/Log/*.pm
59 %dir %{perl_vendorlib}/auto/Log
60 %dir %{perl_vendorlib}/auto/Log/TraceMessages
61 %{perl_vendorlib}/auto/Log/TraceMessages/autosplit.ix
62 %{_mandir}/man3/*
This page took 0.09369 seconds and 2 git commands to generate.