time/time.spec
2019-11-06 19:54:19 +08:00

51 lines
1.2 KiB
RPMSpec

Name: time
Version: 1.9
Release: 6
Summary: Monitoring the system resources used by running program
License: GPLv3+ and GFDL
URL: http://www.gnu.org/software/%{name}/
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source1: LicenseList
Patch0: time-1.8-Prefer-clock_gettime-CLOCK_MONOTONIC.patch
Patch1: time-1.9-Improve-info-directory-index-entry-description.patch
BuildRequires: autoconf automake bash coreutils gcc make texinfo sed
%description
This package runs another program and displays information
about the resources used by that program. The information is
collected by the system while the program was running.
%package_help
%description help
This package contains the document for %{name}
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -fi
%configure
make %{?_smp_mflags}
%install
%make_install
%check
make check %{?_smp_mflags}
%files
%license COPYING AUTHORS
%{_bindir}/time
%exclude %{_infodir}/dir
%files help
%doc ChangeLog NEWS README
%{_infodir}/time.info*
%changelog
* Wed Aug 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9-6
- Package init