Blame SPECS/time.spec

1481c8
Summary:    A GNU utility for monitoring a program's use of system resources
1481c8
Name:       time
1481c8
Version:    1.9
1481c8
Release:    3%{?dist}
1481c8
# src/time.c:               GPLv3+
1481c8
# COPYING:                  GPLv3 text
1481c8
# doc/time.texi:            GFDL
1481c8
# doc/fdl.texi:             GFDL 1.3 text
1481c8
# doc/time.info:            GFDL
1481c8
# lib/stdnoreturn.in.h:     GPLv3+
1481c8
# lib/strerror-override.c:  GPLv3+
1481c8
# lib/error.h:              GPLv3+
1481c8
## Not in a binary package
1481c8
# tests/init.sh:            GPLv3+
1481c8
# INSTALL:                  FSFAP
1481c8
# build-aux/config.guess:   GPLv3+ with exceptions
1481c8
# build-aux/install-sh:     MIT and Public Domain
1481c8
# build-aux/config.rpath:   FSFULLR
1481c8
# build-aux/test-driver:    GPLv2+ with exceptions
1481c8
# build-aux/update-copyright:   GPLv3+
1481c8
# build-aux/useless-if-before-free: GPLv3+
1481c8
# build-aux/vc-list-files:  GPLv3+
1481c8
# build-aux/missing:        GPLv2+ with exceptions
1481c8
# build-aux/compile:        GPLv2+ with exceptions
1481c8
# build-aux/config.sub:     GPLv3+ with exceptions
1481c8
# build-aux/gitlog-to-changelog:    GPLv3+
1481c8
# build-aux/git-version-gen:        GPLv3+
1481c8
# build-aux/texinfo.tex:    GPLv3+ with exceptions
1481c8
# build-aux/depcomp:        GPLv2+ with exceptions
1481c8
# build-aux/mdate-sh:       GPLv2+ with exceptions
1481c8
# GNUmakefile:              GPLv3+
1481c8
# m4/asm-underscore.m4:     FSFULLR
1481c8
# m4/gnulib-cache.m4:       GPLv3+ with exceptions
1481c8
# m4/host-cpu-c-abi.m4:     FSFULLR
1481c8
# m4/longlong.m4:           FSFULLR
1481c8
# m4/ssize_t.m4:            FSFULLR
1481c8
# m4/stdnoreturn.m4:        FSFULLR
1481c8
# maint.mk:                 GPLv3+
1481c8
# tests/time-posix-quiet.sh:    GPLv3+
1481c8
License:    GPLv3+ and GFDL
1481c8
Url:        http://www.gnu.org/software/%{name}/
1481c8
Source:     ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
1481c8
# Fix measuring time when a clock experiences a jump, bug #1004416,
1481c8
# <http: lists.gnu.org="" archive="" html="" bug-gnu-utils="" 2013-09="" msg00003.html="">
1481c8
Patch0:     time-1.8-Prefer-clock_gettime-CLOCK_MONOTONIC.patch
1481c8
BuildRequires:  autoconf
1481c8
BuildRequires:  automake
1481c8
BuildRequires:  bash
1481c8
BuildRequires:  coreutils
1481c8
BuildRequires:  gcc
1481c8
BuildRequires:  make
1481c8
BuildRequires:  texinfo
1481c8
# Tests
1481c8
BuildRequires:  sed
1481c8
Requires(post): /sbin/install-info
1481c8
Requires(preun): /sbin/install-info
1481c8
1481c8
%description
1481c8
The GNU time utility runs another program, collects information about
1481c8
the resources used by that program while it is running, and displays
1481c8
the results.
1481c8
1481c8
%prep
1481c8
%setup -q
1481c8
%patch0 -p1
1481c8
autoreconf -fi
1481c8
1481c8
%build
1481c8
%configure
1481c8
%make_build
1481c8
1481c8
%install
1481c8
make install DESTDIR=$RPM_BUILD_ROOT
1481c8
# Remove info index, we update it in %%post script
1481c8
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1481c8
1481c8
%check
1481c8
make %{?_smp_mflags} check
1481c8
1481c8
%post
1481c8
/sbin/install-info %{_infodir}/time.info.gz %{_infodir}/dir \
1481c8
    --entry="* time: (time).        GNU time Utility" >/dev/null 2>&1 || :
1481c8
1481c8
%preun
1481c8
if [ "$1" = 0 ]; then
1481c8
    /sbin/install-info --delete %{_infodir}/time.info.gz %{_infodir}/dir \
1481c8
    --entry="* time: (time).        GNU time Utility" >/dev/null 2>&1 || :
1481c8
fi
1481c8
1481c8
%files
1481c8
%license COPYING
1481c8
%doc AUTHORS ChangeLog NEWS README
1481c8
%{_bindir}/time
1481c8
%{_infodir}/time.info*
1481c8
# time(1) manual page lives in man-pages package, bug #1612725.
1481c8
1481c8
%changelog
1481c8
* Tue Aug 07 2018 Petr Pisar <ppisar@redhat.com> - 1.9-3
1481c8
- Remove time(1) manual page because it's provided by man-pages (bug #1612725)
1481c8
1481c8
* Mon Aug 06 2018 Petr Pisar <ppisar@redhat.com> - 1.9-2
1481c8
- Add time(1) manual page (bug #1612725)
1481c8
1481c8
* Tue Mar 13 2018 Petr Pisar <ppisar@redhat.com> - 1.9-1
1481c8
- 1.9 bump
1481c8
1481c8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-3
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1481c8
1481c8
* Thu Nov 09 2017 Petr Pisar <ppisar@redhat.com> - 1.8-2
1481c8
- Use upstream patch for POSIX mode
1481c8
- Silence compiler warnings
1481c8
1481c8
* Wed Nov 08 2017 Petr Pisar <ppisar@redhat.com> - 1.8-1
1481c8
- 1.8 bump
1481c8
- License changed from GPLv2+ to (GPLv3+ and GFDL)
1481c8
- Disable printing command failure in POSIX mode
1481c8
1481c8
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-54
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1481c8
1481c8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-53
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1481c8
1481c8
* Mon Feb 06 2017 Petr Pisar <ppisar@redhat.com> - 1.7-52
1481c8
- Package COPYING file as a license text (bug #1418528)
1481c8
1481c8
* Wed Jan 11 2017 Petr Pisar <ppisar@redhat.com> - 1.7-51
1481c8
- Search clock_gettime() also in rt library (bug #1004416)
1481c8
1481c8
* Wed Jan 11 2017 Petr Pisar <ppisar@redhat.com> - 1.7-50
1481c8
- Fix measuring time when a clock experiences a jump (bug #1004416)
1481c8
1481c8
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-49
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1481c8
1481c8
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-48
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1481c8
1481c8
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.7-47
1481c8
- Rebuilt for Fedora 23 Change
1481c8
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
1481c8
1481c8
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-46
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1481c8
1481c8
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-45
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1481c8
1481c8
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-44
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1481c8
1481c8
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-43
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1481c8
1481c8
* Thu Sep 06 2012 Petr Pisar <ppisar@redhat.com> - 1.7-42
1481c8
- Package AUTHORS and ChangeLog
1481c8
1481c8
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-41
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1481c8
1481c8
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-40
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1481c8
1481c8
* Wed May 11 2011 Petr Pisar <ppisar@redhat.com> - 1.7-39
1481c8
- Fix maximal RSS report (bug #702826)
1481c8
- Clean spec file
1481c8
- Recompute CPU usage at finer level (bug #527276)
1481c8
1481c8
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-38
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1481c8
1481c8
* Tue Aug 11 2009 Roman Rakus <rrakus@redhat.com> - 1.7-37
1481c8
- Don't print errors in post and preun sections (#515936)
1481c8
1481c8
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-36
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1481c8
1481c8
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-35
1481c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1481c8
1481c8
* Sun Sep 21 2008 Ville Skyttä <ville.skytta at="" iki.fi=""> - 1.7-34
1481c8
- Fix Patch:/%%patch0 mismatch.
1481c8
  Resolves: #463067
1481c8
1481c8
* Tue Mar  4 2008 Roman Rakus <rrakus@redhat.cz> - 1.7-33
1481c8
- Added patch from JW (redhat@zacglen.com), less nonverbose output
1481c8
1481c8
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.7-32
1481c8
- Autorebuild for GCC 4.3
1481c8
1481c8
* Tue Jan 08 2008 Florian La Roche <laroche@redhat.com> - 1.7-31
1481c8
- update url/license tags
1481c8
1481c8
* Tue Aug 21 2007 Florian La Roche <laroche@redhat.com> - 1.7-30
1481c8
- rebuild
1481c8
1481c8
* Tue Feb 27 2007 Karsten Hopp <karsten@redhat.com> 1.7-29
1481c8
- remove trailing dot from summary
1481c8
- replace tabs with spaces
1481c8
- replace PreReq with Requires(post)/Requires(preun)
1481c8
- include license file in %%doc
1481c8
- add smp flags
1481c8
- use make install DESTDIR=
1481c8
1481c8
* Mon Jan 22 2007 Florian La Roche <laroche@redhat.com>
1481c8
- add dist tag
1481c8
- fix rhbz#223720
1481c8
1481c8
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.7-27.2.2
1481c8
- rebuild
1481c8
1481c8
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.7-27.2.1
1481c8
- bump again for double-long bug on ppc(64)
1481c8
1481c8
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.7-27.2
1481c8
- rebuilt for new gcc4.1 snapshot and glibc changes
1481c8
1481c8
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
1481c8
- rebuilt
1481c8
1481c8
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 1.7-27
1481c8
- build with gcc-4
1481c8
1481c8
* Wed Feb 09 2005 Karsten Hopp <karsten@redhat.de> 1.7-26
1481c8
- update source URL
1481c8
- rebuilt
1481c8
1481c8
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
1481c8
- rebuilt
1481c8
1481c8
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
1481c8
- rebuilt
1481c8
1481c8
* Tue Jun 17 2003 Florian La Roche <florian.laroche@redhat.de>
1481c8
- rebuild
1481c8
1481c8
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
1481c8
- rebuilt
1481c8
1481c8
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
1481c8
- rebuilt
1481c8
1481c8
* Tue Nov 19 2002 Tim Powers <timp@redhat.com>
1481c8
- rebuild on all arches
1481c8
1481c8
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
1481c8
- automated rebuild
1481c8
1481c8
* Wed Jun 19 2002 Florian La Roche <florian.laroche@redhat.de>
1481c8
- do not strip apps, do not compress info page
1481c8
1481c8
* Thu May 23 2002 Tim Powers <timp@redhat.com>
1481c8
- automated rebuild
1481c8
1481c8
* Mon Feb 25 2002 Elliot Lee <sopwith@redhat.com>
1481c8
- Remove HAVE_WAIT3 hack, tried to replace it with a requirement for an 
1481c8
autoconf with the fixed test, didn't work, put in another less-bad hack 
1481c8
instead.
1481c8
1481c8
* Wed Dec 05 2001 Tom Tromey <tromey@redhat.com>
1481c8
- Bump release, force HAVE_WAIT3 to be defined at build time
1481c8
1481c8
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
1481c8
- Bump release + rebuild.
1481c8
1481c8
* Wed Jan 31 2001 Preston Brown <pbrown@redhat.com>
1481c8
- prereq install-info (#24715)
1481c8
1481c8
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
1481c8
- automatic rebuild
1481c8
1481c8
* Thu Jun 29 2000 Preston Brown <pbrown@redhat.com>
1481c8
- using / as the file manifesto has weird results.
1481c8
1481c8
* Sun Jun  4 2000 Jeff Johnson <jbj@redhat.com>
1481c8
- FHS packaging.
1481c8
1481c8
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
1481c8
- auto rebuild in the new build environment (release 9)
1481c8
1481c8
* Mon Aug 10 1998 Erik Troan <ewt@redhat.com>
1481c8
- buildrooted and defattr'd
1481c8
1481c8
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
1481c8
- translations modified for de, fr, tr
1481c8
1481c8
* Mon Oct 27 1997 Cristian Gafton <gafton@redhat.com>
1481c8
- fixed info handling
1481c8
1481c8
* Thu Oct 23 1997 Cristian Gafton <gafton@redhat.com>
1481c8
- updated the spec file; added info file handling
1481c8
1481c8
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
1481c8
- built against glibc