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