psmisc-vl.spec 5.1 KB

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