]> git.pld-linux.org Git - packages/pgbadger.git/blob - pgbadger.spec
fafc3566db3ee7843aa882aba24586c27954391d
[packages/pgbadger.git] / pgbadger.spec
1 Summary:        a fast PostgreSQL log analyzer
2 Name:           pgbadger
3 Version:        10.1
4 Release:        1
5 License:        BSD
6 Group:          Applications/Databases
7 Source0:        https://github.com/darold/pgbadger/archive/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  be64c6510960137b80bcd2327eaf8828
9 URL:            https://pgbadger.darold.net/
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)
14 BuildArch:      noarch
15
16 %description
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
20 script pgFouine.
21
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.
26
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
29 compressed file.
30
31 %prep
32 %setup -q
33
34 %build
35 %{__perl} Makefile.PL \
36                 INSTALLDIRS=vendor
37
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 %{__make} pure_install \
43         PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
44
45 %clean
46 rm -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.068464 seconds and 2 git commands to generate.