source: projects/specs/branches/6/p/procps/procps-vl.spec @ 1903

Revision 1903, 13.1 KB checked in by daisuke, 14 years ago (diff)

procps: 3.2.8-1

  • update to 3.2.8
  • add patch30 to fix top highlight bug (thanks to <BTS:916>)
Line 
1Summary: System and process monitoring utilities.
2Name: procps
3Version: 3.2.8
4Release: 1%{?_dist_release}
5License: GPL
6Group: Applications/System
7Source: http://procps.sourceforge.net/procps-%{version}.tar.gz
8BuildRoot: %{_tmppath}/%{name}-%{version}-root
9Requires(post): /sbin/ldconfig, /bin/rm
10Requires(postun): /sbin/ldconfig
11Obsoletes: procps-X11, pgrep
12Patch4: procps-3.1.15-misc.patch
13
14# Vine patches
15Patch10: procps-3.2.0-make_install.patch
16Patch20: procps-3.2.7-gettext.patch
17# http://bts.vinelinux.org/VineLinux/916
18Patch30: procps-3.2.7-top-color.diff
19
20BuildRequires: ncurses-devel
21
22Vendor:       Project Vine
23Distribution: Vine Linux
24Packager: daisuke
25
26%description
27The procps package contains a set of system utilities that provide
28system information. Procps includes ps, free, skill, snice, tload,
29top, uptime, vmstat, w, and watch. The ps command displays a snapshot
30of running processes. The top command provides a repetitive update of
31the statuses of running processes. The free command displays the
32amounts of free and used memory on your system. The skill command
33sends a terminate command (or another specified signal) to a specified
34set of processes. The snice command is used to change the scheduling
35priority of specified processes. The tload command prints a graph of
36the current system load average to a specified tty. The uptime command
37displays the current time, how long the system has been running, how
38many users are logged on, and system load averages for the past one,
39five, and fifteen minutes. The w command displays a list of the users
40who are currently logged on and what they are running. The watch
41program watches a running program. The vmstat command displays virtual
42memory statistics about processes, memory, paging, block I/O, traps,
43and CPU activity.
44
45%description -l ja
46システムの状態を知るためのユーティリティ集です. 実行中のプロセス, 使用
47可能なメモリ容量, 現在ログインしているユーザの情報等を得ることができます.
48
49%prep
50%setup -q
51
52%patch4 -p1 -b .misc
53
54# vine
55%patch10 -p1 -b .mkinst
56%patch20 -p1 -b .gettext
57%patch30 -p1 -b .fix-top-highlight-bug
58
59%build
60PATH=/usr/X11R6/bin:$PATH
61
62%__make %{?_smp_mflags} CC="gcc $RPM_OPT_FLAGS" MANDIR=%{_mandir} W_SHOWFROM=-DW_SHOWFROM lib64=%{_lib}
63
64(cd po; %__make)
65
66%install
67rm -rf %{buildroot}
68mkdir -p %{buildroot}/bin %{buildroot}/usr/bin %{buildroot}/sbin
69mkdir -p %{buildroot}%{_mandir}/{man1,man5,man8}
70mkdir -p %{buildroot}/%{_lib} %{buildroot}/usr/X11R6/bin
71mkdir -p %{buildroot}/etc/X11/applnk/Utilities
72
73make ldconfig="/bin/true" DESTDIR=%{buildroot} SHLIBDIR=%{buildroot}/%{_lib} OWNERGROUP= MANDIR=%{_mandir} lib64=%{_lib} install
74
75(cd po; %makeinstall)
76
77%find_lang %{name}
78
79# Remove unpackaged files:
80rm -f %{buildroot}/bin/kill
81rm -f %{buildroot}%{_mandir}/man1/kill.1*
82
83%clean
84rm -rf %{buildroot}
85
86%post
87# add libproc to the cache
88/sbin/ldconfig
89# remove obsolete files
90rm -f /etc/psdevtab /etc/psdatabase
91
92%postun -p /sbin/ldconfig
93
94%files -f %{name}.lang
95%defattr(0644,root,root,755)
96%doc NEWS BUGS TODO
97%attr(755,root,root) /%{_lib}/libproc*
98%attr(555,root,root) /bin/ps
99%attr(555,root,root) /sbin/sysctl
100%attr(555,root,root) /usr/bin/uptime
101%attr(555,root,root) /usr/bin/tload
102%attr(555,root,root) /usr/bin/free
103%attr(555,root,root) /usr/bin/w
104%attr(555,root,root) /usr/bin/top
105%attr(555,root,root) /usr/bin/vmstat
106%attr(555,root,root) /usr/bin/watch
107%attr(555,root,root) /usr/bin/skill
108%attr(555,root,root) /usr/bin/snice
109%attr(555,root,root) /usr/bin/pgrep
110%attr(555,root,root) /usr/bin/pkill
111%attr(555,root,root) /usr/bin/pmap
112%attr(555,root,root) /usr/bin/slabtop
113%attr(555,root,root) /usr/bin/pwdx
114
115%attr(0644,root,root) %{_mandir}/man1/free.1*
116%attr(0644,root,root) %{_mandir}/man1/ps.1*
117%attr(0644,root,root) %{_mandir}/man1/skill.1*
118%attr(0644,root,root) %{_mandir}/man1/snice.1*
119%attr(0644,root,root) %{_mandir}/man1/pgrep.1*
120%attr(0644,root,root) %{_mandir}/man1/pkill.1*
121%attr(0644,root,root) %{_mandir}/man1/pmap.1*
122%attr(0644,root,root) %{_mandir}/man1/pwdx.1*
123%attr(0644,root,root) %{_mandir}/man1/slabtop.1*
124%attr(0644,root,root) %{_mandir}/man1/tload.1*
125%attr(0644,root,root) %{_mandir}/man1/top.1*
126%attr(0644,root,root) %{_mandir}/man1/uptime.1*
127%attr(0644,root,root) %{_mandir}/man1/w.1*
128%attr(0644,root,root) %{_mandir}/man1/watch.1*
129%attr(0644,root,root) %{_mandir}/man8/vmstat.8*
130%attr(0644,root,root) %{_mandir}/man8/sysctl.8*
131%attr(0644,root,root) %{_mandir}/man5/sysctl.conf.5*
132
133%changelog
134* Sat Sep 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.8-1
135- update to 3.2.8
136- add patch30 to fix top highlight bug
137  (thanks to <BTS:916>)
138
139* Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.7-2
140- spec in utf-8
141
142* Thu Apr 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.7-1
143- new upstream release
144
145* Wed Sep 20 2006 IWAI, Masaharu <iwai@alib.jp> 3.2.6-0vl3
146- [BTS:205] update ja.po ( in Patch20 )
147
148* Tue Feb 14 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 3.2.6-0vl2
149- add Obsoletes: pgrep
150
151* Sun Feb 5 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 3.2.6-0vl1
152- upstream release
153- update Patch20
154- fix encode of spec file (SJIS -> EUC-JP)
155- add pwdx command (new from 3.2.4)
156
157* Thu Feb 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-0vl3
158- update gettext patch
159
160* Thu Feb 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-0vl2
161- add gettext patch (Patch20)
162  still needs more work ( only for "free" and "uptime" )
163
164* Sun Feb 06 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-0vl1
165- new upstream release
166
167* Thu Apr 02 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.2.0-1vl1
168- modified for Vine
169- add obsoletes -X11 package
170
171* Tue Feb 24 2004 Dan Walsh <dwalsh@redhat.com> 3.2.0-1
172- New version from upstream
173
174* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
175- rebuilt
176
177* Thu Jan 22 2004 Dan Walsh <dwalsh@redhat.com> 3.1.15-3
178- Match -Z to --context
179
180* Wed Jan 21 2004 Dan Walsh <dwalsh@redhat.com> 3.1.15-2
181- Add back in -Z support
182
183* Wed Jan 21 2004 Alexander Larsson <alexl@redhat.com> 3.1.15-1
184- upgrade to procps3
185- Some regressions, see bug #114012
186
187* Tue Jan 20 2004 Dan Walsh <dwalsh@redhat.com> 2.0.17-7
188- Remove LIBCURSES from skill and sysctl
189
190* Wed Dec  10 2003 Dan Walsh <dwalsh@redhat.com> 2.0.17-6
191- Turn on SELinux
192
193* Mon Dec  8 2003 Alexander Larsson <alexl@redhat.com> 2.0.17-5
194- Fix top total percentages (#109484)
195
196* Wed Oct 15 2003 Dan Walsh <dwalsh@redhat.com> 2.0.17-4
197- Turn off selinux
198
199* Wed Oct 15 2003 Dan Walsh <dwalsh@redhat.com> 2.0.17-3.sel
200- Fix help message
201
202* Thu Oct 9 2003 Dan Walsh <dwalsh@redhat.com> 2.0.17-2.sel
203- Turn on selinux
204
205* Fri Oct  3 2003 Alexander Larsson <alexl@redhat.com> 2.0.17-1
206- Update to 2.0.17, drop upstream patches, forward port remaining patches
207
208* Fri Sep 5 2003 Dan Walsh <dwalsh@redhat.com> 2.0.13-11
209- Turn off selinux
210
211* Thu Aug 28 2003 Dan Walsh <dwalsh@redhat.com> 2.0.13-10.sel
212- Add -Z switch for SELinux
213
214* Sun Aug 17 2003 Doug Ledford <dledford@redhat.com> 2.0.13-9E
215- Add patch to recognize irq and softirq time accounting in kernels that
216  support this feature
217
218* Mon Aug 11 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-8
219- rebuild
220
221* Mon Aug 11 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-7E
222- Add swapped patch from rik van riel
223
224* Wed Aug  6 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-6
225- rebuild
226
227* Wed Aug  6 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-5E
228- Update iowait patch (#101657)
229- Add wchan 64bit patch from Mark DeWandel
230
231* Mon Jul 28 2003 Dan Walsh <dwalsh@redhat.com> 2.0.13-4E
232- Add SELinux patch
233
234* Wed Jul 16 2003 Matt Wilson <msw@redhat.com> 2.0.13-3E
235- display iowait with procps-2.0.13-iowait.patch (#99061)
236
237* Fri Jul 11 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-2E
238- Disable linuxthreads thread hack
239
240* Mon Jul  7 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-1E
241- rebuild
242
243* Fri Jul  4 2003 Alexander Larsson <alexl@redhat.com> 2.0.13-1
244- update to 2.0.13
245- Re-merged ntpl patch
246- Add hertz fix from Ernie Petrides <petrides@redhat.com>
247
248* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
249- rebuilt
250
251* Fri May 23 2003 Alexander Larsson <alexl@redhat.com> 2.0.12-1
252- Update to 2.0.12
253- Add patch to fix segfault on ps axl (#91453)
254
255* Fri Mar 14 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-7
256- Add patch that fixes negative priorities in top.
257
258* Thu Feb 20 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-6
259- New NPTL patch:
260- Added skipthreads optimization to top
261- Don't read threads in 'w'
262
263* Thu Feb 20 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-5
264- Update the NPTL patch since the kernel /proc was fixed
265- For kernels >= 2.4.20-2.50
266
267* Mon Feb 17 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-4
268- Update nptl patch to new /proc layout.
269
270* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 2.0.11-3
271- rebuilt
272
273* Wed Jan 22 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-2
274- Created nptl patch after discussion with ingo and arjan
275
276* Tue Jan 21 2003 Alexander Larsson <alexl@redhat.com> 2.0.11-1
277- Update to 2.0.11
278
279* Mon Dec 16 2002 Elliot Lee <sopwith@redhat.com> 2.0.10-4
280- Fix %%install in changelog
281
282* Tue Nov 19 2002 Jakub Jelinek <jakub@redhat.com> 2.0.10-3
283- Fix for Hammer
284
285* Wed Oct 23 2002 Alexander Larsson <alexl@redhat.com> 2.0.10-2
286- Remove uninstalled files in %%install. Add pmap to %%files
287
288* Tue Oct  8 2002 Alexander Larsson <alexl@redhat.com> 2.0.10-1
289- Update to 2.0.10
290- Removed applied patches.
291
292* Mon Aug 12 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-25
293- Add patch to protect against idle ticks going backwards. Fixes #71237
294
295* Thu Aug  8 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-24
296- Fix saving of sort, fixes #32757
297- Fix printing size, fixes #48224
298- Fix float decimal point input #58163
299
300* Thu Aug  8 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-23
301- Fix unsigned/signed bug. Closes #60998.
302- Update threadbadhack to correctly propagate process time to the main thread.
303
304* Wed Aug  7 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-22
305- Don't strip binaries
306
307* Fri Jul 12 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-21
308- Remove the X11 subpackage
309
310* Mon Jul  1 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-19
311- Added patch that fixes #35174
312
313* Wed Jun 26 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-18
314- New thread badhack patch. Fixes a segfault.
315
316* Mon Jun 24 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-16
317- New thread badhack. Now enabled by default.
318
319* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
320- automated rebuild
321
322* Thu Jun 20 2002 Alexander Larsson <alexl@redhat.com> 2.0.7-14
323- Added badhack to support hiding threads
324
325* Thu May 23 2002 Tim Powers <timp@redhat.com>
326- automated rebuild
327
328* Mon Apr 15 2002 Bill Nottingham <notting@redhat.com> 2.0.7-12
329- add ldconfig in %postun
330
331* Mon Aug 27 2001 Trond Eivind Glomsr藷?<teg@redhat.com> 2.0.7-11
332- Add ncurses-devel as a build dependency (#49562)
333
334* Sat Jul 21 2001 Tim Powers <timp@redhat.com>
335- removed applnk entry, one of the things that's cluttering our menus
336
337* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
338- Bump release + rebuild.
339
340* Thu Apr  5 2001 Jakub Jelinek <jakub@redhat.com>
341- fix AIX style user defined formats (#34833)
342
343* Thu Mar 22 2001 Bill Nottingham <notting@redhat.com>
344- add a '-e' to sysctl to ignore errors (#31852)
345
346* Mon Mar  5 2001 Preston Brown <pbrown@redhat.com>
347- bigger buffer for reading /proc/stat fixes segfault (#27840)
348
349* Thu Feb  1 2001 Preston Brown <pbrown@redhat.com>
350- make sysctl return a value when errors occur (#18820).
351- support big UIDs (#22683)
352
353* Mon Jan 22 2001 Helge Deller <hdeller@redhat.com>
354- work-around for negative CPU output (Bug #18380)
355
356* Thu Aug 17 2000 Than Ngo <than@redhat.com>
357- fix failing in RPM post script (Bug #16226)
358
359* Wed Jul 26 2000 Michael K. Johnson <johnsonm@redhat.com>
360- Added Jakub's locale patch
361
362* Fri Jul 14 2000 Michael K. Johnson <johnsonm@redhat.com>
363- procps-2.0.7
364- integrated all patches except for signames patch, which is broken
365  and unnecessary
366- See NEWS for changes between 2.0.6 and 2.0.7
367- Added patch to correctly install desktop file.  Oops.
368
369* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
370- automatic rebuild
371
372* Tue Jul 03 2000 Preston Brown <pbrown@redhat.com>
373- larger buffers for reading /proc/stat
374
375* Tue Jun 13 2000 Preston Brown <pbrown@redhat.com>
376- FHS paths
377
378* Tue May 30 2000 Preston Brown <pbrown@redhat.com>
379- add smp, signal name patches from VA Linux.  Thanks guys.
380
381* Mon May 22 2000 Harald Hoyer <harald@redhat.com>
382- added sysctl.conf (5) man page
383
384* Wed May 10 2000 Bill Nottingham <notting@redhat.com>
385- fix PAGE_SIZE mismatch on ia64
386
387* Sun May  7 2000 Bill Nottingham <notting@redhat.com>
388- rebuild with different optimizations for ia64
389
390* Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
391- rebuild with current ncurses
392
393* Tue Mar  7 2000 Bill Nottingham <notting@redhat.com>
394- fix end-of-file behavior in sysctl
395
396* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
397- wmconfig -> desktop
398
399* Mon Feb  7 2000 Jakub Jelinek <jakub@redhat.com>
400- don't try to load System.map (and spit error messages if it does not
401  exist) if ps or top are not going to use it, both to speed things up
402  and remove the ugly messages when they don't make sense.
403- in top, print the possible error messages using standard top SHOWMESSAGE
404  (because it will be now printed out when already in terminal mode).
405
406* Thu Feb  3 2000 Matt Wilson <msw@redhat.com>
407- added patch to prevent divide by zero on UltraSparc
408- gzip man pages
409
Note: See TracBrowser for help on using the repository browser.