]> git.pld-linux.org Git - packages/perl-CGI-LogCarp.git/blob - perl-CGI-LogCarp.spec
use generic url
[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 %define         pdir    CGI
7 %define         pnam    LogCarp
8 %include        /usr/lib/rpm/macros.perl
9 Summary:        CGI::LogCarp perl module
10 Summary(pl.UTF-8):      Moduł perla CGI::LogCarp
11 Name:           perl-CGI-LogCarp
12 Version:        1.12
13 Release:        10
14 License:        GPL
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/CGI/LogCarp-%{version}.tar.gz
17 # Source0-md5:  850d4b10812339a95fd4b21680a4c692
18 URL:            http://search.cpan.org/dist/CGI-LogCarp/
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 CGI::LogCarp redefines the STDERR stream and allows the definition of
26 new STDBUG and STDLOG streams in such a way that all messages are
27 formatted similar to an HTTPD error log.
28
29 %description -l pl.UTF-8
30 CGI::LogCarp redefiniuje strumień STDERR i umożliwia zdefiniowanie
31 nowych strumieni STDEBUG i STDLOG w taki sposób, żeby wszystkie
32 informacje były formatowane w podobnym stylu jak logi serwera httpd.
33
34 %prep
35 %setup -q -n LogCarp-%{version}
36
37 %build
38 %{__perl} Makefile.PL \
39         INSTALLDIRS=vendor
40 %{__make}
41
42 %{?with_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc Changes README TODO
56 %{perl_vendorlib}/CGI/LogCarp.pm
57 %{_mandir}/man3/*
This page took 0.065966 seconds and 3 git commands to generate.