[3396] | 1 | Name: psmisc |
---|
[521] | 2 | Summary: Utilities for managing processes on your system. |
---|
| 3 | Summary(ja): システムのプロセスを管理するユーティリティ |
---|
[3396] | 4 | Version: 22.13 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | |
---|
[521] | 7 | Group: Applications/System |
---|
[3396] | 8 | License: GPLv2+ |
---|
| 9 | URL: http://sourceforge.net/projects/psmisc |
---|
| 10 | |
---|
[521] | 11 | Source: ftp://ftp.sf.net/pub/sourceforge/psmisc/psmisc-%{version}.tar.gz |
---|
[3396] | 12 | Patch1: psmisc-22.13-peekfd-segv.patch |
---|
| 13 | Patch2: psmisc-22.13-fuser-silent.patch |
---|
| 14 | Patch3: psmisc-22.13-killall-pgid.patch |
---|
| 15 | Patch4: psmisc-22.13-ppc64.patch |
---|
| 16 | |
---|
[521] | 17 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
[3396] | 18 | BuildRequires: gettext |
---|
| 19 | BuildRequires: ncurses-devel |
---|
[521] | 20 | BuildRequires: autoconf automake |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | The psmisc package contains utilities for managing processes on your |
---|
| 24 | system: pstree, killall and fuser. The pstree command displays a tree |
---|
| 25 | structure of all of the running processes on your system. The killall |
---|
| 26 | command sends a specified signal (SIGTERM if nothing is specified) to |
---|
| 27 | processes identified by name. The fuser command identifies the PIDs |
---|
| 28 | of processes that are using specified files or filesystems. |
---|
| 29 | |
---|
| 30 | %description -l ja |
---|
| 31 | psmisc パッケージには pstree, killall, fuser といった,システムの |
---|
| 32 | プロセスを管理するユーティリティが収められています.pstree コマンドは |
---|
| 33 | システム上で動作している全プロセスをツリー状に表示します. |
---|
| 34 | killall コマンドは,指定されたシグナル (何も指定しなければ SIGTERM) を |
---|
| 35 | 名前で指定したプロセスに送ります. |
---|
| 36 | fuser コマンドは,指定したファイルやファイルシステムを使用している |
---|
| 37 | プロセスの PID を特定します. |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %prep |
---|
| 41 | %setup -q |
---|
[3396] | 42 | %patch1 -p1 |
---|
| 43 | %patch2 -p1 |
---|
| 44 | %patch3 -p1 |
---|
| 45 | %patch4 -p1 |
---|
[521] | 46 | |
---|
| 47 | %build |
---|
| 48 | %configure --prefix=%{_prefix} |
---|
| 49 | make %{?_smp_mflags} |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | rm -rf $RPM_BUILD_ROOT |
---|
| 53 | # The rpm makeinstall macro breaks the build, so we do it the old way |
---|
| 54 | make install DESTDIR="$RPM_BUILD_ROOT" |
---|
| 55 | mkdir -p $RPM_BUILD_ROOT%{_syssbindir} |
---|
| 56 | mv $RPM_BUILD_ROOT%{_bindir}/fuser $RPM_BUILD_ROOT%{_syssbindir} |
---|
| 57 | |
---|
| 58 | %ifnarch %ix86 x86_64 ppc ppc64 |
---|
[3396] | 59 | rm -f $RPM_BUILD_ROOT/%{_bindir}/peekfd |
---|
[521] | 60 | rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/peekfd.1* |
---|
| 61 | %endif |
---|
| 62 | |
---|
| 63 | %find_lang %name |
---|
| 64 | |
---|
| 65 | %clean |
---|
| 66 | rm -rf $RPM_BUILD_ROOT |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %files -f %{name}.lang |
---|
| 70 | %defattr(-,root,root) |
---|
[3396] | 71 | %doc AUTHORS ChangeLog COPYING README |
---|
[521] | 72 | %{_syssbindir}/fuser |
---|
| 73 | %{_bindir}/killall |
---|
| 74 | %{_bindir}/pstree |
---|
| 75 | %{_bindir}/pstree.x11 |
---|
[3396] | 76 | %{_bindir}/prtstat |
---|
[521] | 77 | %{_mandir}/man1/fuser.1* |
---|
| 78 | %{_mandir}/man1/killall.1* |
---|
| 79 | %{_mandir}/man1/pstree.1* |
---|
[3396] | 80 | %{_mandir}/man1/prtstat.1* |
---|
[521] | 81 | %ifarch %ix86 x86_64 ppc ppc64 |
---|
| 82 | %{_bindir}/peekfd |
---|
| 83 | %{_mandir}/man1/peekfd.1* |
---|
| 84 | %endif |
---|
| 85 | |
---|
[3396] | 86 | %changelog |
---|
| 87 | * Sat Apr 9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 22.13-1 |
---|
| 88 | - updated to 22.13 |
---|
| 89 | - added Patch1-4 from Fedora |
---|
| 90 | * Thu Jan 27 2011 Jan Görig <jgorig@redhat.com> 22.13-7 |
---|
| 91 | - fix #671135 - peekfd utility doesn't work on ppc64 architecture |
---|
| 92 | * Fri Jan 7 2011 Jan Görig <jgorig@redhat.com> 22.13-6 |
---|
| 93 | - fix #666213 - uninitialized memory leading to `killall -g name` failure |
---|
| 94 | * Tue Nov 16 2010 Jan Görig <jgorig@redhat.com> 22.13-5 |
---|
| 95 | - fix #651794 - incorrect exit code of fuser -m -s |
---|
| 96 | * Thu Oct 14 2010 Jan Görig <jgorig@redhat.com> 22.13-3 |
---|
| 97 | - fix #642800 - peekfd regression |
---|
[521] | 98 | |
---|
| 99 | * Mon Aug 18 2008 Shu KONNO <owa@bg.wakwak.com> 22.6-2 |
---|
| 100 | - added psmisc-22.6-types.patch by fedora |
---|
| 101 | - added psmisc-22.6-pstree-overflow.patch by fedora |
---|
| 102 | |
---|
| 103 | * Sat Aug 16 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 22.6-1 |
---|
| 104 | - new upstream release |
---|
| 105 | - add peekfd to %%files on %%ix86, x86_64, ppc and ppc64 |
---|
| 106 | |
---|
| 107 | * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 22.5-2vl5 |
---|
| 108 | - applied new versioning policy, spec in utf-8 |
---|
| 109 | |
---|
| 110 | * Sat Oct 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 22.5-2vl1 |
---|
| 111 | - based on 22.5-2 from Fedora |
---|
| 112 | - rebuilt with new toolchains |
---|
| 113 | |
---|
| 114 | * Sun Jun 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 21.2-4vl1 |
---|
| 115 | - based on 21.2-4 from Redhat9 |
---|
| 116 | - dropped psmisc-17-buildroot.patch and psmisc-19-noroot.patch |
---|
| 117 | - rebuild with new toolchains |
---|
| 118 | |
---|
| 119 | * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 120 | - 19-4vl1 |
---|
| 121 | - based on 19-4 from Rawhide |
---|
| 122 | - use better macros (%%{_syssbindir}, %%{_bindir}) |
---|
| 123 | - added Japanese summary and description |
---|
| 124 | |
---|
| 125 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
| 126 | - automatic rebuild |
---|
| 127 | |
---|
| 128 | * Sun Jun 18 2000 Matt Wilson <msw@redhat.com> |
---|
| 129 | - FHS man paths |
---|
| 130 | - patch makefile to enable non-root builds |
---|
| 131 | |
---|
| 132 | * Sat Feb 5 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 133 | - Deal with compressed man pages |
---|
| 134 | |
---|
| 135 | * Sun Nov 21 1999 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 136 | - update to v19 |
---|
| 137 | - handle RPM_OPT_FLAGS |
---|
| 138 | |
---|
| 139 | * Mon Sep 27 1999 Bill Nottingham <notting@redhat.com> |
---|
| 140 | - move fuser to /sbin |
---|
| 141 | |
---|
| 142 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 143 | - auto rebuild in the new build environment (release 2) |
---|
| 144 | |
---|
| 145 | * Sat Mar 13 1999 Michael Maher <mike@redhat.com> |
---|
| 146 | - updated package |
---|
| 147 | |
---|
| 148 | * Fri May 01 1998 Prospector System <bugs@redhat.com> |
---|
| 149 | - translations modified for de, fr, tr |
---|
| 150 | |
---|
| 151 | * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 152 | - renamed the patch file .patch instead of .spec |
---|
| 153 | |
---|
| 154 | * Thu Apr 09 1998 Erik Troan <ewt@redhat.com> |
---|
| 155 | - updated to psmisc version 17 |
---|
| 156 | - buildrooted |
---|
| 157 | |
---|
| 158 | * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com> |
---|
| 159 | - updated from version 11 to version 16 |
---|
| 160 | - spec file cleanups |
---|
| 161 | |
---|
| 162 | * Tue Jun 17 1997 Erik Troan <ewt@redhat.com> |
---|
| 163 | - built against glibc |
---|