diff --git a/d-feet.spec b/d-feet.spec index 766143d..e9188c4 100644 --- a/d-feet.spec +++ b/d-feet.spec @@ -1,6 +1,6 @@ Name: d-feet Version: 0.3.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A powerful D-Bus Debugger Group: Development/Tools License: GPLv2+ @@ -18,6 +18,7 @@ BuildRequires: gtk3-devel BuildRequires: intltool BuildRequires: itstool BuildRequires: python-pep8 +BuildRequires: libappstream-glib Requires: libwnck3 Requires: pygobject3 @@ -38,6 +39,16 @@ make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} +# Update the screenshot shown in the software center +# +# NOTE: It would be *awesome* if this file was pushed upstream. +# +# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details. +# +appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/d-feet.appdata.xml \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/d-feet/a.png \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/d-feet/b.png + %find_lang d-feet --with-gnome %check @@ -70,6 +81,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/icons/HighContrast/scalable/apps/d-feet.svg %changelog +* Mon Mar 30 2015 Richard Hughes - 0.3.9-2 +- Use better AppData screenshots + * Sun Jun 08 2014 Kalev Lember - 0.3.9-1 - Update to 0.3.9 - Include the appdata file