diff --git a/.cvsignore b/.cvsignore index e69de29..b9ba9e2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +time-1.7.tar.gz diff --git a/sources b/sources index e69de29..ed4301f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e38d2b8b34b1ca259cf7b053caac32b3 time-1.7.tar.gz diff --git a/time.spec b/time.spec new file mode 100644 index 0000000..6f207d1 --- /dev/null +++ b/time.spec @@ -0,0 +1,78 @@ +Summary: A GNU utility for monitoring a program's use of system resources. +Name: time +Version: 1.7 +Release: 12 +License: GPL +Group: Applications/System +Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-root + +%description +The GNU time utility runs another program, collects information about +the resources used by that program while it is running and +displays the results. + +Time can help developers optimize their programs. + +%prep +%setup -q + +%build + +%configure +make + +%install +rm -rf ${RPM_BUILD_ROOT} +%makeinstall + +gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/time.info +strip ${RPM_BUILD_ROOT}/%{_bindir}/time + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%post +/sbin/install-info %{_infodir}/time.info.gz %{_infodir}/dir \ + --entry="* time: (time). GNU time Utility" + +%preun +if [ "$1" = 0 ]; then + /sbin/install-info --delete %{_infodir}/time.info.gz %{_infodir}/dir \ + --entry="* time: (time). GNU time Utility" +fi + +%files +%defattr(-,root,root) +%doc NEWS README +%{_bindir}/time +%{_infodir}/time.info* + +%changelog +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Thu Jun 29 2000 Preston Brown +- using / as the file manifesto has weird results. + +* Sun Jun 4 2000 Jeff Johnson +- FHS packaging. + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 9) + +* Mon Aug 10 1998 Erik Troan +- buildrooted and defattr'd + +* Mon Apr 27 1998 Prospector System +- translations modified for de, fr, tr + +* Mon Oct 27 1997 Cristian Gafton +- fixed info handling + +* Thu Oct 23 1997 Cristian Gafton +- updated the spec file; added info file handling + +* Mon Jun 02 1997 Erik Troan +- built against glibc