insight-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. %define name insight
  2. %define version 6.7.1
  3. %define release 1%{?_dist_release}
  4. Summary: Graphical debugger based on gdb
  5. Summary(ja): gdb ベースのGUI デバッガ
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. License: GPL
  10. Group: Development/Debuggers
  11. Url: http://sources.redhat.com/insight/
  12. Source: ftp://sourceware.org/pub/insight/releases/%{name}-%{version}.tar.bz2
  13. BuildRoot: %{_tmppath}/%{name}-root
  14. Requires: itcl, tcl, tk
  15. Conflicts: iwidgets
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. Insight is a tight graphical user interface to gdb written in Tcl/Tk. It
  20. provides a comprehensive interface that enables users to harness most
  21. of gdb's power. It's also probably the only up-to-date UI for
  22. gdb version %{version}
  23. %description -l ja
  24. Insight は Tcl/TK で書かれた gdb の GUI です. ユーザに gdb がもつほとんどの
  25. 機能を使用可能な interface を提供します。これは 常時 update されており
  26. この package は gdb %{version} の UI となっています。
  27. %prep
  28. %setup -q
  29. %build
  30. export CFLAGS="$RPM_OPT_FLAGS -fPIC"
  31. export CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
  32. ./configure \
  33. --prefix=%{_prefix} \
  34. --libdir=%{_libdir} \
  35. --mandir=%{_mandir} \
  36. --disable-werror
  37. %__make %{?_smp_mflags}
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. make install \
  41. SUBDIRS="libgui gdb" \
  42. INSTALL_X11_MODULES="gdb" \
  43. INSTALL_MODULES="libgui gdb" \
  44. INSTALL_X11_MODULES="gdb" \
  45. prefix=$RPM_BUILD_ROOT/%{_prefix} \
  46. libdir=$RPM_BUILD_ROOT/%{_libdir} \
  47. mandir=$RPM_BUILD_ROOT/%{_mandir}
  48. #%find_lang %{name}
  49. rm -rf $RPM_BUILD_ROOT%{_bindir}/gdb
  50. rm -rf $RPM_BUILD_ROOT%{_bindir}/gdbtui
  51. rm -rf $RPM_BUILD_ROOT%{_bindir}/gdbserver
  52. rm -rf $RPM_BUILD_ROOT%{_bindir}/tclsh8.4
  53. rm -rf $RPM_BUILD_ROOT%{_bindir}/wish8.4
  54. rm -rf $RPM_BUILD_ROOT%{_includedir}
  55. rm -rf $RPM_BUILD_ROOT%{_libdir}/itcl*
  56. rm -rf $RPM_BUILD_ROOT%{_libdir}/itk*
  57. rm -rf $RPM_BUILD_ROOT%{_libdir}/tk*
  58. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.{a,la,so,sh}
  59. rm -rf $RPM_BUILD_ROOT/usr/info
  60. rm -rf $RPM_BUILD_ROOT%{_datadir}/itcl*
  61. rm -rf $RPM_BUILD_ROOT%{_datadir}/itk*
  62. rm -rf $RPM_BUILD_ROOT%{_datadir}/tk*
  63. rm -rf $RPM_BUILD_ROOT%{_datadir}/tcl*
  64. rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
  65. rm -rf $RPM_BUILD_ROOT%{_mandir}/man1
  66. rm -rf $RPM_BUILD_ROOT%{_mandir}/man3
  67. rm -rf $RPM_BUILD_ROOT%{_mandir}/mann
  68. rm -rf $RPM_BUILD_ROOT/usr/man/mann
  69. %clean
  70. rm -rf $RPM_BUILD_ROOT
  71. %files
  72. %defattr(644,root,root,755)
  73. %doc COPYING COPYING.LIB README
  74. %attr(755,root,root) %{_bindir}/insight
  75. %{_datadir}/redhat
  76. %{_datadir}/insight1.0
  77. %{_datadir}/iwidgets4.0.1
  78. %{_libdir}/insight1.0
  79. %changelog
  80. * Sat Sep 13 2008 Shu KONNO <owa@bg.wakwak.com> 6.7.1-1vl5
  81. - applied new versioning policy, spec in utf-8
  82. * Tue Feb 26 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 6.7.1-0vl3
  83. - rebuild with expat-2.0.1
  84. * Sun Feb 17 2008 Shu KONNO <owa@bg.wakwak.com> 6.7.1-0vl2
  85. - rebuiled with tcl/tk-8.4.18
  86. * Tue Jan 01 2008 Shu KONNO <owa@bg.wakwak.com> 6.7.1-0vl1
  87. - new upstream release
  88. - updated many scripts
  89. * Tue Mar 29 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 6.1-0vl1
  90. - new upstream release
  91. * Mon Nov 19 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.0-0vl5
  92. - make libiberty before sim
  93. * Thu Nov 15 2001 Kazuhisa TAKEI<takei@vinelinux.org> 5.0-0vl4
  94. - initial release