]> git.pld-linux.org Git - packages/perl-Apache-ParseLog.git/blob - perl-Apache-ParseLog.spec
use generic url
[packages/perl-Apache-ParseLog.git] / perl-Apache-ParseLog.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Apache
6 %define         pnam    ParseLog
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        Apache::ParseLog - object-oriented Perl extension for parsing Apache log files
9 Summary(pl.UTF-8):      Apache::ParseLog - obiektowy moduł Perla do analizowania logów Apache
10 Name:           perl-Apache-ParseLog
11 Version:        1.02
12 Release:        4
13 # same as perl
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:  92bd6a964a55e8f7cf0f50dbf77a5280
18 URL:            http://search.cpan.org/dist/Apache-ParseLog/
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 Apache::ParseLog provides an easy way to parse the Apache log files,
26 using object-oriented constructs. The data obtained using this module
27 are generic enough that it is flexible to use the data for your own
28 applications, such as CGI, simple text-only report generater, feeding
29 RDBMS, data for Perl/Tk-based GUI application, etc.
30
31 %description -l pl.UTF-8
32 Apache::ParseLog udostępnia łatwy sposób na analizowanie logów Apache
33 przy użyciu konstrukcji zorientowanych obiektowo. Dane, uzyskane przy
34 użyciu tego modułu są na tyle ogólne, że można ich w elastyczny sposób
35 używać we własnych aplikacjach, takich, jak CGI, proste tekstowe
36 generatory raportów, karmienie RDBMS, dane dla bazowanych na Perl/Tk
37 aplikacji GUI, itp.
38
39 %prep
40 %setup -q -n %{pdir}-%{pnam}-%{version}
41
42 %build
43 %{__perl} Makefile.PL \
44         INSTALLDIRS=vendor
45 %{__make}
46
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc *.txt Changes README
61 %{perl_vendorlib}/%{pdir}/*.pm
62 %{_mandir}/man3/*
This page took 0.07001 seconds and 3 git commands to generate.