]> git.pld-linux.org Git - packages/perl-CGI-LogCarp.git/blob - perl-CGI-LogCarp.spec
12e7a20ede593234d0641517d3b341d9986acfc1
[packages/perl-CGI-LogCarp.git] / perl-CGI-LogCarp.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test"
4                         # "i'm dumb therefore i fail"
5 #
6 %include        /usr/lib/rpm/macros.perl
7 Summary:        CGI::LogCarp perl module
8 Summary(pl.UTF-8):      Moduł perla CGI::LogCarp
9 Name:           perl-CGI-LogCarp
10 Version:        1.12
11 Release:        10
12 License:        GPL
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/CGI/LogCarp-%{version}.tar.gz
15 # Source0-md5:  850d4b10812339a95fd4b21680a4c692
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 CGI::LogCarp redefines the STDERR stream and allows the definition of
23 new STDBUG and STDLOG streams in such a way that all messages are
24 formatted similar to an HTTPD error log.
25
26 %description -l pl.UTF-8
27 CGI::LogCarp redefiniuje strumień STDERR i umożliwia zdefiniowanie
28 nowych strumieni STDEBUG i STDLOG w taki sposób, żeby wszystkie
29 informacje były formatowane w podobnym stylu jak logi serwera httpd.
30
31 %prep
32 %setup -q -n LogCarp-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc Changes README TODO
53 %{perl_vendorlib}/CGI/LogCarp.pm
54 %{_mandir}/man3/*
This page took 0.062544 seconds and 2 git commands to generate.