Summary: PgFouine PostgreSQL log analyzer Summary(pl.UTF-8): PgFouine - analizator logów PostgreSQL-a Name: pgfouine Version: 1.2 Release: 2 License: GPL Group: Development/Tools Source0: http://pgfouine.projects.postgresql.org/releases/%{name}-%{version}.tar.gz # Source0-md5: 9d15056365cd3e6447887cc765008f07 Patch0: %{name}-include_path.patch URL: http://pgfouine.projects.postgresql.org/ BuildRequires: rpmbuild(macros) >= 1.268 BuildRequires: tar >= 1:1.15.1 Requires: php(gd) BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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. %description -l pl.UTF-8 pgFouine to analizator logów PostgreSQL-a. Generuje raporty tekstowe lub w HTML-u z plików logów PostgreSQL-a. Raporty te zawierają listę najwolniejszych zapytań, zapytania, które zajęły najwięcej czasu itp. pgFouine potrafi także: - analizować wyjście VACUUM VERBOSE, aby pomóc przy poprawianiu strategii VACUUM, - generować pliki sesji Tsunga do mierzenia wydajności serwera PostgreSQL. %prep %setup -q %patch0 -p1 %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} cp -a include version.php $RPM_BUILD_ROOT%{_datadir}/%{name} cp -a pgfouine{,_vacuum}.php $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog THANKS README rpm-specific/sources/pgfouine-tutorial.txt %attr(755,root,root) %{_bindir}/pgfouine*.php %{_datadir}/%{name}