]> git.pld-linux.org Git - SPECS.git/blob - perl-Apache-ParseLog.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.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 Summary:        Apache::ParseLog - object-oriented Perl extension for parsing Apache log files
8 Summary(pl.UTF-8):      Apache::ParseLog - obiektowy moduł Perla do analizowania logów Apache
9 Name:           perl-Apache-ParseLog
10 Version:        1.02
11 Release:        4
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  92bd6a964a55e8f7cf0f50dbf77a5280
17 URL:            http://search.cpan.org/dist/Apache-ParseLog/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Apache::ParseLog provides an easy way to parse the Apache log files,
25 using object-oriented constructs. The data obtained using this module
26 are generic enough that it is flexible to use the data for your own
27 applications, such as CGI, simple text-only report generater, feeding
28 RDBMS, data for Perl/Tk-based GUI application, etc.
29
30 %description -l pl.UTF-8
31 Apache::ParseLog udostępnia łatwy sposób na analizowanie logów Apache
32 przy użyciu konstrukcji zorientowanych obiektowo. Dane, uzyskane przy
33 użyciu tego modułu są na tyle ogólne, że można ich w elastyczny sposób
34 używać we własnych aplikacjach, takich, jak CGI, proste tekstowe
35 generatory raportów, karmienie RDBMS, dane dla bazowanych na Perl/Tk
36 aplikacji GUI, itp.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc *.txt Changes README
60 %{perl_vendorlib}/%{pdir}/*.pm
61 %{_mandir}/man3/*
This page took 0.09753 seconds and 3 git commands to generate.