procps-vl.spec 13 KB

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