nemiver-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. Summary: Standalone graphical debugger for GNOME
  2. Summary(ja): GNOME 向けの GUI デバッガ
  3. Name: nemiver
  4. Version: 0.9.3
  5. Release: 1%{?_dist_release}
  6. Source0: %{name}-%{version}.tar.xz
  7. License: GPLv2
  8. Group: Applications/Development
  9. URL: http://projects.gnome.org/nemiver/
  10. Requires: ghex > 2.90
  11. Requires(post): desktop-file-utils
  12. Requires(postun):desktop-file-utils
  13. BuildRequires: gdb
  14. BuildRequires: gnome-doc-utils >= 0.3.2
  15. BuildRequires: gtkmm3-devel >= 3.2.0
  16. BuildRequires: gtksourceviewmm3-devel >= 3.2.0
  17. BuildRequires: libgtop2-devel >= 2.14
  18. BuildRequires: vte3-devel >= 0.12.0
  19. BuildRequires: sqlite3-devel >= 3.0
  20. BuildRequires: libboost-devel >= 1.33.1
  21. BuildRequires: ghex-devel > 2.90
  22. BuildRequires: dconf-devel
  23. BuildRequires: gsettings-desktop-schemas-devel
  24. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  25. Patch0: nemiver-0.9.2-iostream.patch
  26. Packager: kazutaka
  27. %description
  28. Nemiver is a standalone graphical debugger that integrates well in the
  29. GNOME desktop environment. It currently features a backend which uses
  30. the GNU debugger GDB for debugging C/C++ programs.
  31. %description -l ja
  32. Nemiver は GNOME デスクトップ向けのスタンドアローンな GUI デバッガです。
  33. C/C++ プログラムのデバッグのバックエンドには GDB (GNU デバッガ)を利用
  34. しています。
  35. %package devel
  36. Summary: Libraries and headers for %{name}
  37. Summary(ja): %{name} 用の開発ライブラリおよびヘッダファイル
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}
  40. %description devel
  41. This package includes the files needed for developing and compiling
  42. applications which use the %{name} library.
  43. You should install the %{name}-devel package if you would like to
  44. develop applications using %{name}.
  45. %description devel -l ja
  46. このパッケージは %{name} ライブラリを使用するアプリケーションを開発
  47. するのに必要なライブラリやヘッダファイルを含んでいます。
  48. %{name} を使用したアプリケーションを開発するなら、このパッケージ
  49. をインストールしてください。
  50. %prep
  51. %setup -q
  52. %patch0 -p1 -b .iostream
  53. %build
  54. %configure --disable-static
  55. %{__make} %{?_smp_mflags}
  56. %install
  57. %{__rm} -rf $RPM_BUILD_ROOT
  58. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  59. %find_lang %{name}
  60. # remove unnecessary files
  61. find $RPM_BUILD_ROOT/%{_libdir} -name "*.la" -exec %{__rm} -f "{}" \;
  62. %clean
  63. %{__rm} -rf $RPM_BUILD_ROOT
  64. %post
  65. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  66. touch --no-create %{_datadir}/icons/hicolor
  67. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  68. /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
  69. fi
  70. %postun
  71. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  72. if [ $1 -eq 0 ]; then
  73. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  74. fi
  75. touch --no-create %{_datadir}/icons/hicolor
  76. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  77. /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
  78. fi
  79. %posttrans
  80. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  81. %files -f %{name}.lang
  82. %defattr(-,root,root)
  83. %doc AUTHORS COPYING COPYRIGHT ChangeLog INSTALL NEWS
  84. %doc README TODO
  85. %{_bindir}/%{name}
  86. %{_libdir}/%{name}
  87. %{_datadir}/%{name}
  88. %{_datadir}/applications/%{name}.desktop
  89. %{_datadir}/icons/hicolor/16x16/apps/%{name}.png
  90. %{_datadir}/icons/hicolor/22x22/apps/%{name}.png
  91. %{_datadir}/icons/hicolor/24x24/apps/%{name}.png
  92. %{_datadir}/icons/hicolor/32x32/apps/%{name}.png
  93. %{_datadir}/icons/hicolor/48x48/apps/%{name}.png
  94. %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
  95. %{_datadir}/glib-2.0/schemas/org.%{name}.gschema.xml
  96. %{_datadir}/gnome/help/%{name}
  97. %{_datadir}/omf/%{name}
  98. %{_mandir}/man1/%{name}.1*
  99. %files devel
  100. %{_includedir}/%{name}
  101. %changelog
  102. * Sat Aug 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-1
  103. - new upstream release
  104. * Tue Jun 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-1
  105. - new upstream release
  106. - add Patch0 (nemiver-0.9.2-iostream.patch)
  107. - change BuildRequires: gtksourceviewmm3-devel instead of gtksourceviewmm-devel
  108. - change BuildRequires: gtkmm3-devel instead of gtkmm2-devel
  109. - change BuildRequires: vte3-devel instead of vte-devel
  110. - remove BuildRequires: GConf2-devel
  111. - add BuildRequires: dconf-devel, gsettings-desktop-schemas-devel
  112. * Sun Oct 24 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.8.0-1
  113. - initial build for Vine Linux