procinfo-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. Summary: A tool for gathering and displaying system information.
  2. Summary(ja): システム情報をまとめて表示するツール
  3. Name: procinfo
  4. Version: 18
  5. Release: 15%{?_dist_release}
  6. License: GPL
  7. Group: Applications/System
  8. Source: ftp://ftp.cistron.nl/pub/people/svm/%{name}-%{version}.tar.bz2
  9. Patch0: procinfo-14-misc.patch
  10. Patch3: procinfo-17-mandir.patch
  11. Patch5: procinfo-17-uptime.patch
  12. Patch6: procinfo-17-lsdev.patch
  13. Patch7: procinfo-18-acct.patch
  14. Patch8: procinfo-18-mharris-use-sysconf.patch
  15. Patch9: procinfo-18-maxdev.patch
  16. ## Vine Patch(es)
  17. Patch10: procinfo-17-bindir.patch
  18. Buildroot: %{_tmppath}/%{name}-%{version}-root
  19. BuildPrereq: libtermcap-devel
  20. %description
  21. The procinfo command gets system data from the /proc directory (the
  22. kernel filesystem), formats it and displays it on standard output.
  23. You can use procinfo to acquire information about your system from the
  24. kernel as it is running.
  25. Install procinfo if you'd like to use it to gather and display system
  26. data.
  27. #'
  28. %description -l ja
  29. procinfo コマンドはシステムの情報を /proc ディレクトリ
  30. (カーネルファイルシステム) から取得し,整形して標準出力に
  31. 表示します.procinfo を使うと現在動作しているカーネルから,
  32. 利用中のシステムの情報を得ることが出来ます.
  33. システム情報をまとめて表示したい場合は procinfo をインストールして下さい.
  34. %prep
  35. %setup -q
  36. %patch0 -p1 -b .misc
  37. %patch3 -p1 -b .mandir
  38. %patch5 -p1 -b .uptime
  39. %patch6 -p1 -b .lsdev
  40. %patch7 -p1 -b .acct
  41. %patch8 -p1 -b .mharris-use-sysconf
  42. %patch9 -p1 -b .maxdev
  43. ## Vine Patch(es)
  44. %patch10 -p1 -b .bindir
  45. %build
  46. make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. mkdir -p $RPM_BUILD_ROOT/%{_bindir}
  50. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
  51. make install prefix=$RPM_BUILD_ROOT/usr \
  52. bindir=$RPM_BUILD_ROOT/%{_bindir} \
  53. mandir=$RPM_BUILD_ROOT/%{_mandir}
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %files
  57. %defattr(-,root,root)
  58. %doc README CHANGES
  59. %{_bindir}/procinfo
  60. %{_bindir}/lsdev
  61. %{_bindir}/socklist
  62. %{_mandir}/man8/procinfo.8*
  63. %{_mandir}/man8/lsdev.8*
  64. %{_mandir}/man8/socklist.8*
  65. %changelog
  66. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 18-15vl5
  67. - applied new versioning policy, spec in utf-8
  68. * Tue May 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 18-15vl1
  69. - based on 18-15 from Fedora development
  70. * Fri Dec 17 2004 Karel Zak <kzak@redhat.com> 18-14
  71. - fixed limit of devices (#89176)
  72. * Sat Jan 17 2004 Mike A. Harris <mharris@redhat.com> 18-11
  73. - Added procinfo-18-mharris-use-sysconf.patch to use sysconf for determining
  74. the number of processors online, as this is more portable between different
  75. CPU architectures than relying on particular /proc file entry contents and
  76. formatting. We ship on 7 architectures (x86, ia64, AMD64, ppc, ppc64,
  77. s390, s390x), and the current code only handled x86, alpha, sparc.
  78. sysconf will work on all processors. Better fix for (#9497)
  79. * Thu Jul 3 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 18-9vl1
  80. - based on 18-9 from Rawhide
  81. - s/Copyright/License/
  82. - added BuildPrereq: libtermcap-devel
  83. * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  84. - 17-10vl1
  85. - based on 17-10 from Rawhide
  86. - use better macros (%%{_bindir}) and added Patch10 for that
  87. - added Japanese summary and description
  88. * Mon Dec 11 2000 Erik Troan <ewt@redhat.com>
  89. - built on all archs
  90. * Thu Nov 16 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  91. - fix up lsdev (Bug #10295 and a couple of unreported bugs)
  92. - fix up calculation of uptime milliseconds (introduced by gcc acting
  93. differently from previous releases, t/100*100 != t*100/100)
  94. (Bug #20741)
  95. * Mon Oct 16 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  96. - Fix uptime calculation (Bug #18673)
  97. This problem was introduced by gcc acting differently from previous
  98. releases (t * 100 / HZ --> overflow; t / HZ * 100 ok).
  99. * Mon Oct 2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  100. - Fix CPU stats after very long uptimes (Bug #17391)
  101. * Tue Aug 8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  102. - Fix reported number of CPUs on sparc (Bug #9597)
  103. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  104. - automatic rebuild
  105. * Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
  106. - FHS man paths (patch3)
  107. - buildable as non-root (patch3)
  108. * Fri Feb 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  109. - Fix up the CPU detection patch (Bug #9497)
  110. * Sat Feb 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  111. - handle compressed man pages
  112. * Mon Oct 04 1999 Michael K. Johnson <johnsonm@redhat.com>
  113. - fix cpu detection on sparc and alpha
  114. * Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
  115. - upgraded to r17, which incorporates several of our patches + smp fixes
  116. - fix bug #1959
  117. * Tue Mar 23 1999 Preston Brown <pbrown@redhat.com>
  118. - patched to work with kernels with LOTS of IRQs. (bug 1616)
  119. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  120. - auto rebuild in the new build environment (release 2)
  121. * Fri Mar 12 1999 Michael Maher <mike@redhat.com>
  122. - updated to version 16
  123. - closed bug 1349
  124. * Fri Nov 20 1998 Michael K. Johnson <johnsonm@redhat.com>
  125. - updated to version 15 to fix bugzilla 70.
  126. * Fri Oct 2 1998 Jeff Johnson <jbj@redhat.com>
  127. - calculate time per-cent on non-{alpha,i386} correctly.
  128. * Thu Sep 10 1998 Cristian Gafton <gafton@redhat.com>
  129. - upgraded to version 14
  130. - fixed the spec file
  131. * Thu Apr 30 1998 Donnie Barnes <djb@redhat.com>
  132. - updated from 0.11 to 13
  133. - added socklist program
  134. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  135. - translations modified for de, fr, tr
  136. * Thu Oct 23 1997 Michael K. Johnson <johnsonm@redhat.com>
  137. - updated to version 0.11
  138. * Tue Jun 17 1997 Erik Troan <ewt@redhat.com>
  139. - built against glibc