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