source: projects/specs/trunk/p/procps/procps-vl.spec @ 8796

Revision 8796, 12.7 KB checked in by daisuke, 10 years ago (diff)

procps:

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