Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 36646976
en ru br
ALT Linux repos
5.0: 1.0-alt1

Group :: Development/Tools
RPM: pgfouine

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: pgfouine
Version: 1.2
Release: alt2

Summary: PgFouine PostgreSQL log analyzer

BuildArch: noarch
License: GPL
Group: Development/Tools
Source0: %name-%version.tar
Source2: pgfouine-tutorial.txt

Patch1: pgfouine-0.7-include_path.patch

pgFouine is a PostgreSQL log analyzer. It generates text
or HTML reports from PostgreSQL log files. These reports
contain the list of the slowest queries, the queries that
take the most time and so on.

pgFouine can also:
- analyze VACUUM VERBOSE output to help you improve your
VACUUM strategy,
- generate Tsung sessions file to benchmark your
PostgreSQL server.

%setup -q
%patch1 -p0
sed -i 's! at INCLUDEPATH at !%_datadir/%name!' pgfouine_vacuum.php
sed -i 's! at INCLUDEPATH at !%_datadir/%name!' pgfouine.php

cp %SOURCE2 .


# creating required directories

install -m 755 -d %buildroot/%_datadir/%name
install -m 755 -d %buildroot/%_bindir

# installing pgFouine

for i in include version.php; do
cp -rp $i %buildroot/%_datadir/%name/

install -m 755 pgfouine.php %buildroot/%_bindir/
install -m 755 pgfouine_vacuum.php %buildroot/%_bindir/

%doc AUTHORS ChangeLog COPYING THANKS README pgfouine-tutorial.txt
%attr(0755, root, root) %_bindir/pgfouine.php
%attr(0755, root, root) %_bindir/pgfouine_vacuum.php


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin