1 Summary: a fast PostgreSQL log analyzer
6 Group: Applications/Databases
7 Source0: http://downloads.sourceforge.net/project/pgbadger/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: d494f7e956a29a47566a479303a20c4e
9 URL: http://dalibo.github.com/pgbadger/
10 BuildRequires: perl-devel >= 1:5.6
11 BuildRequires: perl-ExtUtils-MakeMaker
12 Requires: perl-base >= 1:5.6
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 pgBadger is a PostgreSQL log analyzer build for speed with fully
18 detailed reports from your PostgreSQL log file. It's a single and
19 small Perl script that aims to replace and outperform the old php
22 pgBadger is written in pure Perl language. It uses a javascript
23 library to draw graphs so that you don't need additional Perl modules
24 or any other package to install. Furthermore, this library gives us
25 more features such as zooming.
27 pgBadger is able to autodetect your log file format (syslog, stderr or
28 csvlog). It is designed to parse huge log files as well as gzip
35 %{__perl} Makefile.PL \
41 rm -rf $RPM_BUILD_ROOT
42 %{__make} pure_install \
43 PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_bindir}/%{name}
51 %{_mandir}/man1/%{name}.1*