File d-feet.spec of Package d-feet

#
# spec file for package d-feet (Version 0.1.8)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           d-feet
Version:        0.1.8
Release:        92
Summary:        D-Feet is a graphical D-Bus Debugger
Group:          Development/Tools/Debuggers
License:        GPL v2 or later
Url:            https://fedorahosted.org/d-feet/
Source0:        %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gettext python-gtk-devel scrollkeeper update-desktop-files
Requires:       python >= 2.4
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.



Authors:
--------
    John (J5) Palmieri <johnp@redhat.com>
    Ray Strode <rstrode@redhat.com>
    Marcel Holtmann <marcel@holtmann.org>

%prep
%setup -q

%build
export CFLAGS="$RPM_OPT_FLAGS"
%{__python} setup.py build

%install
%{__python} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
%suse_update_desktop_file -N "D-Feet D-Bus Debugger" dfeet Development Debugger GTK

%clean
rm -rf %{buildroot}

%files 
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%dir %{_datadir}/dfeet
%{_bindir}/d-feet
%{python_sitelib}/*
%{_datadir}/dfeet/*
%{_datadir}/applications/dfeet.desktop
%{_datadir}/icons/hicolor/*/apps/*

%changelog
openSUSE Build Service is sponsored by