procps-vl.spec 13 KB

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