Wed Dec 05 2001 Tom Tromey <tromey@redhat.com> - Bump release, force HAVE_WAIT3 to be defined at build time
87 lines
2.0 KiB
RPMSpec
87 lines
2.0 KiB
RPMSpec
Summary: A GNU utility for monitoring a program's use of system resources.
|
|
Name: time
|
|
Version: 1.7
|
|
Release: 15
|
|
License: GPL
|
|
Group: Applications/System
|
|
Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
|
|
Prefix: %{_prefix}
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
Prereq: /sbin/install-info
|
|
|
|
%description
|
|
The GNU time utility runs another program, collects information about
|
|
the resources used by that program while it is running, and displays
|
|
the results.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%configure
|
|
make CFLAGS='-DHAVE_WAIT3=1 -g -O'
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
%makeinstall
|
|
|
|
gzip -9nf %{buildroot}%{_infodir}/time.info
|
|
strip %{buildroot}/%{_bindir}/time
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%post
|
|
/sbin/install-info %{_infodir}/time.info.gz %{_infodir}/dir \
|
|
--entry="* time: (time). GNU time Utility"
|
|
|
|
%preun
|
|
if [ "$1" = 0 ]; then
|
|
/sbin/install-info --delete %{_infodir}/time.info.gz %{_infodir}/dir \
|
|
--entry="* time: (time). GNU time Utility"
|
|
fi
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc NEWS README
|
|
%{_bindir}/time
|
|
%{_infodir}/time.info*
|
|
|
|
%changelog
|
|
* Wed Dec 05 2001 Tom Tromey <tromey@redhat.com>
|
|
- Bump release, force HAVE_WAIT3 to be defined at build time
|
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
- Bump release + rebuild.
|
|
|
|
* Wed Jan 31 2001 Preston Brown <pbrown@redhat.com>
|
|
- prereq install-info (#24715)
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
- automatic rebuild
|
|
|
|
* Thu Jun 29 2000 Preston Brown <pbrown@redhat.com>
|
|
- using / as the file manifesto has weird results.
|
|
|
|
* Sun Jun 4 2000 Jeff Johnson <jbj@redhat.com>
|
|
- FHS packaging.
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
- auto rebuild in the new build environment (release 9)
|
|
|
|
* Mon Aug 10 1998 Erik Troan <ewt@redhat.com>
|
|
- buildrooted and defattr'd
|
|
|
|
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
|
- translations modified for de, fr, tr
|
|
|
|
* Mon Oct 27 1997 Cristian Gafton <gafton@redhat.com>
|
|
- fixed info handling
|
|
|
|
* Thu Oct 23 1997 Cristian Gafton <gafton@redhat.com>
|
|
- updated the spec file; added info file handling
|
|
|
|
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
|
|
- built against glibc
|