time/time.spec

73 lines
2.0 KiB
RPMSpec

Name: time
Version: 1.9
Release: 1mamba
Summary: A GNU utility for monitoring a program's use of system resources
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.gnu.org/software/time/time.html
Source: https://git.savannah.gnu.org/git/time.git/v%{version}/time-%{version}.tar.bz2
#Source: ftp://ftp.gnu.org/gnu/time/time-%{version}.tar.gz
Patch: %{name}-1.7-destdir.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: bash
BuildRequires: glibc-devel
BuildRequires: texinfo
## AUTOBUILDREQ-END
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The `time' command runs another program, then displays information about the resources used by that program, collected by the system while the program was running.
You can select which information is reported and the format in which it is shown, or have `time' save the information in a file instead of displaying it on the screen.
%prep
%setup -q
#%patch -p1
%build
./bootstrap
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%install_info %{name}.info
:
%preun
%uninnstall_info %{name}.info
:
%files
%defattr(-,root,root)
%{_bindir}/time
%{_infodir}/time.info.*
%doc AUTHORS COPYING
#ChangeLog NEWS README
%changelog
* Wed Mar 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9-1mamba
- update to 1.9
* Tue Aug 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.2-1mamba
- update to 1.7.2
* Fri Sep 06 2013 Automatic Build System <autodist@mambasoft.it> 1.7-3mamba
- periodic rebuild (manual edit: fix info page installation)
* Tue Dec 04 2007 Aleph0 <aleph0@openmamba.org> 1.7-2mamba
- added missing build requirements
- new package maintainer
* Fri Mar 23 2007 Aleph0 <aleph0@openmamba.org> 1.7-1qilnx
- package created by autospec