procps-vl.spec 13 KB

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