nemiver-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. Summary: Standalone graphical debugger for GNOME
  2. Summary(ja): GNOME 向けの GUI デバッガ
  3. Name: nemiver
  4. Version: 0.9.5
  5. Release: 2%{?_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. BuildRequires: itstool
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. Packager: kazutaka, kenta
  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. %build
  53. %configure --disable-static
  54. %{__make} %{?_smp_mflags}
  55. %install
  56. %{__rm} -rf $RPM_BUILD_ROOT
  57. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  58. %find_lang %{name}
  59. # remove unnecessary files
  60. find $RPM_BUILD_ROOT/%{_libdir} -name "*.la" -exec %{__rm} -f "{}" \;
  61. %clean
  62. %{__rm} -rf $RPM_BUILD_ROOT
  63. %post
  64. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  65. touch --no-create %{_datadir}/icons/hicolor
  66. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  67. /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
  68. fi
  69. %postun
  70. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  71. if [ $1 -eq 0 ]; then
  72. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  73. fi
  74. touch --no-create %{_datadir}/icons/hicolor
  75. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  76. /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
  77. fi
  78. %posttrans
  79. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  80. %files -f %{name}.lang
  81. %defattr(-,root,root)
  82. %doc AUTHORS COPYING COPYRIGHT ChangeLog INSTALL NEWS
  83. %doc README TODO
  84. %{_bindir}/%{name}
  85. %{_libdir}/%{name}
  86. %{_datadir}/%{name}
  87. %{_datadir}/applications/%{name}.desktop
  88. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  89. %{_datadir}/icons/HighContrast/*/apps/%{name}.*
  90. %{_datadir}/glib-2.0/schemas/org.%{name}.gschema.xml
  91. %{_datadir}/help/*
  92. %{_mandir}/man1/%{name}.1*
  93. %files devel
  94. %{_includedir}/%{name}
  95. %changelog
  96. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-2
  97. - rebuild with libgtop2-2.30.0
  98. * Fri Dec 13 2013 NAKAMURA Kenta <kenta@vinelinux.org> 0.9.5-1
  99. - new upstream release
  100. - drop Patch0 (nemiver-0.9.2-iostream.patch)
  101. - add BuildRequires: itstool
  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