Name: procps Version: 3.2.8 Release: 5mamba Summary: System and process monitoring utilities Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://procps.sf.net/ Source: http://procps.sourceforge.net/procps-%{version}.tar.gz Patch0: %{name}-3.2.8-sysinfo_7numbers.patch Patch1: %{name}-3.2.8-kernel-3.0.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libncurses-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-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 -q %patch0 -p1 %patch1 -p1 sed -i -e 's@\*/module.mk@proc/module.mk ps/module.mk@' Makefile %build %make \ CC=%{_target_platform}-gcc %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall \ install="install -D" \ lib=%{buildroot}/%{_lib}/ \ ldconfig=/bin/true # fixup strange shared library permissions chmod 755 %{buildroot}/%{_lib}/*.so %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" # add/remove libproc in the cache %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) /bin/kill /bin/ps /sbin/sysctl %{_bindir}/free %{_bindir}/pgrep %{_bindir}/pkill %{_bindir}/pmap %{_bindir}/pwdx %{_bindir}/skill %{_bindir}/slabtop %{_bindir}/snice %{_bindir}/tload %{_bindir}/top %{_bindir}/uptime %{_bindir}/vmstat %{_bindir}/w %{_bindir}/watch /%{_lib}/libproc-%{version}.so %{_mandir}/man?/* %doc AUTHORS BUGS COPYING* NEWS README README.top TODO %changelog * Sun Sep 18 2011 Silvan Calarco 3.2.8-5mamba - added patch to support 2 components kernel versions (3.0) * Sat May 07 2011 Silvan Calarco 3.2.8-4mamba - added a better patch to fix 'Unknown HZ value' message (see http://bugs.gentoo.org/show_bug.cgi?id=303120#c33) * Fri Aug 20 2010 Silvan Calarco 3.2.8-3mamba - fix the make 3.82 fix to restore build of /bin/ps * Wed Aug 18 2010 Silvan Calarco 3.2.8-2mamba - added Makefile fix for build with make 3.82 * Sat Jun 06 2009 Automatic Build System 3.2.8-1mamba - automatic update by autodist * Wed Jun 04 2008 Silvan Calarco 3.2.7-2mamba - specfile updated * Tue Oct 03 2006 Silvan Calarco 3.2.7-1qilnx - update to version 3.2.7 by autospec * Wed Jun 28 2006 Stefano Cotta Ramusino 3.2.6-1qilnx - update to version 3.2.6 by autospec * Mon Sep 12 2005 Silvan Calarco 3.2.5-1qilnx - update to version 3.2.5 by autospec * Fri Jul 09 2004 Silvan Calarco 3.2.1-1qilnx - new version build * Sun Nov 30 2003 Davide Madrisan 3.1.14-1qilnx - rebuilt with latest version (linux 2.6.x compatible version) * Wed Apr 09 2003 Mirko Cortillaro - write a spec file for procps