File d-feet.spec of Package d-feet
#
# spec file for package d-feet
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: d-feet
Version: 0.3.1
Release: 0
License: GPL-2.0+
Summary: Graphical D-Bus Debugger
Url: http://live.gnome.org/DFeet/
Group: Development/Tools/Debuggers
Source0: http://download.gnome.org/sources/d-feet/0.3/%{name}-%{version}.tar.xz
BuildRequires: gobject-introspection
BuildRequires: hicolor-icon-theme
BuildRequires: python-setuptools
BuildRequires: update-desktop-files
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%py_requires
%description
D-Feet is a graphical D-Bus debugger. D-Bus is an RPC library used on
the Desktop. D-Feet can be used to inspect D-Bus objects of running
programs and invoke methods on those objects.
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%suse_update_desktop_file -N "D-Feet D-Bus Debugger" dfeet
%post
%icon_theme_cache_post
%desktop_database_post
%postun
%icon_theme_cache_postun
%desktop_database_postun
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_bindir}/d-feet
%{python_sitelib}/dfeet/
%{python_sitelib}/d_feet-%{version}-*.egg-info
%{_datadir}/dfeet/
%{_datadir}/applications/dfeet.desktop
%{_datadir}/icons/hicolor/*/apps/*
%changelog