procps-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. %define origname procps-ng
  2. Summary: System and process monitoring utilities.
  3. Name: procps
  4. Version: 3.3.10
  5. Release: 2%{?_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.10-po-fix.patch
  16. Source10: procps-ng-3.3.10-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. * Sun Jun 21 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-2
  112. - fixed Source10.
  113. * Sat Jun 20 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.10-1
  114. - new upstream release.
  115. - updated Source10 and Patch10.
  116. * Wed May 14 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 3.3.9-1
  117. - update to forked version of procps 3.3.9
  118. - add minimum ja.po
  119. * Sat Sep 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.8-1
  120. - update to 3.2.8
  121. - add patch30 to fix top highlight bug
  122. (thanks to <BTS:916>)
  123. * Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.7-2
  124. - spec in utf-8
  125. * Thu Apr 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.7-1
  126. - new upstream release
  127. * Wed Sep 20 2006 IWAI, Masaharu <iwai@alib.jp> 3.2.6-0vl3
  128. - [BTS:205] update ja.po ( in Patch20 )
  129. * Tue Feb 14 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 3.2.6-0vl2
  130. - add Obsoletes: pgrep
  131. * Sun Feb 5 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 3.2.6-0vl1
  132. - upstream release
  133. - update Patch20
  134. - fix encode of spec file (SJIS -> EUC-JP)
  135. - add pwdx command (new from 3.2.4)
  136. * Thu Feb 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-0vl3
  137. - update gettext patch
  138. * Thu Feb 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-0vl2
  139. - add gettext patch (Patch20)
  140. still needs more work ( only for "free" and "uptime" )
  141. * Sun Feb 06 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-0vl1
  142. - new upstream release
  143. * Fri Apr 02 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.2.0-1vl1
  144. - modified for Vine
  145. - add obsoletes -X11 package
  146. * Tue Feb 24 2004 Dan Walsh <dwalsh@redhat.com> 3.2.0-1
  147. - New version from upstream
  148. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  149. - rebuilt
  150. * Thu Jan 22 2004 Dan Walsh <dwalsh@redhat.com> 3.1.15-3
  151. - Match -Z to --context
  152. * Wed Jan 21 2004 Dan Walsh <dwalsh@redhat.com> 3.1.15-2
  153. - Add back in -Z support
  154. * Wed Jan 21 2004 Alexander Larsson <alexl@redhat.com> 3.1.15-1
  155. - upgrade to procps3
  156. - Some regressions, see bug #114012
  157. * Tue Jan 20 2004 Dan Walsh <dwalsh@redhat.com> 2.0.17-7
  158. - Remove LIBCURSES from skill and sysctl
  159. * Wed Dec 10 2003 Dan Walsh <dwalsh@redhat.com> 2.0.17-6
  160. - Turn on SELinux
  161. * Mon Dec 8 2003 Alexander Larsson <alexl@redhat.com> 2.0.17-5
  162. - Fix top total percentages (#109484)
  163. * Wed Oct 15 2003 Dan Walsh <dwalsh@redhat.com> 2.0.17-4
  164. - Turn off selinux
  165. * Wed Oct 15 2003 Dan Walsh <dwalsh@redhat.com> 2.0.17-3.sel
  166. - Fix help message
  167. * Thu Oct 9 2003 Dan Walsh <dwalsh@redhat.com> 2.0.17-2.sel
  168. - Turn on selinux
  169. * Fri Oct 3 2003 Alexander Larsson <alexl@redhat.com> 2.0.17-1
  170. - Update to 2.0.17, drop upstream patches, forward port remaining patches
  171. * Fri Sep 5 2003 Dan Walsh <dwalsh@redhat.com> 2.0.13-11
  172. - Turn off selinux
  173. * Thu Aug 28 2003 Dan Walsh <dwalsh@redhat.com> 2.0.13-10.sel
  174. - Add -Z switch for SELinux
  175. * Sun Aug 17 2003 Doug Ledford <dledford@redhat.com> 2.0.13-9E
  176. - Add patch to recognize irq and softirq time accounting in kernels that
  177. support this feature
  178. * Mon Aug 11 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-8
  179. - rebuild
  180. * Mon Aug 11 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-7E
  181. - Add swapped patch from rik van riel
  182. * Wed Aug 6 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-6
  183. - rebuild
  184. * Wed Aug 6 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-5E
  185. - Update iowait patch (#101657)
  186. - Add wchan 64bit patch from Mark DeWandel
  187. * Mon Jul 28 2003 Dan Walsh <dwalsh@redhat.com> 2.0.13-4E
  188. - Add SELinux patch
  189. * Wed Jul 16 2003 Matt Wilson <msw@redhat.com> 2.0.13-3E
  190. - display iowait with procps-2.0.13-iowait.patch (#99061)
  191. * Fri Jul 11 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-2E
  192. - Disable linuxthreads thread hack
  193. * Mon Jul 7 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-1E
  194. - rebuild
  195. * Fri Jul 4 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-1
  196. - update to 2.0.13
  197. - Re-merged ntpl patch
  198. - Add hertz fix from Ernie Petrides <petrides@redhat.com>
  199. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  200. - rebuilt
  201. * Fri May 23 2003 Alexander Larsson <alexl@redhat.com> 2.0.12-1
  202. - Update to 2.0.12
  203. - Add patch to fix segfault on ps axl (#91453)
  204. * Fri Mar 14 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-7
  205. - Add patch that fixes negative priorities in top.
  206. * Thu Feb 20 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-6
  207. - New NPTL patch:
  208. - Added skipthreads optimization to top
  209. - Don't read threads in 'w'
  210. * Thu Feb 20 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-5
  211. - Update the NPTL patch since the kernel /proc was fixed
  212. - For kernels >= 2.4.20-2.50
  213. * Mon Feb 17 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-4
  214. - Update nptl patch to new /proc layout.
  215. * Wed Jan 22 2003 Tim Powers <timp@redhat.com> 2.0.11-3
  216. - rebuilt
  217. * Wed Jan 22 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-2
  218. - Created nptl patch after discussion with ingo and arjan
  219. * Tue Jan 21 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-1
  220. - Update to 2.0.11
  221. * Mon Dec 16 2002 Elliot Lee <sopwith@redhat.com> 2.0.10-4
  222. - Fix %%install in changelog
  223. * Tue Nov 19 2002 Jakub Jelinek <jakub@redhat.com> 2.0.10-3
  224. - Fix for Hammer
  225. * Wed Oct 23 2002 Alexander Larsson <alexl@redhat.com> 2.0.10-2
  226. - Remove uninstalled files in %%install. Add pmap to %%files
  227. * Tue Oct 8 2002 Alexander Larsson <alexl@redhat.com> 2.0.10-1
  228. - Update to 2.0.10
  229. - Removed applied patches.
  230. * Mon Aug 12 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-25
  231. - Add patch to protect against idle ticks going backwards. Fixes #71237
  232. * Thu Aug 8 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-24
  233. - Fix saving of sort, fixes #32757
  234. - Fix printing size, fixes #48224
  235. - Fix float decimal point input #58163
  236. * Thu Aug 8 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-23
  237. - Fix unsigned/signed bug. Closes #60998.
  238. - Update threadbadhack to correctly propagate process time to the main thread.
  239. * Wed Aug 7 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-22
  240. - Don't strip binaries
  241. * Fri Jul 12 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-21
  242. - Remove the X11 subpackage
  243. * Mon Jul 1 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-19
  244. - Added patch that fixes #35174
  245. * Wed Jun 26 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-18
  246. - New thread badhack patch. Fixes a segfault.
  247. * Mon Jun 24 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-16
  248. - New thread badhack. Now enabled by default.
  249. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  250. - automated rebuild
  251. * Thu Jun 20 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-14
  252. - Added badhack to support hiding threads
  253. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  254. - automated rebuild
  255. * Mon Apr 15 2002 Bill Nottingham <notting@redhat.com> 2.0.7-12
  256. - add ldconfig in %postun
  257. * Mon Aug 27 2001 Trond Eivind Glomsr藷?<teg@redhat.com> 2.0.7-11
  258. - Add ncurses-devel as a build dependency (#49562)
  259. * Sat Jul 21 2001 Tim Powers <timp@redhat.com>
  260. - removed applnk entry, one of the things that's cluttering our menus
  261. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  262. - Bump release + rebuild.
  263. * Thu Apr 5 2001 Jakub Jelinek <jakub@redhat.com>
  264. - fix AIX style user defined formats (#34833)
  265. * Thu Mar 22 2001 Bill Nottingham <notting@redhat.com>
  266. - add a '-e' to sysctl to ignore errors (#31852)
  267. * Mon Mar 5 2001 Preston Brown <pbrown@redhat.com>
  268. - bigger buffer for reading /proc/stat fixes segfault (#27840)
  269. * Thu Feb 1 2001 Preston Brown <pbrown@redhat.com>
  270. - make sysctl return a value when errors occur (#18820).
  271. - support big UIDs (#22683)
  272. * Mon Jan 22 2001 Helge Deller <hdeller@redhat.com>
  273. - work-around for negative CPU output (Bug #18380)
  274. * Thu Aug 17 2000 Than Ngo <than@redhat.com>
  275. - fix failing in RPM post script (Bug #16226)
  276. * Wed Jul 26 2000 Michael K. Johnson <johnsonm@redhat.com>
  277. - Added Jakub's locale patch
  278. * Fri Jul 14 2000 Michael K. Johnson <johnsonm@redhat.com>
  279. - procps-2.0.7
  280. - integrated all patches except for signames patch, which is broken
  281. and unnecessary
  282. - See NEWS for changes between 2.0.6 and 2.0.7
  283. - Added patch to correctly install desktop file. Oops.
  284. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  285. - automatic rebuild
  286. * Mon Jul 03 2000 Preston Brown <pbrown@redhat.com>
  287. - larger buffers for reading /proc/stat
  288. * Tue Jun 13 2000 Preston Brown <pbrown@redhat.com>
  289. - FHS paths
  290. * Tue May 30 2000 Preston Brown <pbrown@redhat.com>
  291. - add smp, signal name patches from VA Linux. Thanks guys.
  292. * Mon May 22 2000 Harald Hoyer <harald@redhat.com>
  293. - added sysctl.conf (5) man page
  294. * Wed May 10 2000 Bill Nottingham <notting@redhat.com>
  295. - fix PAGE_SIZE mismatch on ia64
  296. * Sun May 7 2000 Bill Nottingham <notting@redhat.com>
  297. - rebuild with different optimizations for ia64
  298. * Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  299. - rebuild with current ncurses
  300. * Tue Mar 7 2000 Bill Nottingham <notting@redhat.com>
  301. - fix end-of-file behavior in sysctl
  302. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  303. - wmconfig -> desktop
  304. * Mon Feb 7 2000 Jakub Jelinek <jakub@redhat.com>
  305. - don't try to load System.map (and spit error messages if it does not
  306. exist) if ps or top are not going to use it, both to speed things up
  307. and remove the ugly messages when they don't make sense.
  308. - in top, print the possible error messages using standard top SHOWMESSAGE
  309. (because it will be now printed out when already in terminal mode).
  310. * Thu Feb 3 2000 Matt Wilson <msw@redhat.com>
  311. - added patch to prevent divide by zero on UltraSparc
  312. - gzip man pages