kdbg-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. Summary: KDbg - a graphical user interface to gdb
  2. Summary(ja): GDB のグラフィカルユーザインターフェイス
  3. Name: kdbg
  4. Version: 2.1.1
  5. Release: 3%{?_dist_release}
  6. License: GPL
  7. URL: http://www.kdbg.org/
  8. Group: Applications/Development
  9. Source: %{name}-%{version}.tar.gz
  10. Patch0: kdbg-2.1.0-gcc44.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: kdelibs3-devel
  13. BuildRequires: desktop-file-utils
  14. BuildRequires: arts-devel
  15. Requires(post): desktop-file-utils
  16. Requires(postun): desktop-file-utils
  17. Requires: gdb
  18. %description
  19. KDbg is a graphical user interface to gdb, the GNU debugger.
  20. It provides an intuitive interface for setting breakpoints,
  21. inspecting variables, and stepping through code.
  22. KDbg requires KDE, the K Desktop Environment, but you can
  23. of course debug any program.
  24. %prep
  25. %setup -q
  26. %patch0 -p1 -b .gcc44
  27. %build
  28. unset QTDIR || : ; source /etc/profile.d/qt.sh
  29. %configure \
  30. --disable-rpath \
  31. --enable-new-ldflags
  32. # don't use parallel build
  33. #make %{?_smp_mflags}
  34. make
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make DESTDIR=$RPM_BUILD_ROOT install
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %post
  41. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  42. %postun
  43. if [ $1 -eq 0 ] ; then
  44. update-desktop-database -q &> /dev/null
  45. touch --no-create %{_datadir}/icons/hicolor &> /dev/null
  46. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  47. fi
  48. %posttrans
  49. update-desktop-database -q &> /dev/null
  50. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  51. %files
  52. %defattr(-,root,root)
  53. %doc COPYING ChangeLog README
  54. %{_bindir}/kdbg
  55. %{_datadir}/applications/*
  56. %{_datadir}/apps/*
  57. %{_datadir}/config/*
  58. %{_datadir}/icons/*/*/*/*
  59. %{_datadir}/locale/*
  60. %doc %{_datadir}/doc/HTML/*
  61. %changelog
  62. * Fri Apr 16 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.1-3
  63. - rebuilt without smp option
  64. - added BR: arts-devel
  65. * Wed Mar 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.1-2
  66. - rebuilt with new toolchain
  67. - added %%post, %%postun and %%posttrans section
  68. - added Patch0 from Fedora
  69. * Fri Feb 27 2009 Than Ngo <than@redhat.com> - 2.1.1-1
  70. - fix build issue against gcc-4.4
  71. * Sun May 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.1-1
  72. - applied new versioning policy, spec in UTF-8
  73. - new upstream release
  74. * Sun Dec 30 2007 Shu KONNO <owa@bg.wakwak.com> 2.0.4-0vl3
  75. - changed configure to %%configure
  76. * Fri Jun 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.4-0vl2
  77. - rebuild for VineSeed
  78. * Fri Jun 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.4-0vl1
  79. - new upstream release
  80. - update URL
  81. * Tue Oct 18 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.0-0vl1
  82. - new upstream release
  83. * Sun Mar 20 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.10-0vl3
  84. - rebuild with kde-3.4.0 (VineSeed)
  85. * Sun Mar 20 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.10-0vl2
  86. - rebuild with kde-3.4.0 (Vine3.1)
  87. * Fri Oct 22 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.10-0vl1
  88. - source upgrade
  89. * Sat May 1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.9-0vl2
  90. - use License tag
  91. - rebuild with qt-3.3.2 and kde-3.2.2
  92. * Sun Sep 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.9-0vl1
  93. - source upgrade
  94. - change spec to build with gcc-3.2.3
  95. * Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.8-0vl1
  96. - source upgrade
  97. - change spec to build with gcc295
  98. - change make option for SMP and add script
  99. * Sun Jun 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.7-0vl2
  100. - rebuild with qt-3.1.2 and kde-3.1.2
  101. * Tue Mar 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.7-0vl1
  102. - source upgrade
  103. - build with qt-3.1.1 and kde-3.1
  104. * Mon Oct 14 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.6-0vl1
  105. - source upgrade
  106. - build with qt-3.0.5 and kde-3.0.4
  107. * Tue Aug 6 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.5-0vl1
  108. - first release