File d-feet.spec of Package d-feet
#
# spec file for package d-feet
#
# Copyright (c) 2014 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.9
Release: 0
Summary: Graphical D-Bus Debugger
License: GPL-2.0+
Group: Development/Tools/Debuggers
Url: http://live.gnome.org/DFeet/
Source0: http://download.gnome.org/sources/d-feet/0.3/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: intltool >= 0.40.0
BuildRequires: python-pep8
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.6
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.4
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Recommends: %{name}-lang
%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.
%lang_package
%prep
%setup -q
%build
%configure
%install
%make_install
%suse_update_desktop_file -N "D-Feet D-Bus Debugger" %{name}
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}
%post
%icon_theme_cache_post
%icon_theme_cache_post HighContrast
%desktop_database_post
%glib2_gsettings_schema_post
%postun
%icon_theme_cache_postun
%icon_theme_cache_postun HighContrast
%desktop_database_postun
%glib2_gsettings_schema_postun
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%doc %{_datadir}/help/C/%{name}/
%{_bindir}/%{name}
%{python_sitelib}/dfeet/
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.d-feet.gschema.xml
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/icons/HighContrast/
%dir %{_datadir}/appdata
%{_datadir}/appdata/%{name}.appdata.xml
%files lang -f %{name}.lang
%changelog