time/time.spec
Lv Genggeng 8041797958 add help opt cmdline
Signed-off-by: Lv Genggeng <lvgenggeng@uniontech.com>
2022-03-22 19:59:50 +08:00

57 lines
1.2 KiB
RPMSpec

Name: time
Version: 1.9
Release: 8
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
Patch0: add-help-opt.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
%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
* Tue Mar 22 2022 Lv Genggeng <lvgenggeng@uniontech.com> - 1.9-8
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: add help opt in cmdline
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.9-7
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: remove unnecessary files
* Wed Aug 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9-6
- Package init