d-feet-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. Summary: D-Bus Debugger
  2. Summary(ja): D-Bus デバッガ
  3. Name: d-feet
  4. Version: 0.3.9
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: Development/Debuggers
  8. URL: https://live.gnome.org/DFeet/
  9. Source0: http://download.gnome.org/sources/d-feet/0.3/%{name}-%{version}.tar.xz
  10. Patch0: d-feet-desktop-keywords.patch
  11. BuildArch: noarch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: desktop-file-utils
  14. BuildRequires: gettext
  15. BuildRequires: glib2-devel
  16. BuildRequires: gobject-introspection-devel
  17. BuildRequires: gtk3-devel
  18. BuildRequires: intltool
  19. BuildRequires: itstool
  20. #BuildRequires: libappstream-glib
  21. Requires: libwnck3
  22. Requires: pygobject3
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: Takemikaduchi
  26. %description
  27. D-Feet is an easy to use D-Bus debugger. D-Feet can be used to inspect D-Bus
  28. interfaces of running programs and invoke methods on those interfaces.
  29. %description -l ja
  30. D-Feet は簡単に使える D-Bus デバッガです。D-Feet は実行中のプログラムの D-Bus
  31. インタフェースを調べたり、これらのインタフェースのメソッドを呼び出すときに
  32. 使えるプログラムです。
  33. %prep
  34. %setup -q
  35. %patch0 -p1 -b .keywords
  36. %build
  37. %configure --disable-tests
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. make install DESTDIR=$RPM_BUILD_ROOT
  42. # Update the screenshot shown in the software center
  43. #
  44. # NOTE: It would be *awesome* if this file was pushed upstream.
  45. #
  46. # See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
  47. #
  48. #appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/d-feet.appdata.xml \
  49. # https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/d-feet/a.png \
  50. # https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/d-feet/b.png
  51. %find_lang d-feet --with-gnome
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %check
  55. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/d-feet.desktop
  56. %post
  57. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  58. %postun
  59. if [ $1 -eq 0 ]; then
  60. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  61. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  62. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  63. fi
  64. %posttrans
  65. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  66. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  67. %files -f d-feet.lang
  68. %defattr(-,root,root,-)
  69. %doc AUTHORS COPYING README NEWS
  70. %{_bindir}/%{name}
  71. #{python_sitelib}/d_feet-%{version}-py2.7.egg-info
  72. %{python_sitelib}/dfeet
  73. %{_datadir}/appdata/d-feet.appdata.xml
  74. %{_datadir}/applications/d-feet.desktop
  75. %{_datadir}/d-feet
  76. %{_datadir}/glib-2.0/schemas/org.gnome.d-feet.gschema.xml
  77. %{_datadir}/icons/hicolor/*/*/*
  78. %{_datadir}/icons/HighContrast/*/*/*
  79. %changelog
  80. * Fri Apr 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.3.9-1
  81. - updated to 0.3.9
  82. - updated BR
  83. - moved to Development/Debuggers Group
  84. * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.15-2
  85. - fix typo in Group
  86. * Sat Oct 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.15-1
  87. - initial build