time-vl.spec 4.0 KB

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