File d-feet.spec of Package d-feet

#
# spec file for package d-feet (Version 0.1.8)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           d-feet
Version:        0.1.8
Release:        1
Summary:        D-Feet is a graphical D-Bus Debugger
Group:          Development/Tools/Debuggers
License:        GPL v2 or later
Url:            http://hosted.fedoraproject.org/projects/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
%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
%{_libdir}/python2.?/site-packages/*
%{_datadir}/dfeet/*
%{_datadir}/applications/dfeet.desktop
%{_datadir}/icons/hicolor/*/apps/*

%changelog
* Tue Jan 08 2008 - thoenig@suse.de
- initial check-in: D-Feet 0.1.8
openSUSE Build Service is sponsored by