psmisc-vl.spec 4.9 KB

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