procps-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. Summary: System and process monitoring utilities.
  2. Name: procps
  3. Version: 3.2.7
  4. Release: 2%{?_dist_release}
  5. License: GPL
  6. Group: Applications/System
  7. Source: http://procps.sourceforge.net/procps-%{version}.tar.gz
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. Requires(post): /sbin/ldconfig, /bin/rm
  10. Requires(postun): /sbin/ldconfig
  11. Obsoletes: procps-X11, pgrep
  12. Patch4: procps-3.1.15-misc.patch
  13. # Vine patches
  14. Patch10: procps-3.2.0-make_install.patch
  15. Patch20: procps-3.2.7-gettext.patch
  16. BuildRequires: ncurses-devel
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. The procps package contains a set of system utilities that provide
  21. system information. Procps includes ps, free, skill, snice, tload,
  22. top, uptime, vmstat, w, and watch. The ps command displays a snapshot
  23. of running processes. The top command provides a repetitive update of
  24. the statuses of running processes. The free command displays the
  25. amounts of free and used memory on your system. The skill command
  26. sends a terminate command (or another specified signal) to a specified
  27. set of processes. The snice command is used to change the scheduling
  28. priority of specified processes. The tload command prints a graph of
  29. the current system load average to a specified tty. The uptime command
  30. displays the current time, how long the system has been running, how
  31. many users are logged on, and system load averages for the past one,
  32. five, and fifteen minutes. The w command displays a list of the users
  33. who are currently logged on and what they are running. The watch
  34. program watches a running program. The vmstat command displays virtual
  35. memory statistics about processes, memory, paging, block I/O, traps,
  36. and CPU activity.
  37. %description -l ja
  38. システムの状態を知るためのユーティリティ集です. 実行中のプロセス, 使用
  39. 可能なメモリ容量, 現在ログインしているユーザの情報等を得ることができます.
  40. %prep
  41. %setup -q
  42. %patch4 -p1 -b .misc
  43. # vine
  44. %patch10 -p1 -b .mkinst
  45. %patch20 -p1 -b .gettext
  46. %build
  47. PATH=/usr/X11R6/bin:$PATH
  48. %__make %{?_smp_mflags} CC="gcc $RPM_OPT_FLAGS" MANDIR=%{_mandir} W_SHOWFROM=-DW_SHOWFROM lib64=%{_lib}
  49. (cd po; %__make)
  50. %install
  51. rm -rf %{buildroot}
  52. mkdir -p %{buildroot}/bin %{buildroot}/usr/bin %{buildroot}/sbin
  53. mkdir -p %{buildroot}%{_mandir}/{man1,man5,man8}
  54. mkdir -p %{buildroot}/%{_lib} %{buildroot}/usr/X11R6/bin
  55. mkdir -p %{buildroot}/etc/X11/applnk/Utilities
  56. make ldconfig="/bin/true" DESTDIR=%{buildroot} SHLIBDIR=%{buildroot}/%{_lib} OWNERGROUP= MANDIR=%{_mandir} lib64=%{_lib} install
  57. (cd po; %makeinstall)
  58. %find_lang %{name}
  59. # Remove unpackaged files:
  60. rm -f %{buildroot}/bin/kill
  61. rm -f %{buildroot}%{_mandir}/man1/kill.1*
  62. %clean
  63. rm -rf %{buildroot}
  64. %post
  65. # add libproc to the cache
  66. /sbin/ldconfig
  67. # remove obsolete files
  68. rm -f /etc/psdevtab /etc/psdatabase
  69. %postun -p /sbin/ldconfig
  70. %files -f %{name}.lang
  71. %defattr(0644,root,root,755)
  72. %doc NEWS BUGS TODO
  73. %attr(755,root,root) /%{_lib}/libproc*
  74. %attr(555,root,root) /bin/ps
  75. %attr(555,root,root) /sbin/sysctl
  76. %attr(555,root,root) /usr/bin/uptime
  77. %attr(555,root,root) /usr/bin/tload
  78. %attr(555,root,root) /usr/bin/free
  79. %attr(555,root,root) /usr/bin/w
  80. %attr(555,root,root) /usr/bin/top
  81. %attr(555,root,root) /usr/bin/vmstat
  82. %attr(555,root,root) /usr/bin/watch
  83. %attr(555,root,root) /usr/bin/skill
  84. %attr(555,root,root) /usr/bin/snice
  85. %attr(555,root,root) /usr/bin/pgrep
  86. %attr(555,root,root) /usr/bin/pkill
  87. %attr(555,root,root) /usr/bin/pmap
  88. %attr(555,root,root) /usr/bin/slabtop
  89. %attr(555,root,root) /usr/bin/pwdx
  90. %attr(0644,root,root) %{_mandir}/man1/free.1*
  91. %attr(0644,root,root) %{_mandir}/man1/ps.1*
  92. %attr(0644,root,root) %{_mandir}/man1/skill.1*
  93. %attr(0644,root,root) %{_mandir}/man1/snice.1*
  94. %attr(0644,root,root) %{_mandir}/man1/pgrep.1*
  95. %attr(0644,root,root) %{_mandir}/man1/pkill.1*
  96. %attr(0644,root,root) %{_mandir}/man1/pmap.1*
  97. %attr(0644,root,root) %{_mandir}/man1/pwdx.1*
  98. %attr(0644,root,root) %{_mandir}/man1/slabtop.1*
  99. %attr(0644,root,root) %{_mandir}/man1/tload.1*
  100. %attr(0644,root,root) %{_mandir}/man1/top.1*
  101. %attr(0644,root,root) %{_mandir}/man1/uptime.1*
  102. %attr(0644,root,root) %{_mandir}/man1/w.1*
  103. %attr(0644,root,root) %{_mandir}/man1/watch.1*
  104. %attr(0644,root,root) %{_mandir}/man8/vmstat.8*
  105. %attr(0644,root,root) %{_mandir}/man8/sysctl.8*
  106. %attr(0644,root,root) %{_mandir}/man5/sysctl.conf.5*
  107. %changelog
  108. * Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.7-2
  109. - spec in utf-8
  110. * Thu Apr 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.7-1
  111. - new upstream release
  112. * Wed Sep 20 2006 IWAI, Masaharu <iwai@alib.jp> 3.2.6-0vl3
  113. - [BTS:205] update ja.po ( in Patch20 )
  114. * Tue Feb 14 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 3.2.6-0vl2
  115. - add Obsoletes: pgrep
  116. * Sun Feb 5 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 3.2.6-0vl1
  117. - upstream release
  118. - update Patch20
  119. - fix encode of spec file (SJIS -> EUC-JP)
  120. - add pwdx command (new from 3.2.4)
  121. * Thu Feb 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-0vl3
  122. - update gettext patch
  123. * Thu Feb 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-0vl2
  124. - add gettext patch (Patch20)
  125. still needs more work ( only for "free" and "uptime" )
  126. * Sun Feb 06 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-0vl1
  127. - new upstream release
  128. * Thu Apr 02 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.2.0-1vl1
  129. - modified for Vine
  130. - add obsoletes -X11 package
  131. * Tue Feb 24 2004 Dan Walsh <dwalsh@redhat.com> 3.2.0-1
  132. - New version from upstream
  133. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  134. - rebuilt
  135. * Thu Jan 22 2004 Dan Walsh <dwalsh@redhat.com> 3.1.15-3
  136. - Match -Z to --context
  137. * Wed Jan 21 2004 Dan Walsh <dwalsh@redhat.com> 3.1.15-2
  138. - Add back in -Z support
  139. * Wed Jan 21 2004 Alexander Larsson <alexl@redhat.com> 3.1.15-1
  140. - upgrade to procps3
  141. - Some regressions, see bug #114012
  142. * Tue Jan 20 2004 Dan Walsh <dwalsh@redhat.com> 2.0.17-7
  143. - Remove LIBCURSES from skill and sysctl
  144. * Wed Dec 10 2003 Dan Walsh <dwalsh@redhat.com> 2.0.17-6
  145. - Turn on SELinux
  146. * Mon Dec 8 2003 Alexander Larsson <alexl@redhat.com> 2.0.17-5
  147. - Fix top total percentages (#109484)
  148. * Wed Oct 15 2003 Dan Walsh <dwalsh@redhat.com> 2.0.17-4
  149. - Turn off selinux
  150. * Wed Oct 15 2003 Dan Walsh <dwalsh@redhat.com> 2.0.17-3.sel
  151. - Fix help message
  152. * Thu Oct 9 2003 Dan Walsh <dwalsh@redhat.com> 2.0.17-2.sel
  153. - Turn on selinux
  154. * Fri Oct 3 2003 Alexander Larsson <alexl@redhat.com> 2.0.17-1
  155. - Update to 2.0.17, drop upstream patches, forward port remaining patches
  156. * Fri Sep 5 2003 Dan Walsh <dwalsh@redhat.com> 2.0.13-11
  157. - Turn off selinux
  158. * Thu Aug 28 2003 Dan Walsh <dwalsh@redhat.com> 2.0.13-10.sel
  159. - Add -Z switch for SELinux
  160. * Sun Aug 17 2003 Doug Ledford <dledford@redhat.com> 2.0.13-9E
  161. - Add patch to recognize irq and softirq time accounting in kernels that
  162. support this feature
  163. * Mon Aug 11 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-8
  164. - rebuild
  165. * Mon Aug 11 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-7E
  166. - Add swapped patch from rik van riel
  167. * Wed Aug 6 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-6
  168. - rebuild
  169. * Wed Aug 6 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-5E
  170. - Update iowait patch (#101657)
  171. - Add wchan 64bit patch from Mark DeWandel
  172. * Mon Jul 28 2003 Dan Walsh <dwalsh@redhat.com> 2.0.13-4E
  173. - Add SELinux patch
  174. * Wed Jul 16 2003 Matt Wilson <msw@redhat.com> 2.0.13-3E
  175. - display iowait with procps-2.0.13-iowait.patch (#99061)
  176. * Fri Jul 11 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-2E
  177. - Disable linuxthreads thread hack
  178. * Mon Jul 7 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-1E
  179. - rebuild
  180. * Fri Jul 4 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-1
  181. - update to 2.0.13
  182. - Re-merged ntpl patch
  183. - Add hertz fix from Ernie Petrides <petrides@redhat.com>
  184. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  185. - rebuilt
  186. * Fri May 23 2003 Alexander Larsson <alexl@redhat.com> 2.0.12-1
  187. - Update to 2.0.12
  188. - Add patch to fix segfault on ps axl (#91453)
  189. * Fri Mar 14 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-7
  190. - Add patch that fixes negative priorities in top.
  191. * Thu Feb 20 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-6
  192. - New NPTL patch:
  193. - Added skipthreads optimization to top
  194. - Don't read threads in 'w'
  195. * Thu Feb 20 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-5
  196. - Update the NPTL patch since the kernel /proc was fixed
  197. - For kernels >= 2.4.20-2.50
  198. * Mon Feb 17 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-4
  199. - Update nptl patch to new /proc layout.
  200. * Wed Jan 22 2003 Tim Powers <timp@redhat.com> 2.0.11-3
  201. - rebuilt
  202. * Wed Jan 22 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-2
  203. - Created nptl patch after discussion with ingo and arjan
  204. * Tue Jan 21 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-1
  205. - Update to 2.0.11
  206. * Mon Dec 16 2002 Elliot Lee <sopwith@redhat.com> 2.0.10-4
  207. - Fix %%install in changelog
  208. * Tue Nov 19 2002 Jakub Jelinek <jakub@redhat.com> 2.0.10-3
  209. - Fix for Hammer
  210. * Wed Oct 23 2002 Alexander Larsson <alexl@redhat.com> 2.0.10-2
  211. - Remove uninstalled files in %%install. Add pmap to %%files
  212. * Tue Oct 8 2002 Alexander Larsson <alexl@redhat.com> 2.0.10-1
  213. - Update to 2.0.10
  214. - Removed applied patches.
  215. * Mon Aug 12 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-25
  216. - Add patch to protect against idle ticks going backwards. Fixes #71237
  217. * Thu Aug 8 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-24
  218. - Fix saving of sort, fixes #32757
  219. - Fix printing size, fixes #48224
  220. - Fix float decimal point input #58163
  221. * Thu Aug 8 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-23
  222. - Fix unsigned/signed bug. Closes #60998.
  223. - Update threadbadhack to correctly propagate process time to the main thread.
  224. * Wed Aug 7 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-22
  225. - Don't strip binaries
  226. * Fri Jul 12 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-21
  227. - Remove the X11 subpackage
  228. * Mon Jul 1 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-19
  229. - Added patch that fixes #35174
  230. * Wed Jun 26 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-18
  231. - New thread badhack patch. Fixes a segfault.
  232. * Mon Jun 24 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-16
  233. - New thread badhack. Now enabled by default.
  234. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  235. - automated rebuild
  236. * Thu Jun 20 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-14
  237. - Added badhack to support hiding threads
  238. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  239. - automated rebuild
  240. * Mon Apr 15 2002 Bill Nottingham <notting@redhat.com> 2.0.7-12
  241. - add ldconfig in %postun
  242. * Mon Aug 27 2001 Trond Eivind Glomsr藷?<teg@redhat.com> 2.0.7-11
  243. - Add ncurses-devel as a build dependency (#49562)
  244. * Sat Jul 21 2001 Tim Powers <timp@redhat.com>
  245. - removed applnk entry, one of the things that's cluttering our menus
  246. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  247. - Bump release + rebuild.
  248. * Thu Apr 5 2001 Jakub Jelinek <jakub@redhat.com>
  249. - fix AIX style user defined formats (#34833)
  250. * Thu Mar 22 2001 Bill Nottingham <notting@redhat.com>
  251. - add a '-e' to sysctl to ignore errors (#31852)
  252. * Mon Mar 5 2001 Preston Brown <pbrown@redhat.com>
  253. - bigger buffer for reading /proc/stat fixes segfault (#27840)
  254. * Thu Feb 1 2001 Preston Brown <pbrown@redhat.com>
  255. - make sysctl return a value when errors occur (#18820).
  256. - support big UIDs (#22683)
  257. * Mon Jan 22 2001 Helge Deller <hdeller@redhat.com>
  258. - work-around for negative CPU output (Bug #18380)
  259. * Thu Aug 17 2000 Than Ngo <than@redhat.com>
  260. - fix failing in RPM post script (Bug #16226)
  261. * Wed Jul 26 2000 Michael K. Johnson <johnsonm@redhat.com>
  262. - Added Jakub's locale patch
  263. * Fri Jul 14 2000 Michael K. Johnson <johnsonm@redhat.com>
  264. - procps-2.0.7
  265. - integrated all patches except for signames patch, which is broken
  266. and unnecessary
  267. - See NEWS for changes between 2.0.6 and 2.0.7
  268. - Added patch to correctly install desktop file. Oops.
  269. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  270. - automatic rebuild
  271. * Tue Jul 03 2000 Preston Brown <pbrown@redhat.com>
  272. - larger buffers for reading /proc/stat
  273. * Tue Jun 13 2000 Preston Brown <pbrown@redhat.com>
  274. - FHS paths
  275. * Tue May 30 2000 Preston Brown <pbrown@redhat.com>
  276. - add smp, signal name patches from VA Linux. Thanks guys.
  277. * Mon May 22 2000 Harald Hoyer <harald@redhat.com>
  278. - added sysctl.conf (5) man page
  279. * Wed May 10 2000 Bill Nottingham <notting@redhat.com>
  280. - fix PAGE_SIZE mismatch on ia64
  281. * Sun May 7 2000 Bill Nottingham <notting@redhat.com>
  282. - rebuild with different optimizations for ia64
  283. * Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  284. - rebuild with current ncurses
  285. * Tue Mar 7 2000 Bill Nottingham <notting@redhat.com>
  286. - fix end-of-file behavior in sysctl
  287. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  288. - wmconfig -> desktop
  289. * Mon Feb 7 2000 Jakub Jelinek <jakub@redhat.com>
  290. - don't try to load System.map (and spit error messages if it does not
  291. exist) if ps or top are not going to use it, both to speed things up
  292. and remove the ugly messages when they don't make sense.
  293. - in top, print the possible error messages using standard top SHOWMESSAGE
  294. (because it will be now printed out when already in terminal mode).
  295. * Thu Feb 3 2000 Matt Wilson <msw@redhat.com>
  296. - added patch to prevent divide by zero on UltraSparc
  297. - gzip man pages