Summary: A utility which displays running processes in a hierachy Name: pstree Version: 2.38 Release: 1 License: GPL Group: Applications/System Url: http://freshmeat.net/projects/pstree/ Source0: ftp://ftp.thp.uni-duisburg.de/pub/source/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description pstree is a utility which displays running processes in a hierachy. It is useful for examining from whence a process was started. It has several options to make selection criteria and to change the output style. %prep %setup -q -c %build xlc_r -O -o %{name} %{name}.c %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} cp %{name} ${RPM_BUILD_ROOT}%{_bindir} chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/* /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc README %{_bindir}/* /usr/bin/* %changelog * Thu Jul 07 2016 Michael Perzl - 2.38-1 - updated to version 2.38 * Fri May 03 2013 Michael Perzl - 2.36-1 - updated to version 2.36 * Mon Mar 18 2013 Michael Perzl - 2.35-1 - updated to version 2.35 * Sat Nov 20 2010 Michael Perzl - 2.33-1 - updated to version 2.33 * Fri Mar 14 2008 Michael Perzl - 2.32-1 - first version for AIX V5.1 and higher