3 %bcond_without tests # test suite
5 Summary: D-Feet - a D-Bus debugger
6 Summary(pl.UTF-8): D-Feet - debugger dla magistrali D-Bus
11 Group: X11/Applications
12 Source0: http://ftp.gnome.org/pub/GNOME/sources/d-feet/0.3/%{name}-%{version}.tar.xz
13 # Source0-md5: 6e17a11ac2829a28b195845954e31d38
14 URL: http://live.gnome.org/DFeet/
15 BuildRequires: autoconf >= 2.64
16 BuildRequires: automake >= 1:1.11
17 BuildRequires: gnome-common
18 BuildRequires: gobject-introspection-devel >= 0.9.6
19 BuildRequires: gtk+3-devel >= 3.10
20 BuildRequires: intltool >= 0.40.0
21 BuildRequires: pkgconfig
22 BuildRequires: python-devel >= 1:2.7
23 %{?with_tests:BuildRequires: python-pep8}
24 BuildRequires: rpm-pythonprov
25 BuildRequires: rpmbuild(macros) >= 1.592
26 BuildRequires: tar >= 1:1.22
28 BuildRequires: yelp-tools
29 %pyrequires_eq python-modules
30 Requires(post,postun): desktop-file-utils
31 Requires(post,postun): glib2-devel >= 1:2.26.0
32 Requires(post,postun): gtk-update-icon-cache
33 Requires(post,postun): hicolor-icon-theme
34 Requires: gtk+3 >= 3.10
35 Requires: python >= 1:2.7
36 Requires: python-pygobject3 >= 3.4
37 Suggests: libwnck >= 3.0
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 D-Feet is a D-Bus debugger.
44 %description -l pl.UTF-8
45 D-Feet to debugger dla magistrali D-Bus.
51 # rebuild with POSIX sh compatible yelp macros
57 %{!?with_tests:--disable-tests}
61 rm -rf $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT
68 %find_lang %{name} --with-gnome
71 rm -rf $RPM_BUILD_ROOT
75 %update_desktop_database_post
76 %update_icon_cache hicolor
80 %update_desktop_database_postun
81 %update_icon_cache hicolor
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS NEWS README TODO
86 %attr(755,root,root) %{_bindir}/d-feet
88 %{_datadir}/appdata/d-feet.appdata.xml
89 %{_desktopdir}/d-feet.desktop
90 %{_datadir}/glib-2.0/schemas/org.gnome.d-feet.gschema.xml
91 %{py_sitescriptdir}/dfeet
92 %{_iconsdir}/hicolor/*x*/apps/d-feet.png
93 %{_iconsdir}/hicolor/scalable/apps/d-feet.svg
94 %{_iconsdir}/hicolor/16x16/apps/dfeet-*.png
96 #%{_iconsdir}/HighContrast/scalable/apps/d-feet.svg