time-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Summary: A GNU utility for monitoring a program's use of system resources.
  2. Summary(ja): プログラムのシステムリソース使用をモニタする GNU ユーティリティ
  3. Name: time
  4. Version: 1.7
  5. Release: 22%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/System
  8. URL: http://www.gnu.org/software/time/
  9. Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}/%{name}-%{version}.tar.gz
  10. Patch0: time-1.7-destdir.patch
  11. Patch1: time-1.7-verbose.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Requires(post,preun): /sbin/install-info
  14. %description
  15. The GNU time utility runs another program, collects information about
  16. the resources used by that program while it is running, and displays
  17. the results.
  18. %description -l ja
  19. GNU time ユーティリティは,他のプログラムを実行し,そのプログラムが
  20. 実行される際にシステムリソースをどの程度使用したかの情報を表示します.
  21. %prep
  22. %setup -q
  23. %patch0 -p1
  24. %patch1 -p1
  25. %build
  26. echo "ac_cv_func_wait3=\${ac_cv_func_wait3='yes'}" >> config.cache
  27. %configure
  28. make %{?_smp_mflags}
  29. %install
  30. rm -rf %{buildroot}
  31. make install DESTDIR=$RPM_BUILD_ROOT
  32. %clean
  33. rm -rf %{buildroot}
  34. %post
  35. /sbin/install-info %{_infodir}/time.info.gz %{_infodir}/dir \
  36. --entry="* time: (time). GNU time Utility" || :
  37. %preun
  38. if [ "$1" = 0 ]; then
  39. /sbin/install-info --delete %{_infodir}/time.info.gz %{_infodir}/dir \
  40. --entry="* time: (time). GNU time Utility" || :
  41. fi
  42. %files
  43. %defattr(-,root,root)
  44. %doc NEWS README COPYING
  45. %{_bindir}/time
  46. %{_infodir}/time.info*
  47. %changelog
  48. * Thu Oct 23 2008 Shu KONNO <owa@bg.wakwak.com> 1.7-22
  49. - spec in utf-8
  50. * Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-21
  51. - applied new versioning policy
  52. - added Patches from Fedora
  53. * Tue Mar 4 2008 Roman Rakus <rrakus@redhat.cz> - 1.7-33
  54. - Added patch from JW (redhat@zacglen.com), less nonverbose output
  55. * Tue Feb 27 2007 Karsten Hopp <karsten@redhat.com> 1.7-29
  56. - use make install DESTDIR=
  57. * Wed Jun 07 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-20vl2
  58. - rebuilt with new toolchains
  59. - updated source URL
  60. * Wed Dec 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.7-20vl1
  61. - based on 1.7-20 from Rawhide and built for Vine Linux
  62. - added Japanese summary and description
  63. * Tue Nov 19 2002 Tim Powers <timp@redhat.com>
  64. - rebuild on all arches
  65. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  66. - automated rebuild
  67. * Wed Jun 19 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  68. - do not strip apps, do not compress info page
  69. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  70. - automated rebuild
  71. * Mon Feb 25 2002 Elliot Lee <sopwith@redhat.com>
  72. - Remove HAVE_WAIT3 hack, tried to replace it with a requirement for an
  73. autoconf with the fixed test, didn't work, put in another less-bad hack
  74. instead.
  75. * Wed Dec 05 2001 Tom Tromey <tromey@redhat.com>
  76. - Bump release, force HAVE_WAIT3 to be defined at build time
  77. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  78. - Bump release + rebuild.
  79. * Wed Jan 31 2001 Preston Brown <pbrown@redhat.com>
  80. - prereq install-info (#24715)
  81. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  82. - automatic rebuild
  83. * Thu Jun 29 2000 Preston Brown <pbrown@redhat.com>
  84. - using / as the file manifesto has weird results.
  85. * Sun Jun 4 2000 Jeff Johnson <jbj@redhat.com>
  86. - FHS packaging.
  87. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  88. - auto rebuild in the new build environment (release 9)
  89. * Mon Aug 10 1998 Erik Troan <ewt@redhat.com>
  90. - buildrooted and defattr'd
  91. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  92. - translations modified for de, fr, tr
  93. * Mon Oct 27 1997 Cristian Gafton <gafton@redhat.com>
  94. - fixed info handling
  95. * Thu Oct 23 1997 Cristian Gafton <gafton@redhat.com>
  96. - updated the spec file; added info file handling
  97. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  98. - built against glibc