2004-09-09 10:47:38 +00:00
|
|
|
Summary: Utilities for managing processes on your system.
|
|
|
|
Name: psmisc
|
2004-09-09 10:47:58 +00:00
|
|
|
Version: 20.1
|
2004-09-09 10:48:16 +00:00
|
|
|
Release: 2
|
|
|
|
License: BSD/GPL
|
2004-09-09 10:47:38 +00:00
|
|
|
Group: Applications/System
|
2004-09-09 10:47:58 +00:00
|
|
|
Source: ftp://prdownloads.sourceforge.net/psmisc/psmisc-%{version}.tar.bz2
|
|
|
|
URL: http://psmisc.sourceforge.net/
|
2004-09-09 10:47:38 +00:00
|
|
|
Buildroot: /var/tmp/psmisc-root
|
2004-09-09 10:48:16 +00:00
|
|
|
BuildRequires: libtermcap-devel
|
2004-09-09 10:47:38 +00:00
|
|
|
|
|
|
|
%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
|
2004-09-09 10:47:58 +00:00
|
|
|
%setup -q
|
2004-09-09 10:47:38 +00:00
|
|
|
|
|
|
|
%build
|
2004-09-09 10:47:58 +00:00
|
|
|
%configure --prefix=/usr
|
2004-09-09 10:47:38 +00:00
|
|
|
make 'LDFLAGS=-s' CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DPSMISC_VERSION=\\\"`cat VERSION`\\\""
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2004-09-09 10:47:58 +00:00
|
|
|
make install DESTDIR="$RPM_BUILD_ROOT"
|
2004-09-09 10:47:38 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/sbin
|
2004-09-09 10:47:58 +00:00
|
|
|
mv $RPM_BUILD_ROOT/usr/bin/fuser $RPM_BUILD_ROOT/sbin
|
2004-09-09 10:47:38 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/sbin/fuser
|
|
|
|
/usr/bin/killall
|
|
|
|
/usr/bin/pstree
|
|
|
|
%{_mandir}/man1/fuser.1*
|
|
|
|
%{_mandir}/man1/killall.1*
|
|
|
|
%{_mandir}/man1/pstree.1*
|
|
|
|
|
|
|
|
%changelog
|
2004-09-09 10:48:16 +00:00
|
|
|
* Sat Jul 21 2001 Bernhard Rosenkraenzer <bero@redhat.com> 20.1-2
|
|
|
|
- Add BuildRequires (#49562)
|
|
|
|
- s/Copyright/License/
|
|
|
|
- Fix license (it's actually dual-licensed BSD/GPL, not just "distributable")
|
|
|
|
|
2004-09-09 10:47:58 +00:00
|
|
|
* Wed Apr 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 20.1-1
|
|
|
|
- 20.1
|
|
|
|
|
2004-09-09 10:47:38 +00:00
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
|
|
|
|
- FHS man paths
|
|
|
|
- patch makefile to enable non-root builds
|
|
|
|
|
|
|
|
* Sat Feb 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- Deal with compressed man pages
|
|
|
|
|
|
|
|
* Sun Nov 21 1999 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- update to v19
|
|
|
|
- handle RPM_OPT_FLAGS
|
|
|
|
|
|
|
|
* Mon Sep 27 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
- move fuser to /sbin
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 2)
|
|
|
|
|
|
|
|
* Sat Mar 13 1999 Michael Maher <mike@redhat.com>
|
|
|
|
- updated package
|
|
|
|
|
|
|
|
* Fri May 01 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- renamed the patch file .patch instead of .spec
|
|
|
|
|
|
|
|
* Thu Apr 09 1998 Erik Troan <ewt@redhat.com>
|
|
|
|
- updated to psmisc version 17
|
|
|
|
- buildrooted
|
|
|
|
|
|
|
|
* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- updated from version 11 to version 16
|
|
|
|
- spec file cleanups
|
|
|
|
|
|
|
|
* Tue Jun 17 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|