time-vl.spec 3.9 KB

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