Summary: Utilities for managing processes on your system. Name: psmisc Version: 22.12 Release: 1ark License: BSD/GPL Group: Applications/System Source: http://mesh.dl.sourceforge.net/project/psmisc/psmisc/psmisc-%version.tar.gz Source1: gensig.sh URL: http://psmisc.sourceforge.net/ Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libtermcap-devel %description The psmisc package contains utilities for managing processes on your system: pstree, killall and fuser. The pstree command displays a tree structure of all of the running processes on your system. The killall command sends a specified signal (SIGTERM if nothing is specified) to processes identified by name. The fuser command identifies the PIDs of processes that are using specified files or filesystems. %prep %setup -q sh %{SOURCE1} >src/signames.h %build sed -i -e "s|^CFLAGS =|CFLAGS = $RPM_OPT_FLAGS -D_GNU_SOURCE|g" */Makefile.* %configure make %?_smp_mflags %install rm -rf $RPM_BUILD_ROOT make install DESTDIR="$RPM_BUILD_ROOT" mkdir -p $RPM_BUILD_ROOT/sbin mv $RPM_BUILD_ROOT%_bindir/fuser $RPM_BUILD_ROOT/sbin %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) /sbin/fuser %_bindir/killall %_bindir/pstree %_mandir/man1/fuser.1* %_mandir/man1/killall.1* %_mandir/man1/pstree.1* %changelog * Fri Sep 3 2010 Bernhard Rosenkraenzer <bero@arklinux.ch> 22.12-1ark - 22.12 * Sat Aug 12 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 22.2-1ark - 22.2 * Mon Aug 26 2002 Ark Linux Team <arklinux@arklinux.org> 20.2-3.74ark - automated rebuild