Search
j0ke.net Open Build Service
>
Projects
>
server:database
:
postgresql
>
pg_top
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Added
pg_top.spec
@@ -0,0 +1,38 @@ +# norootforbuild +Summary: 'top' for PostgreSQL process +Name: pg_top +Version: 3.6.2 +Release: 1 +License: BSD +Group: Applications/Databases +Source0: http://pgfoundry.org/frs/download.php/1780/%{name}-%{version}.tar.bz2 +URL: http://pgfoundry.org/projects/ptop +BuildRequires: postgresql-devel ncurses-devel +Requires: postgresql-server +BuildRoot: %{_tmppath}/%{name}-%{version}-build + + +%description +pg_top is 'top' for PostgreSQL processes. See running queries, +query plans, issued locks, and table and index statistics. + +%prep +%setup -q -n %{name}-%{version} + +%build +%configure +make CFLAGS="%{optflags}" + +%install +install -Dp -m 755 %{name} %{buildroot}%{_bindir}/%{name} +install -Dp -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 + +%clean + +%files +%defattr(-,root,root,-) +%{_mandir}/man1/%{name}* +%{_bindir}/%{name} +%doc FAQ HISTORY INSTALL LICENSE README TODO Y2K + +%changelog