strace-vl.spec 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. Summary: Tracks and displays system calls associated with a running process.
  2. Summary(ja): 動作中のプロセスと関連するシステムコールの追跡/表示
  3. Name: strace
  4. Version: 4.5.18
  5. Release: 1%{?_dist_release}
  6. License: BSD
  7. Group: Development/Tools
  8. URL: http://sourceforge.net/projects/strace/
  9. Source0: %{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kernel-headers >= 2.4.0
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. %define strace64_arches ppc64
  15. %description
  16. The strace program intercepts and records the system calls called and
  17. received by a running process. Strace can print a record of each
  18. system call, its arguments and its return value. Strace is useful for
  19. diagnosing problems and debugging, as well as for instructional
  20. purposes.
  21. Install strace if you need a tool to track the system calls made and
  22. received by a process.
  23. %description -l ja
  24. strace プログラムは動作中のプロセスがコール/受信したたシステムコールを
  25. 検知して記録します。strace は、各システムコールとその引数および戻り値の
  26. 記録を印刷することができます。strace は教育目的だけではなく、障害の診断や
  27. デバッグにおいても役に立ちます。
  28. %ifarch %{strace64_arches}
  29. %package -n strace64
  30. Summary: Tracks and displays system calls associated with a running process.
  31. Summary(ja): 動作中のプロセスと関連するシステムコールの追跡/表示
  32. Group: Development/Debuggers
  33. %description -n strace64
  34. The strace program intercepts and records the system calls called and
  35. received by a running process. Strace can print a record of each
  36. system call, its arguments and its return value. Strace is useful for
  37. diagnosing problems and debugging, as well as for instructional
  38. purposes.
  39. Install strace if you need a tool to track the system calls made and
  40. received by a process.
  41. This package provides the `strace64' program to trace 64-bit processes.
  42. The `strace' program in the `strace' package is for 32-bit processes.
  43. %description -n strace64 -l ja
  44. strace プログラムは動作中のプロセスがコール/受信したたシステムコールを
  45. 検知して記録します。strace は、各システムコールとその引数および戻り値の
  46. 記録を印刷することができます。strace は教育目的だけではなく、障害の診断や
  47. デバッグにおいても役に立ちます。
  48. このパッケージは 64 ビットプロセス用の `strace64' プログラムを提供します。
  49. `strace' パッケージに含まれる `strace' プログラムは 32 ビットプロセス用です。
  50. %endif
  51. %prep
  52. %setup -q
  53. %build
  54. %configure
  55. make
  56. %install
  57. rm -rf %{buildroot}
  58. mkdir -p %{buildroot}%{_mandir}/man1
  59. mkdir -p %{buildroot}%{_bindir}
  60. %makeinstall man1dir=%{buildroot}%{_mandir}/man1
  61. # remove unpackaged files from the buildroot
  62. rm -f %{buildroot}%{_bindir}/strace-graph
  63. %ifarch %{strace64_arches}
  64. ln %{buildroot}%{_bindir}/strace %{buildroot}%{_bindir}/strace64
  65. %endif
  66. %clean
  67. rm -rf %{buildroot}
  68. %files
  69. %defattr(-,root,root)
  70. %doc COPYRIGHT ChangeLog NEWS README README-linux
  71. %{_bindir}/*
  72. %{_mandir}/man1/*
  73. %ifarch %{strace64_arches}
  74. %files -n strace64
  75. %defattr(-,root,root)
  76. %{_bindir}/strace64
  77. %endif
  78. %changelog
  79. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.18-1
  80. - new upstream release
  81. - spec in utf-8
  82. * Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.15-1
  83. - updated to 4.5.15
  84. - rebuilt with new toolchains
  85. * Sun Sep 10 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 4.5.13-1vl2
  86. - change Group to Development/Tools. <BTS:VineLinux:163>
  87. * Sat Nov 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.13-1vl1
  88. - updated to 4.5.13
  89. - added some documents
  90. - added Japanese summary and description
  91. * Mon Jan 05 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.1-1vl1
  92. - rebuild with new toolchains
  93. - based on Fedora 4.5.1-1
  94. * Tue Sep 09 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.99-1vl1
  95. - rebuild with new toolchains
  96. - dropped BuildPreReq: autoconf
  97. - based on Redhat Rawhide 4.4.99-1
  98. * Thu Jul 17 2003 Roland McGrath <roland@redhat.com> 4.4.99-1
  99. - new upstream version, groks more new system calls, PF_INET6 sockets
  100. * Thu Mar 07 2002 Toru Sagami <sagami@vinelinux.org> 4.4-1.2vl3
  101. - kernel24-headers -> kernel-headers >= 2.4.0 for BuildPreReq
  102. * Wed Feb 20 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.4-1.2vl2
  103. - added BuildPreReq: kernel24-headers
  104. * Mon Jan 14 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.4-1.2vl1
  105. - now based on Debian's strace_4.4-1.2 and built for Vine Linux
  106. - rebuilt with kernel24-headers
  107. * Sun Jul 22 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  108. - disable s390 patches, they are already included
  109. * Wed Jul 18 2001 Preston Brown <pbrown@redhat.com> 4.3-1
  110. - new upstream version. Seems to have integrated most new syscalls
  111. - tracing threaded programs is now functional.
  112. * Mon Jun 11 2001 Than Ngo <than@redhat.com>
  113. - port s390 patches from IBM
  114. * Wed May 16 2001 Nalin Dahyabhai <nalin@redhat.com>
  115. - modify new syscall patch to allocate enough heap space in setgroups32()
  116. * Wed Feb 14 2001 Jakub Jelinek <jakub@redhat.com>
  117. - #include <time.h> in addition to <sys/time.h>
  118. * Fri Jan 26 2001 Karsten Hopp <karsten@redhat.com>
  119. - clean up conflicting patches. This happened only
  120. when building on S390
  121. * Fri Jan 19 2001 Bill Nottingham <notting@redhat.com>
  122. - update to CVS, reintegrate ia64 support
  123. * Sat Dec 8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  124. - Get S/390 support into the normal package
  125. * Sat Nov 18 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  126. - added S/390 patch from IBM, adapting it to not conflict with
  127. IA64 patch
  128. * Sat Aug 19 2000 Jakub Jelinek <jakub@redhat.com>
  129. - doh, actually apply the 2.4 syscalls patch
  130. - make it compile with 2.4.0-test7-pre4+ headers, add
  131. getdents64 and fcntl64
  132. * Thu Aug 3 2000 Jakub Jelinek <jakub@redhat.com>
  133. - add a bunch of new 2.4 syscalls (#14036)
  134. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  135. - automatic rebuild
  136. - excludearch ia64
  137. * Fri Jun 2 2000 Matt Wilson <msw@redhat.com>
  138. - use buildinstall for FHS
  139. * Wed May 24 2000 Jakub Jelinek <jakub@redhat.com>
  140. - make things compile on sparc
  141. - fix sigreturn on sparc
  142. * Fri Mar 31 2000 Bill Nottingham <notting@redhat.com>
  143. - fix stat64 misdef (#10485)
  144. * Tue Mar 21 2000 Michael K. Johnson <johnsonm@redhat.com>
  145. - added ia64 patch
  146. * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
  147. - man pages are compressed
  148. - version 4.2 (why are we keeping all these patches around?)
  149. * Sat Nov 27 1999 Jeff Johnson <jbj@redhat.com>
  150. - update to 4.1 (with sparc socketcall patch).
  151. * Fri Nov 12 1999 Jakub Jelinek <jakub@redhat.com>
  152. - fix socketcall on sparc.
  153. * Thu Sep 02 1999 Cristian Gafton <gafton@redhat.com>
  154. - fix KERN_SECURELVL compile problem
  155. * Tue Aug 31 1999 Cristian Gafton <gafton@redhat.com>
  156. - added alpha patch from HJLu to fix the osf_sigprocmask interpretation
  157. * Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
  158. - update to 3.99.1.
  159. * Wed Jun 2 1999 Jeff Johnson <jbj@redhat.com>
  160. - add (the other :-) jj's sparc patch.
  161. * Wed May 26 1999 Jeff Johnson <jbj@redhat.com>
  162. - upgrade to 3.99 in order to
  163. - add new 2.2.x open flags (#2955).
  164. - add new 2.2.x syscalls (#2866).
  165. - strace 3.1 patches carried along for now.
  166. * Sun May 16 1999 Jeff Johnson <jbj@redhat.com>
  167. - don't rely on (broken!) rpm %patch (#2735)
  168. * Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
  169. - strip binary
  170. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  171. - auto rebuild in the new build environment (release 16)
  172. * Tue Feb 9 1999 Jeff Johnson <jbj@redhat.com>
  173. - vfork est arrive!
  174. * Tue Feb 9 1999 Christopher Blizzard <blizzard@redhat.com>
  175. - Add patch to follow clone() syscalls, too.
  176. * Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
  177. - patch to build alpha/sparc with glibc 2.1.
  178. * Thu Dec 03 1998 Cristian Gafton <gafton@redhat.com>
  179. - patch to build on ARM
  180. * Wed Sep 30 1998 Jeff Johnson <jbj@redhat.com>
  181. - fix typo (printf, not tprintf).
  182. * Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
  183. - fix compile problem on sparc.
  184. * Tue Aug 18 1998 Cristian Gafton <gafton@redhat.com>
  185. - buildroot
  186. * Mon Jul 20 1998 Cristian Gafton <gafton@redhat.com>
  187. - added the umoven patch from James Youngman <jay@gnu.org>
  188. - fixed build problems on newer glibc releases
  189. * Mon Jun 08 1998 Prospector System <bugs@redhat.com>
  190. - translations modified for de, fr, tr