Changes of Revision 3
[-] | Added | pg_top.spec |
x 1
2 +# norootforbuild 3 +Summary: 'top' for PostgreSQL process 4 +Name: pg_top 5 +Version: 3.6.2 6 +Release: 1 7 +License: BSD 8 +Group: Applications/Databases 9 +Source0: http://pgfoundry.org/frs/download.php/1780/%{name}-%{version}.tar.bz2 10 +URL: http://pgfoundry.org/projects/ptop 11 +BuildRequires: postgresql-devel ncurses-devel 12 +Requires: postgresql-server 13 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 14 + 15 + 16 +%description 17 +pg_top is 'top' for PostgreSQL processes. See running queries, 18 +query plans, issued locks, and table and index statistics. 19 + 20 +%prep 21 +%setup -q -n %{name}-%{version} 22 + 23 +%build 24 +%configure 25 +make CFLAGS="%{optflags}" 26 + 27 +%install 28 +install -Dp -m 755 %{name} %{buildroot}%{_bindir}/%{name} 29 +install -Dp -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 30 + 31 +%clean 32 + 33 +%files 34 +%defattr(-,root,root,-) 35 +%{_mandir}/man1/%{name}* 36 +%{_bindir}/%{name} 37 +%doc FAQ HISTORY INSTALL LICENSE README TODO Y2K 38 + 39 +%changelog 40 |