From 4097d509ca6e6e83652ea1ec4e7764d4c7533f42 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mar 30 2015 16:42:49 +0000 Subject: Update the screenshot shown in the software center --- diff --git a/gnome-screenshot.spec b/gnome-screenshot.spec index afb9322..24a0dbd 100644 --- a/gnome-screenshot.spec +++ b/gnome-screenshot.spec @@ -1,6 +1,6 @@ Name: gnome-screenshot Version: 3.16.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A screenshot utility for GNOME Group: Applications/System @@ -12,6 +12,7 @@ BuildRequires: gtk3-devel BuildRequires: libcanberra-devel BuildRequires: intltool BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib Obsoletes: gnome-utils <= 1:3.3 Obsoletes: gnome-utils-libs <= 1:3.3 @@ -33,6 +34,16 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT +# 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/org.gnome.Screenshot.appdata.xml \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Screenshot/a.png \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Screenshot/b.png + %find_lang %{name} @@ -60,6 +71,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %doc %{_mandir}/man1/gnome-screenshot.1.gz %changelog +* Mon Mar 30 2015 Richard Hughes - 3.16.0-2 +- Use better AppData screenshots + * Tue Mar 24 2015 Kalev Lember - 3.16.0-1 - Update to 3.16.0