]> git.pld-linux.org Git - packages/pgbadger.git/blame - pgbadger.spec
- up to 9.1
[packages/pgbadger.git] / pgbadger.spec
CommitLineData
98e03d87
AZ
1Summary: a fast PostgreSQL log analyzer
2Name: pgbadger
b108f233 3Version: 9.1
98e03d87
AZ
4Release: 1
5License: BSD
6Group: Applications/Databases
b41c3120 7Source0: https://github.com/dalibo/pgbadger/archive/v%{version}/%{name}-%{version}.tar.gz
b108f233 8# Source0-md5: 96452a153a9f601ad5a10b0d61a54a96
98e03d87
AZ
9URL: http://dalibo.github.com/pgbadger/
10BuildRequires: perl-devel >= 1:5.6
11BuildRequires: perl-ExtUtils-MakeMaker
12Requires: perl-base >= 1:5.6
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14BuildArch: noarch
15
16%description
17pgBadger is a PostgreSQL log analyzer build for speed with fully
18detailed reports from your PostgreSQL log file. It's a single and
19small Perl script that aims to replace and outperform the old php
20script pgFouine.
21
22pgBadger is written in pure Perl language. It uses a javascript
23library to draw graphs so that you don't need additional Perl modules
24or any other package to install. Furthermore, this library gives us
25more features such as zooming.
26
27pgBadger is able to autodetect your log file format (syslog, stderr or
28csvlog). It is designed to parse huge log files as well as gzip
29compressed file.
30
31%prep
32%setup -q
33
34%build
35%{__perl} Makefile.PL \
36 INSTALLDIRS=vendor
37
38%{__make}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42%{__make} pure_install \
43 PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%attr(755,root,root) %{_bindir}/%{name}
51%{_mandir}/man1/%{name}.1*
52
This page took 0.112184 seconds and 4 git commands to generate.