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