d-feet-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Summary: D-Bus Debugger
  2. Summary(ja): D-Bus デバッガ
  3. Name: d-feet
  4. Version: 0.1.15
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: User Interface/Deskops
  8. URL: https://live.gnome.org/DFeet/
  9. BuildArch: noarch
  10. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.1/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: dbus-python-devel
  13. BuildRequires: pygtk2-devel
  14. BuildRequires: python-setuptools
  15. Requires: pygtk2
  16. Requires: dbus-python
  17. Requires(postun,posttrans): desktop-file-utils
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. D-Feet is an easy to use D-Bus debugger. D-Feet can be used to inspect D-Bus
  23. interfaces of running programs and invoke methods on those interfaces.
  24. %description -l ja
  25. D-Feet は簡単に使える D-Bus デバッガです。D-Feet は実行中のプログラムの D-Bus
  26. インタフェースを調べたり、これらのインタフェースのメソッドを呼び出すときに
  27. 使えるプログラムです。
  28. %prep
  29. %setup -q
  30. %build
  31. python setup.py build
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. python setup.py install --skip-build --root $RPM_BUILD_ROOT
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %post
  38. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  39. %postun
  40. if [ $1 -eq 0 ]; then
  41. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  42. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  43. update-desktop-database -q &> /dev/null ||:
  44. fi
  45. %posttrans
  46. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  47. update-desktop-database -q &> /dev/null ||:
  48. %files
  49. %defattr(-,root,root,-)
  50. %doc COPYING README NEWS
  51. %{_bindir}/%{name}
  52. %{python_sitelib}/d_feet-%{version}-py2.7.egg-info
  53. %{python_sitelib}/dfeet
  54. %{_datadir}/applications/dfeet.desktop
  55. %{_datadir}/dfeet
  56. %{_datadir}/icons/hicolor/*/*/*
  57. %changelog
  58. * Sat Oct 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.15-1
  59. - initial build