070a900
%global __python %{__python3}
070a900
d79b617
Name: d-feet 
45a1b8d
Version: 0.3.11
45a1b8d
Release: 1%{?dist}
d79b617
Summary: A powerful D-Bus Debugger
d79b617
Group: Development/Tools
d79b617
License: GPLv2+
5aeb2e6
URL: https://live.gnome.org/DFeet/
4f1eff9
Source0: http://download.gnome.org/sources/d-feet/0.3/d-feet-%{version}.tar.xz
3aaae39
Patch0: d-feet-desktop-keywords.patch
3aaae39
d79b617
BuildArch: noarch
d79b617
d79b617
BuildRequires: desktop-file-utils
d79b617
BuildRequires: gettext
e5a6f2d
BuildRequires: glib2-devel
fbced66
BuildRequires: gobject-introspection-devel
e5a6f2d
BuildRequires: gtk3-devel
e5a6f2d
BuildRequires: intltool
e5a6f2d
BuildRequires: itstool
070a900
BuildRequires: python3-devel
e5a6f2d
BuildRequires: python-pep8
Richard Hughes 96ea4fd
BuildRequires: libappstream-glib
88d9b3d
Requires: libwnck3
070a900
Requires: python3-gobject
d79b617
d79b617
%description
d79b617
D-Feet is an easy to use D-Bus debugger.
d79b617
d79b617
D-Bus is an RPC library used on the Desktop.  D-Feet can be used to inspect
d79b617
D-Bus objects of running programs and invoke methods on those objects.
d79b617
d79b617
%prep
d79b617
%setup -q
3aaae39
%patch0 -p1 -b .keywords
d79b617
d79b617
%build
070a900
export PYTHON=%{__python3}
e5a6f2d
%configure
e5a6f2d
make %{?_smp_mflags}
d79b617
d79b617
%install
a200f4d
%make_install
d79b617
Richard Hughes 96ea4fd
# Update the screenshot shown in the software center
Richard Hughes 96ea4fd
#
Richard Hughes 96ea4fd
# NOTE: It would be *awesome* if this file was pushed upstream.
Richard Hughes 96ea4fd
#
Richard Hughes 96ea4fd
# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
Richard Hughes 96ea4fd
#
Richard Hughes 96ea4fd
appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/d-feet.appdata.xml \
Richard Hughes 96ea4fd
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/d-feet/a.png \
Richard Hughes 96ea4fd
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/d-feet/b.png 
Richard Hughes 96ea4fd
e5a6f2d
%find_lang d-feet --with-gnome
e5a6f2d
e5a6f2d
%check
e5a6f2d
desktop-file-validate %{buildroot}%{_datadir}/applications/d-feet.desktop
d79b617
d79b617
%post
92bca03
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
d79b617
d79b617
%postun
92bca03
if [ $1 -eq 0 ] ; then
e38e69b
    glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
92bca03
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
92bca03
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
d79b617
fi
d79b617
92bca03
%posttrans
e38e69b
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
92bca03
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
92bca03
e5a6f2d
%files -f d-feet.lang
cacfd31
%license COPYING
cacfd31
%doc AUTHORS README NEWS
070a900
%{python3_sitelib}/dfeet/
92bca03
%{_bindir}/d-feet
19dee39
%{_datadir}/appdata/d-feet.appdata.xml
e5a6f2d
%{_datadir}/applications/d-feet.desktop
e5a6f2d
%{_datadir}/d-feet/
e5a6f2d
%{_datadir}/glib-2.0/schemas/org.gnome.d-feet.gschema.xml
92bca03
%{_datadir}/icons/hicolor/*/apps/*.png
4f1eff9
%{_datadir}/icons/hicolor/scalable/apps/d-feet.svg
e5a6f2d
%{_datadir}/icons/HighContrast/scalable/apps/d-feet.svg
d79b617
d79b617
%changelog
45a1b8d
* Tue May 03 2016 Kalev Lember <klember@redhat.com> - 0.3.11-1
45a1b8d
- Update to 0.3.11
a200f4d
- Use make_install macro
cacfd31
- Use license macro for COPYING
070a900
- Switch to Python 3 (#1314029)
45a1b8d
e9c433e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-4
e9c433e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e9c433e
1907ac4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-3
1907ac4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1907ac4
Richard Hughes 96ea4fd
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 0.3.9-2
Richard Hughes 96ea4fd
- Use better AppData screenshots
Richard Hughes 96ea4fd
19dee39
* Sun Jun 08 2014 Kalev Lember <kalevlember@gmail.com> - 0.3.9-1
19dee39
- Update to 0.3.9
19dee39
- Include the appdata file
19dee39
37ece8a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-2
37ece8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
37ece8a
eb553cd
* Thu Sep 26 2013 Kalev Lember <kalevlember@gmail.com> - 0.3.7-1
eb553cd
- Update to 0.3.7
eb553cd
177e9a6
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-2
177e9a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
177e9a6
fbced66
* Sun Jun 09 2013 Kalev Lember <kalevlember@gmail.com> - 0.3.5-1
fbced66
- Update to 0.3.5
fbced66
e5a6f2d
* Sat May 25 2013 Kalev Lember <kalevlember@gmail.com> - 0.3.4-1
e5a6f2d
- Update to 0.3.4
e5a6f2d
- Switch to the autotools build
e38e69b
- Add glib-compile-schemas scriptlets
e5a6f2d
0b0daa1
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-2
0b0daa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0b0daa1
11a369c
* Tue Jan 15 2013 Matthias Clasen <mclasen@redhat.com> - 0.3.3-1
11a369c
- Update to 0.3.3
11a369c
4f1eff9
* Fri Nov 09 2012 Kalev Lember <kalevlember@gmail.com> - 0.3.1-1
4f1eff9
- Update to 0.3.1
4f1eff9
- Adjust deps for the switch to gobject-introspection
92bca03
- Modernize the spec file
4f1eff9
5aeb2e6
* Wed Oct 17 2012 Kalev Lember <kalevlember@gmail.com> - 0.1.15-1
5aeb2e6
- Update to 0.1.15
5aeb2e6
- Update the URLs; it's now a GNOME hosted project
5aeb2e6
e1b0f64
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.14-3
e1b0f64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e1b0f64
9e98257
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.14-2
9e98257
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9e98257
John (J5) Palmieri 18b4eb4
* Mon Nov 14 2011 John (J5) Palmieri <johnp@redhat.com> - 0.1.14-1
John (J5) Palmieri 18b4eb4
- update to upstream 0.1.14
John (J5) Palmieri 18b4eb4
- new hires icons
John (J5) Palmieri 18b4eb4
- fix config parsing
John (J5) Palmieri 18b4eb4
- remove dependency on glade
John (J5) Palmieri 18b4eb4
- bump requires to python 2.5
John (J5) Palmieri 18b4eb4
John (J5) Palmieri 3509a2f
* Mon Aug 23 2010 John (J5) Palmieri <johnp@redhat.com> - 0.1.12-1
John (J5) Palmieri 3509a2f
- update to upstream 0.1.12
John (J5) Palmieri 3509a2f
- Add the ability to specify a bus on the command line using the --bus-address 
John (J5) Palmieri 3509a2f
  or -a switch (jdahlin)
John (J5) Palmieri 3509a2f
- fix up some UI bugs (jdahlin)
John (J5) Palmieri 3509a2f
- move project to gnome.org
John (J5) Palmieri 3509a2f
John (J5) Palmieri 05bc2d3
* Wed Aug 9 2010 John (J5) Palmieri <johnp@redhat.com> - 0.1.11-1
John (J5) Palmieri 05bc2d3
- update to upstream 0.1.11
John (J5) Palmieri 05bc2d3
- fix up .desktop file
8418546
570e788
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-2
570e788
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
570e788
333910c
* Wed Jul 08 2009 John (J5) Palmieri <johnp@redhat.com> - 0.1.10-1
333910c
- update to upstream 0.1.10
333910c
- output now pretty printed
333910c
- all simple types supported
333910c
- ui cleanups
333910c
731222c
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-3
731222c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
731222c
85c3c45
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.8-2
85c3c45
- Rebuild for Python 2.6
85c3c45
5be5d1c
* Mon Jan 07 2008 John (J5) Palmieri <johnp@redhat.com> - 0.1.8-1
5be5d1c
- update to upstream 0.1.8
5be5d1c
- complex types are now supported in the output
5be5d1c
- fixed a typo s/Unkown/Unknown
5be5d1c
f8dfd32
* Mon Jan 07 2008 John (J5) Palmieri <johnp@redhat.com> - 0.1.7-1
f8dfd32
- update to upstream 0.1.7
f8dfd32
- update the license for _introspect_parser.py to permissive
f8dfd32
  since dbus-python was relicense (this just makes including this code
f8dfd32
  easier since the GPL/AFL dual license confused some people)
f8dfd32
- add placeholder icons to denote methods, properties and signals
f8dfd32
  does someone want to make a standard set of programmer tool icons?
f8dfd32
- default service icon now added to the package for distributions
f8dfd32
  that do not ship an icon called icon-service
f8dfd32
- argument types now show the parameter name if given in the introspect data
f8dfd32
- selecting a property now attempts to read the propety and display a value
f8dfd32
- prettier formatting for introspect output
f8dfd32
- various bug fixes
f8dfd32
6504d85
* Wed Dec 12 2007 John (J5) Palmieri <johnp@redhat.com> - 0.1.6-1
6504d85
- update to upstream 0.1.6 which fixes issues with .ui files not being installed
6504d85
032420b
* Wed Dec 12 2007 John (J5) Palmieri <johnp@redhat.com> - 0.1.5-1
032420b
- update to upstream 0.1.5
032420b
- attach to any bus
032420b
- execute button makes executing methods more descoverable
032420b
- icons show up if app associated with a name has a toplevel window
032420b
- initial support for icons on introspect nodes 
032420b
- syntax highlighting for methods and signals
032420b
- support for property lists in the introspect data
032420b
- tabs are restored when started again
032420b
d79b617
* Fri Dec 07 2007 John (J5) Palmieri <johnp@redhat.com> - 0.1.4-1
d79b617
- update to upstream 0.1.4 which cleans up some bugs
d79b617
- remove scrollkeeper BR
d79b617
- make use description does not exceed 80 characters per line
d79b617
d79b617
* Wed Dec 05 2007 John (J5) Palmieri <johnp@redhat.com> - 0.1.3-1
d79b617
- update to upstream 0.1.3 which cleans up the .desktop file and
d79b617
  only install the icon in the hicolor theme
d79b617
d79b617
* Wed Dec 05 2007 John (J5) Palmieri <johnp@redhat.com> - 0.1.2-3
d79b617
- pick up %%{python_sitelib}/* instead of %%{python_sitelib}/dfeet/
d79b617
  in files section so we pick up the python egg stuff
d79b617
d79b617
* Tue Dec 04 2007 John (J5) Palmieri <johnp@redhat.com> - 0.1.2-2
d79b617
- clean up spec file
d79b617
d79b617
* Tue Dec 04 2007 John (J5) Palmieri <johnp@redhat.com> - 0.1.2-1
d79b617
- update to 0.1.2 which fixes the .desktop file so it validates
d79b617
d79b617
* Tue Dec 04 2007 John (J5) Palmieri <johnp@redhat.com> - 0.1.1-1
d79b617
- update to 0.1.1 which fixes the .desktop file category 
d79b617
d79b617
* Tue Dec 04 2007 John (J5) Palmieri <johnp@redhat.com> - 0.1-1
d79b617
- Initial build.