]> git.pld-linux.org Git - packages/pgbadger.git/commitdiff
- initial auto/th/pgbadger-2.2-1
authorAndrzej Zawadzki <zawadaa@pld-linux.org>
Thu, 15 Nov 2012 12:53:17 +0000 (13:53 +0100)
committerAndrzej Zawadzki <zawadaa@pld-linux.org>
Thu, 15 Nov 2012 12:53:17 +0000 (13:53 +0100)
pgbadger.spec [new file with mode: 0644]

diff --git a/pgbadger.spec b/pgbadger.spec
new file mode 100644 (file)
index 0000000..8d1f8c1
--- /dev/null
@@ -0,0 +1,52 @@
+Summary:       a fast PostgreSQL log analyzer
+Name:          pgbadger
+Version:       2.2
+Release:       1
+License:       BSD
+Group:         Applications/Databases
+Source0:       https://github.com/downloads/dalibo/pgbadger/%{name}-%{version}-1.tar.gz
+# Source0-md5: 30dc51fe14e92e4ab6bfea2b006bb94c
+URL:           http://dalibo.github.com/pgbadger/
+BuildRequires: perl-devel >= 1:5.6
+BuildRequires: perl-ExtUtils-MakeMaker
+Requires:      perl-base >= 1:5.6
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildArch:     noarch
+
+%description
+pgBadger is a PostgreSQL log analyzer build for speed with fully
+detailed reports from your PostgreSQL log file. It's a single and
+small Perl script that aims to replace and outperform the old php
+script pgFouine.
+
+pgBadger is written in pure Perl language. It uses a javascript
+library to draw graphs so that you don't need additional Perl modules
+or any other package to install. Furthermore, this library gives us
+more features such as zooming.
+
+pgBadger is able to autodetect your log file format (syslog, stderr or
+csvlog). It is designed to parse huge log files as well as gzip
+compressed file.
+
+%prep
+%setup -q
+
+%build
+%{__perl} Makefile.PL \
+               INSTALLDIRS=vendor
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} pure_install \
+       PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1*
+
This page took 0.095005 seconds and 4 git commands to generate.