Summary: System and process monitoring utilities Name: procps %define major_version 3 %define minor_version 1 %define revision 0 %define version %{major_version}.%{minor_version}.%{revision} Version: %{version} Release: 1 Copyright: GPL Group: Applications/System Source: http://procps.sf.net/procps-%{version}.tar.gz BuildRoot: /tmp/procps-root %description The procps package contains a set of system utilities which provide system information. Procps includes ps, free, sysctl, skill, snice, tload, top, uptime, vmstat, w, and watch. You need some of these. %prep %setup %build make CC="gcc $RPM_OPT_FLAGS" LDFLAGS=-s %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install=install install %clean rm -rf $RPM_BUILD_ROOT %post # add libproc to the cache /sbin/ldconfig %files %defattr(0644,root,root,755) %doc NEWS BUGS TODO COPYING COPYING.LIB README.top README AUTHORS %attr(555,root,root) /lib/libproc.so* %attr(555,root,root) /bin/* %attr(555,root,root) /sbin/* %attr(555,root,root) /usr/bin/* %attr(0644,root,root) /usr/man/man1/* %attr(0644,root,root) /usr/man/man8/*