Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37558074
en ru br
Репозитории ALT
S:1.2-alt3
5.1: 1.2-alt1.M51.1
www.altlinux.org/Changes

Группа :: Development/Tools
Пакет: pgfouine

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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
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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin