[packages/pgbadger] - initial

zawadaa zawadaa at pld-linux.org
Thu Nov 15 13:53:50 CET 2012


commit 98e03d877127e5bb20b4675638f290a272f237e8
Author: Andrzej Zawadzki <zawadaa at pld-linux.org>
Date:   Thu Nov 15 13:53:17 2012 +0100

    - initial

 pgbadger.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
---
diff --git a/pgbadger.spec b/pgbadger.spec
new file mode 100644
index 0000000..8d1f8c1
--- /dev/null
+++ b/pgbadger.spec
@@ -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*
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pgbadger.git/commitdiff/98e03d877127e5bb20b4675638f290a272f237e8



More information about the pld-cvs-commit mailing list