Blame SPECS/time.spec

abc9d8
Summary: A GNU utility for monitoring a program's use of system resources
abc9d8
Name: time
abc9d8
Version: 1.7
abc9d8
Release: 45%{?dist}
abc9d8
License: GPLv2+
abc9d8
Group: Applications/System
abc9d8
Url: http://www.gnu.org/software/time/
abc9d8
Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}/%{name}-%{version}.tar.gz
abc9d8
Patch0: time-1.7-destdir.patch
abc9d8
Patch1: time-1.7-verbose.patch
abc9d8
# Bug #702826
abc9d8
Patch2: time-1.7-ru_maxrss-is-in-kilobytes-on-Linux.patch
abc9d8
# Bug #527276
abc9d8
Patch3: time-1.7-Recompute-CPU-usage-at-microsecond-level.patch
abc9d8
Requires(post): /sbin/install-info
abc9d8
Requires(preun): /sbin/install-info
abc9d8
abc9d8
%description
abc9d8
The GNU time utility runs another program, collects information about
abc9d8
the resources used by that program while it is running, and displays
abc9d8
the results.
abc9d8
abc9d8
%prep
abc9d8
%setup -q
abc9d8
%patch0 -p1
abc9d8
%patch1 -p1
abc9d8
%patch2 -p1 -b .ru_maxrss
abc9d8
%patch3 -p1 -b .recompute_cpu
abc9d8
abc9d8
%build
abc9d8
echo "ac_cv_func_wait3=\${ac_cv_func_wait3='yes'}" >> config.cache
abc9d8
%configure
abc9d8
make %{?_smp_mflags}
abc9d8
abc9d8
%install
abc9d8
make install DESTDIR=$RPM_BUILD_ROOT
abc9d8
abc9d8
%post
abc9d8
/sbin/install-info %{_infodir}/time.info.gz %{_infodir}/dir \
abc9d8
    --entry="* time: (time).        GNU time Utility" >/dev/null 2>&1 || :
abc9d8
abc9d8
%preun
abc9d8
if [ "$1" = 0 ]; then
abc9d8
    /sbin/install-info --delete %{_infodir}/time.info.gz %{_infodir}/dir \
abc9d8
    --entry="* time: (time).        GNU time Utility" >/dev/null 2>&1 || :
abc9d8
fi
abc9d8
abc9d8
%files
abc9d8
%doc AUTHORS ChangeLog COPYING NEWS README 
abc9d8
%{_bindir}/time
abc9d8
%{_infodir}/time.info*
abc9d8
abc9d8
%changelog
abc9d8
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.7-45
abc9d8
- Mass rebuild 2014-01-24
abc9d8
abc9d8
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.7-44
abc9d8
- Mass rebuild 2013-12-27
abc9d8
abc9d8
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-43
abc9d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
abc9d8
abc9d8
* Thu Sep 06 2012 Petr Pisar <ppisar@redhat.com> - 1.7-42
abc9d8
- Package AUTHORS and ChangeLog
abc9d8
abc9d8
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-41
abc9d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
abc9d8
abc9d8
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-40
abc9d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
abc9d8
abc9d8
* Wed May 11 2011 Petr Pisar <ppisar@redhat.com> - 1.7-39
abc9d8
- Fix maximal RSS report (bug #702826)
abc9d8
- Clean spec file
abc9d8
- Recompute CPU usage at finer level (bug #527276)
abc9d8
abc9d8
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-38
abc9d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
abc9d8
abc9d8
* Tue Aug 11 2009 Roman Rakus <rrakus@redhat.com> - 1.7-37
abc9d8
- Don't print errors in post and preun sections (#515936)
abc9d8
abc9d8
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-36
abc9d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
abc9d8
abc9d8
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-35
abc9d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
abc9d8
abc9d8
* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.7-34
abc9d8
- Fix Patch:/%%patch0 mismatch.
abc9d8
  Resolves: #463067
abc9d8
abc9d8
* Tue Mar  4 2008 Roman Rakus <rrakus@redhat.cz> - 1.7-33
abc9d8
- Added patch from JW (redhat@zacglen.com), less nonverbose output
abc9d8
abc9d8
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.7-32
abc9d8
- Autorebuild for GCC 4.3
abc9d8
abc9d8
* Tue Jan 08 2008 Florian La Roche <laroche@redhat.com> - 1.7-31
abc9d8
- update url/license tags
abc9d8
abc9d8
* Tue Aug 21 2007 Florian La Roche <laroche@redhat.com> - 1.7-30
abc9d8
- rebuild
abc9d8
abc9d8
* Tue Feb 27 2007 Karsten Hopp <karsten@redhat.com> 1.7-29
abc9d8
- remove trailing dot from summary
abc9d8
- replace tabs with spaces
abc9d8
- replace PreReq with Requires(post)/Requires(preun)
abc9d8
- include license file in %%doc
abc9d8
- add smp flags
abc9d8
- use make install DESTDIR=
abc9d8
abc9d8
* Mon Jan 22 2007 Florian La Roche <laroche@redhat.com>
abc9d8
- add dist tag
abc9d8
- fix rhbz#223720
abc9d8
abc9d8
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.7-27.2.2
abc9d8
- rebuild
abc9d8
abc9d8
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.7-27.2.1
abc9d8
- bump again for double-long bug on ppc(64)
abc9d8
abc9d8
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.7-27.2
abc9d8
- rebuilt for new gcc4.1 snapshot and glibc changes
abc9d8
abc9d8
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
abc9d8
- rebuilt
abc9d8
abc9d8
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 1.7-27
abc9d8
- build with gcc-4
abc9d8
abc9d8
* Wed Feb 09 2005 Karsten Hopp <karsten@redhat.de> 1.7-26
abc9d8
- update source URL
abc9d8
- rebuilt
abc9d8
abc9d8
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
abc9d8
- rebuilt
abc9d8
abc9d8
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
abc9d8
- rebuilt
abc9d8
abc9d8
* Tue Jun 17 2003 Florian La Roche <Florian.LaRoche@redhat.de>
abc9d8
- rebuild
abc9d8
abc9d8
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
abc9d8
- rebuilt
abc9d8
abc9d8
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
abc9d8
- rebuilt
abc9d8
abc9d8
* Tue Nov 19 2002 Tim Powers <timp@redhat.com>
abc9d8
- rebuild on all arches
abc9d8
abc9d8
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
abc9d8
- automated rebuild
abc9d8
abc9d8
* Wed Jun 19 2002 Florian La Roche <Florian.LaRoche@redhat.de>
abc9d8
- do not strip apps, do not compress info page
abc9d8
abc9d8
* Thu May 23 2002 Tim Powers <timp@redhat.com>
abc9d8
- automated rebuild
abc9d8
abc9d8
* Mon Feb 25 2002 Elliot Lee <sopwith@redhat.com>
abc9d8
- Remove HAVE_WAIT3 hack, tried to replace it with a requirement for an 
abc9d8
autoconf with the fixed test, didn't work, put in another less-bad hack 
abc9d8
instead.
abc9d8
abc9d8
* Wed Dec 05 2001 Tom Tromey <tromey@redhat.com>
abc9d8
- Bump release, force HAVE_WAIT3 to be defined at build time
abc9d8
abc9d8
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
abc9d8
- Bump release + rebuild.
abc9d8
abc9d8
* Wed Jan 31 2001 Preston Brown <pbrown@redhat.com>
abc9d8
- prereq install-info (#24715)
abc9d8
abc9d8
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
abc9d8
- automatic rebuild
abc9d8
abc9d8
* Thu Jun 29 2000 Preston Brown <pbrown@redhat.com>
abc9d8
- using / as the file manifesto has weird results.
abc9d8
abc9d8
* Sun Jun  4 2000 Jeff Johnson <jbj@redhat.com>
abc9d8
- FHS packaging.
abc9d8
abc9d8
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
abc9d8
- auto rebuild in the new build environment (release 9)
abc9d8
abc9d8
* Mon Aug 10 1998 Erik Troan <ewt@redhat.com>
abc9d8
- buildrooted and defattr'd
abc9d8
abc9d8
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
abc9d8
- translations modified for de, fr, tr
abc9d8
abc9d8
* Mon Oct 27 1997 Cristian Gafton <gafton@redhat.com>
abc9d8
- fixed info handling
abc9d8
abc9d8
* Thu Oct 23 1997 Cristian Gafton <gafton@redhat.com>
abc9d8
- updated the spec file; added info file handling
abc9d8
abc9d8
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
abc9d8
- built against glibc