1 | Summary: A GNU utility for monitoring a program's use of system resources. |
---|
2 | Summary(ja): プログラムのシステムリソース使用をモニタする GNU ユーティリティ |
---|
3 | Name: time |
---|
4 | Version: 1.7 |
---|
5 | Release: 22%{?_dist_release} |
---|
6 | License: GPLv2+ |
---|
7 | Group: Applications/System |
---|
8 | URL: http://www.gnu.org/software/time/ |
---|
9 | Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}/%{name}-%{version}.tar.gz |
---|
10 | Patch0: time-1.7-destdir.patch |
---|
11 | Patch1: time-1.7-verbose.patch |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | Requires(post,preun): /sbin/install-info |
---|
15 | |
---|
16 | %description |
---|
17 | The GNU time utility runs another program, collects information about |
---|
18 | the resources used by that program while it is running, and displays |
---|
19 | the results. |
---|
20 | |
---|
21 | %description -l ja |
---|
22 | GNU time ユーティリティは,他のプログラムを実行し,そのプログラムが |
---|
23 | 実行される際にシステムリソースをどの程度使用したかの情報を表示します. |
---|
24 | |
---|
25 | |
---|
26 | %prep |
---|
27 | %setup -q |
---|
28 | %patch0 -p1 |
---|
29 | %patch1 -p1 |
---|
30 | |
---|
31 | %build |
---|
32 | echo "ac_cv_func_wait3=\${ac_cv_func_wait3='yes'}" >> config.cache |
---|
33 | %configure |
---|
34 | make %{?_smp_mflags} |
---|
35 | |
---|
36 | %install |
---|
37 | rm -rf %{buildroot} |
---|
38 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
39 | |
---|
40 | %clean |
---|
41 | rm -rf %{buildroot} |
---|
42 | |
---|
43 | %post |
---|
44 | /sbin/install-info %{_infodir}/time.info.gz %{_infodir}/dir \ |
---|
45 | --entry="* time: (time). GNU time Utility" || : |
---|
46 | |
---|
47 | %preun |
---|
48 | if [ "$1" = 0 ]; then |
---|
49 | /sbin/install-info --delete %{_infodir}/time.info.gz %{_infodir}/dir \ |
---|
50 | --entry="* time: (time). GNU time Utility" || : |
---|
51 | fi |
---|
52 | |
---|
53 | %files |
---|
54 | %defattr(-,root,root) |
---|
55 | %doc NEWS README COPYING |
---|
56 | %{_bindir}/time |
---|
57 | %{_infodir}/time.info* |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Thu Oct 23 2008 Shu KONNO <owa@bg.wakwak.com> 1.7-22 |
---|
61 | - spec in utf-8 |
---|
62 | |
---|
63 | * Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-21 |
---|
64 | - applied new versioning policy |
---|
65 | - added Patches from Fedora |
---|
66 | * Tue Mar 4 2008 Roman Rakus <rrakus@redhat.cz> - 1.7-33 |
---|
67 | - Added patch from JW (redhat@zacglen.com), less nonverbose output |
---|
68 | * Tue Feb 27 2007 Karsten Hopp <karsten@redhat.com> 1.7-29 |
---|
69 | - use make install DESTDIR= |
---|
70 | |
---|
71 | * Wed Jun 07 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-20vl2 |
---|
72 | - rebuilt with new toolchains |
---|
73 | - updated source URL |
---|
74 | |
---|
75 | * Wed Dec 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.7-20vl1 |
---|
76 | - based on 1.7-20 from Rawhide and built for Vine Linux |
---|
77 | - added Japanese summary and description |
---|
78 | |
---|
79 | * Tue Nov 19 2002 Tim Powers <timp@redhat.com> |
---|
80 | - rebuild on all arches |
---|
81 | |
---|
82 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
83 | - automated rebuild |
---|
84 | |
---|
85 | * Wed Jun 19 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
86 | - do not strip apps, do not compress info page |
---|
87 | |
---|
88 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
89 | - automated rebuild |
---|
90 | |
---|
91 | * Mon Feb 25 2002 Elliot Lee <sopwith@redhat.com> |
---|
92 | - Remove HAVE_WAIT3 hack, tried to replace it with a requirement for an |
---|
93 | autoconf with the fixed test, didn't work, put in another less-bad hack |
---|
94 | instead. |
---|
95 | |
---|
96 | * Wed Dec 05 2001 Tom Tromey <tromey@redhat.com> |
---|
97 | - Bump release, force HAVE_WAIT3 to be defined at build time |
---|
98 | |
---|
99 | * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> |
---|
100 | - Bump release + rebuild. |
---|
101 | |
---|
102 | * Wed Jan 31 2001 Preston Brown <pbrown@redhat.com> |
---|
103 | - prereq install-info (#24715) |
---|
104 | |
---|
105 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
106 | - automatic rebuild |
---|
107 | |
---|
108 | * Thu Jun 29 2000 Preston Brown <pbrown@redhat.com> |
---|
109 | - using / as the file manifesto has weird results. |
---|
110 | |
---|
111 | * Sun Jun 4 2000 Jeff Johnson <jbj@redhat.com> |
---|
112 | - FHS packaging. |
---|
113 | |
---|
114 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
115 | - auto rebuild in the new build environment (release 9) |
---|
116 | |
---|
117 | * Mon Aug 10 1998 Erik Troan <ewt@redhat.com> |
---|
118 | - buildrooted and defattr'd |
---|
119 | |
---|
120 | * Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
---|
121 | - translations modified for de, fr, tr |
---|
122 | |
---|
123 | * Mon Oct 27 1997 Cristian Gafton <gafton@redhat.com> |
---|
124 | - fixed info handling |
---|
125 | |
---|
126 | * Thu Oct 23 1997 Cristian Gafton <gafton@redhat.com> |
---|
127 | - updated the spec file; added info file handling |
---|
128 | |
---|
129 | * Mon Jun 02 1997 Erik Troan <ewt@redhat.com> |
---|
130 | - built against glibc |
---|