xxgdb-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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: 18%{?_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. * Sat Apr 23 2011 Shu KONNO <owa@bg.wakwak.com> 1.12-18
  89. - rebuilt with rpm-4.8.1-3
  90. * Wed Feb 17 2010 Shu KONNO <owa@bg.wakwak.com> 1.12-17
  91. - rebuilt with new environment
  92. * Sun Apr 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.12-16
  93. - changed Group to Applications/Development
  94. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.12-15
  95. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  96. * Sun Jun 08 2008 Shu KONNO <owa@bg.wakwak.com> 1.12-14vl5
  97. - applied new versioning policy and utf-8
  98. - added BuildRequires: xorg-x11-devel imake
  99. - dropt Patch0: xxgdb-1.08-glibc.patch
  100. - dropt Patch1: xxgdb-1.12-sysv.patch
  101. - dropt Patch2: xxgdb-1.12-compat21.patch
  102. - added Patch104: xxgdb-1.12-SYSV.patch
  103. * Sat Jan 05 2008 Shu KONNO <owa@bg.wakwak.com> 1.12-13vl10
  104. - updated xxgdb.desktop
  105. - add xxgdb.png
  106. * Wed Jul 12 2006 Shu KONNO <owa@bg.wakwak.com> 1.12-13vl9
  107. - rebuild
  108. * Sat Jul 30 2005 Shu KONNO <owa@bg.wakwak.com> 1.12-13vl8
  109. - rebuilt with kernel-2.6.12
  110. - dropt xxgdb-1.12-cannot-open.patch
  111. - added xxgdb-1.12-Unix98.patch
  112. * Wed Dec 01 2004 Shu KONNO <owa@bg.wakwak.com> 1.12-13vl7
  113. - rebuilt
  114. * Sun May 02 2004 Shu KONNO <owa@bg.wakwak.com> 1.12-13vl6
  115. - changed url to 'ftp://ftp.x.org/contrib/utilities/'
  116. - replaced specs, 'Copyright' to 'License'
  117. - added xxgdb-1.12-cannot-open.patch
  118. * Sun Jan 6 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.12-13vl4
  119. - rebuilt for VineSeed
  120. * Sat Jan 05 2002 Shu KONNO <owa@bg.wakwak.com> 1.12-13vl3
  121. - added xxgdb-1.12-I18N_mb-1.2.patch
  122. * Thu Jul 13 2000 Masato Bito <masato@nets.ce.hiroshima-cu.ac.jp>
  123. - 1.12-13vl2
  124. - modified %patch1 -p1 -> %patch1 -p0
  125. - modified BuildRoot:
  126. * Fri May 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  127. - sync with RH 6.2
  128. - added I18N patch
  129. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  130. - wmconfig -> desktop
  131. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  132. - fix description
  133. * Fri Jan 14 2000 Jeff Johnson <jbj@redhat.com>
  134. - rebuild for Red Hat 6.2.
  135. * Wed Mar 23 1999 Michael Maher <mike@redhat.com>
  136. - added requires for gdb
  137. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  138. - auto rebuild in the new build environment (release 9)
  139. * Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
  140. - patch around i386 wchar_t glibc-2.1 typedef.
  141. * Wed Jul 29 1998 Jeff Johnson <jbj@redhat.com>
  142. - change wmconfig group to utilities
  143. - build root
  144. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  145. - translations modified for de, fr, tr
  146. * Mon Feb 9 1998 Otto Hammersmith <otto@redhat.com>
  147. - fixed wmconfig entry
  148. * Tue Oct 21 1997 Otto Hammersmith <otto@redhat.com>
  149. - fixed src url
  150. - added wmconfig entries
  151. - removed prefix line ... can't have it with wmconfig file :(
  152. * Fri Aug 22 1997 Erik Troan <ewt@redhat.com>
  153. - built against glibc