psmisc-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. Name: psmisc
  2. Summary: Utilities for managing processes on your system.
  3. Summary(ja): システムのプロセスを管理するユーティリティ
  4. Version: 23.4
  5. Release: 1%{?_dist_release}
  6. Group: 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. %debug_package
  32. %prep
  33. %setup -q
  34. %build
  35. %configure --prefix=%{_prefix}
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. # The rpm makeinstall macro breaks the build, so we do it the old way
  40. make install DESTDIR="$RPM_BUILD_ROOT"
  41. mkdir -p $RPM_BUILD_ROOT%{_syssbindir}
  42. mv $RPM_BUILD_ROOT%{_bindir}/fuser $RPM_BUILD_ROOT%{_syssbindir}
  43. %ifnarch %ix86 x86_64 ppc ppc64
  44. rm -f $RPM_BUILD_ROOT/%{_bindir}/peekfd
  45. rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/peekfd.1*
  46. %endif
  47. %find_lang %name --all-name --with-man
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %files -f %{name}.lang
  51. %defattr(-,root,root)
  52. %license COPYING
  53. %doc AUTHORS ChangeLog README
  54. %{_syssbindir}/fuser
  55. %{_bindir}/killall
  56. %{_bindir}/pslog
  57. %{_bindir}/pstree
  58. %{_bindir}/pstree.x11
  59. %{_bindir}/prtstat
  60. %{_mandir}/man1/fuser.1*
  61. %{_mandir}/man1/killall.1*
  62. %{_mandir}/man1/pslog.1*
  63. %{_mandir}/man1/pstree.1*
  64. %{_mandir}/man1/prtstat.1*
  65. %ifarch %ix86 x86_64 ppc ppc64
  66. %{_bindir}/peekfd
  67. %{_mandir}/man1/peekfd.1*
  68. %endif
  69. %changelog
  70. * Thu Mar 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 23.4-1
  71. - updated to 23.4.
  72. * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 23.2-1
  73. - updated to 23.2.
  74. * Fri May 23 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 22.21-1
  75. - update to 22.21
  76. * Sat Apr 9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 22.13-1
  77. - updated to 22.13
  78. - added Patch1-4 from Fedora
  79. * Thu Jan 27 2011 Jan Görig <jgorig@redhat.com> 22.13-7
  80. - fix #671135 - peekfd utility doesn't work on ppc64 architecture
  81. * Fri Jan 7 2011 Jan Görig <jgorig@redhat.com> 22.13-6
  82. - fix #666213 - uninitialized memory leading to `killall -g name` failure
  83. * Tue Nov 16 2010 Jan Görig <jgorig@redhat.com> 22.13-5
  84. - fix #651794 - incorrect exit code of fuser -m -s
  85. * Thu Oct 14 2010 Jan Görig <jgorig@redhat.com> 22.13-3
  86. - fix #642800 - peekfd regression
  87. * Mon Aug 18 2008 Shu KONNO <owa@bg.wakwak.com> 22.6-2
  88. - added psmisc-22.6-types.patch by fedora
  89. - added psmisc-22.6-pstree-overflow.patch by fedora
  90. * Sat Aug 16 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 22.6-1
  91. - new upstream release
  92. - add peekfd to %%files on %%ix86, x86_64, ppc and ppc64
  93. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 22.5-2vl5
  94. - applied new versioning policy, spec in utf-8
  95. * Sat Oct 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 22.5-2vl1
  96. - based on 22.5-2 from Fedora
  97. - rebuilt with new toolchains
  98. * Sun Jun 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 21.2-4vl1
  99. - based on 21.2-4 from Redhat9
  100. - dropped psmisc-17-buildroot.patch and psmisc-19-noroot.patch
  101. - rebuild with new toolchains
  102. * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  103. - 19-4vl1
  104. - based on 19-4 from Rawhide
  105. - use better macros (%%{_syssbindir}, %%{_bindir})
  106. - added Japanese summary and description
  107. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  108. - automatic rebuild
  109. * Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
  110. - FHS man paths
  111. - patch makefile to enable non-root builds
  112. * Sat Feb 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  113. - Deal with compressed man pages
  114. * Sun Nov 21 1999 Bernhard Rosenkraenzer <bero@redhat.com>
  115. - update to v19
  116. - handle RPM_OPT_FLAGS
  117. * Mon Sep 27 1999 Bill Nottingham <notting@redhat.com>
  118. - move fuser to /sbin
  119. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  120. - auto rebuild in the new build environment (release 2)
  121. * Sat Mar 13 1999 Michael Maher <mike@redhat.com>
  122. - updated package
  123. * Fri May 01 1998 Prospector System <bugs@redhat.com>
  124. - translations modified for de, fr, tr
  125. * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
  126. - renamed the patch file .patch instead of .spec
  127. * Thu Apr 09 1998 Erik Troan <ewt@redhat.com>
  128. - updated to psmisc version 17
  129. - buildrooted
  130. * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
  131. - updated from version 11 to version 16
  132. - spec file cleanups
  133. * Tue Jun 17 1997 Erik Troan <ewt@redhat.com>
  134. - built against glibc