xxgdb-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. Summary: An X Window System graphical interface for the GNU gdb debugger.
  2. Summary(ja): GNU gdbデバッガ用 Xウィンドウシステム・グラフィカルインタフェース
  3. Name: xxgdb
  4. Version: 1.12
  5. Release: 17%{?_dist_release}
  6. License: MIT
  7. Source0: ftp://ftp.x.org/contrib/utilities/xxgdb-1.12.tar.gz
  8. Source1: xxgdb.png
  9. Patch100: xxgdb-1.12-I18N_mb-1.1.patch
  10. Patch101: xxgdb-1.12-I18N_mb-1.2.patch
  11. Patch103: xxgdb-1.12-Unix98.patch
  12. Patch104: xxgdb-1.12-SYSV.patch
  13. Group: Applications/Development
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: glibc-common
  16. BuildRequires: imake
  17. BuildRequires: libX11-devel, libICE-devel, libSM-devel, libXext-devel
  18. BuildRequires: libXmu-devel, libXt-devel
  19. BuildRequires: libXaw-devel >= 1.0.5
  20. Requires: gdb
  21. %description
  22. Xxgdb is an X Window System graphical interface to the GNU gdb
  23. debugger. Xxgdb provides visual feedback and supports a mouse
  24. interface for the user who wants to perform debugging tasks like the
  25. following: controlling program execution through breakpoints,
  26. examining and traversing the function call stack, displaying values of
  27. variables and data structures, and browsing source files and
  28. functions.
  29. Install the xxgdb package if you'd like to use a graphical interface
  30. with the GNU gdb debugger. You'll also need to have the gdb package
  31. installed.
  32. %description -l ja
  33. Xxgdb は GNU gdb デバッガに対応する X ウィンドウシステム・グラフィカル
  34. インタフェースです。Xxgdb ではビジュアルに応答を調べることができ、そし
  35. て、以下のようなデバック処理を行いたいユーザに対しマウスインタフェース
  36. をサポートします;
  37. - ブレークポイントを通してプログラムの実行を制御する、
  38. - 関数呼出のスタックを試験、移動する
  39. - 変数やデータ構造体の値を表示する
  40. - ソースファイルや関数をブラウズする
  41. もし GNU gdb デバッガと一緒にそのグラフィカルなインタフェースを利用した
  42. いなら、xxgdb パッケージをインストールして下さい。また、gdb パッケージ
  43. を別にインストールする必要があります。
  44. %prep
  45. %setup -q -n xxgdb-1.12
  46. %patch100 -p1 -b .I18N_mb
  47. %patch101 -p1 -b .I18N-mb2
  48. %patch103 -p1 -b .Unix98
  49. %patch104 -p1 -b .SYSV
  50. %build
  51. xmkmf
  52. make
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. make install install.man \
  56. DESTDIR=$RPM_BUILD_ROOT \
  57. CONFDIR=%{_datadir}/X11 \
  58. XAPPLOADDIR=%{_datadir}/X11/app-defaults \
  59. MANPATH=%{_mandir} \
  60. cat > %{name}.desktop <<EOF
  61. [Desktop Entry]
  62. Encoding=UTF-8
  63. Name=xxgdb
  64. Name[ja]=xxgdb C/C++ デバッガ
  65. Comment=X11 gdb wrapper
  66. Comment[ja]=日本語ソースを扱える C/C++ デバッガです
  67. Icon=xxgdb.xpm
  68. Terminal=false
  69. Exec=xxgdb %F
  70. Type=Application
  71. Categories=Application;Development;
  72. EOF
  73. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
  74. install -m644 %{name}.desktop $RPM_BUILD_ROOT%{_datadir}/applications/
  75. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
  76. cp %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/pixmaps/
  77. rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/X11
  78. %clean
  79. rm -rf $RPM_BUILD_ROOT
  80. %files
  81. %defattr(-,root,root)
  82. %{_bindir}/xxgdb
  83. %{_datadir}/X11/app-defaults/XDbx
  84. %{_mandir}/man1/xxgdb.*
  85. %{_datadir}/pixmaps/xxgdb.png
  86. %config(missingok) %{_datadir}/applications/xxgdb.desktop
  87. %changelog
  88. * Wed Feb 17 2010 Shu KONNO <owa@bg.wakwak.com> 1.12-17
  89. - rebuilt with new environment
  90. * Sun Apr 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.12-16
  91. - changed Group to Applications/Development
  92. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.12-15
  93. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  94. * Sun Jun 08 2008 Shu KONNO <owa@bg.wakwak.com> 1.12-14vl5
  95. - applied new versioning policy and utf-8
  96. - added BuildRequires: xorg-x11-devel imake
  97. - dropt Patch0: xxgdb-1.08-glibc.patch
  98. - dropt Patch1: xxgdb-1.12-sysv.patch
  99. - dropt Patch2: xxgdb-1.12-compat21.patch
  100. - added Patch104: xxgdb-1.12-SYSV.patch
  101. * Sat Jan 05 2008 Shu KONNO <owa@bg.wakwak.com> 1.12-13vl10
  102. - updated xxgdb.desktop
  103. - add xxgdb.png
  104. * Wed Jul 12 2006 Shu KONNO <owa@bg.wakwak.com> 1.12-13vl9
  105. - rebuild
  106. * Sat Jul 30 2005 Shu KONNO <owa@bg.wakwak.com> 1.12-13vl8
  107. - rebuilt with kernel-2.6.12
  108. - dropt xxgdb-1.12-cannot-open.patch
  109. - added xxgdb-1.12-Unix98.patch
  110. * Wed Dec 01 2004 Shu KONNO <owa@bg.wakwak.com> 1.12-13vl7
  111. - rebuilt
  112. * Sun May 02 2004 Shu KONNO <owa@bg.wakwak.com> 1.12-13vl6
  113. - changed url to 'ftp://ftp.x.org/contrib/utilities/'
  114. - replaced specs, 'Copyright' to 'License'
  115. - added xxgdb-1.12-cannot-open.patch
  116. * Sun Jan 6 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.12-13vl4
  117. - rebuilt for VineSeed
  118. * Sat Jan 05 2002 Shu KONNO <owa@bg.wakwak.com> 1.12-13vl3
  119. - added xxgdb-1.12-I18N_mb-1.2.patch
  120. * Thu Jul 13 2000 Masato Bito <masato@nets.ce.hiroshima-cu.ac.jp>
  121. - 1.12-13vl2
  122. - modified %patch1 -p1 -> %patch1 -p0
  123. - modified BuildRoot:
  124. * Fri May 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  125. - sync with RH 6.2
  126. - added I18N patch
  127. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  128. - wmconfig -> desktop
  129. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  130. - fix description
  131. * Fri Jan 14 2000 Jeff Johnson <jbj@redhat.com>
  132. - rebuild for Red Hat 6.2.
  133. * Wed Mar 23 1999 Michael Maher <mike@redhat.com>
  134. - added requires for gdb
  135. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  136. - auto rebuild in the new build environment (release 9)
  137. * Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
  138. - patch around i386 wchar_t glibc-2.1 typedef.
  139. * Wed Jul 29 1998 Jeff Johnson <jbj@redhat.com>
  140. - change wmconfig group to utilities
  141. - build root
  142. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  143. - translations modified for de, fr, tr
  144. * Mon Feb 9 1998 Otto Hammersmith <otto@redhat.com>
  145. - fixed wmconfig entry
  146. * Tue Oct 21 1997 Otto Hammersmith <otto@redhat.com>
  147. - fixed src url
  148. - added wmconfig entries
  149. - removed prefix line ... can't have it with wmconfig file :(
  150. * Fri Aug 22 1997 Erik Troan <ewt@redhat.com>
  151. - built against glibc