Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37046248
en ru br
ALT Linux repositórios
S:1.2-alt3
5.0: 1.0-alt1

Group :: Development/Tools
RPM: pgfouine

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: pgfouine
Version: 1.0
Release: alt1

Summary: PgFouine PostgreSQL log analyzer

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

Patch1: pgfouine-0.7-include_path.patch

%description
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.

%prep
%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 .

%build
%install

# 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/
done

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

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

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009