rhughes pushed to shotwell (master). "Update the screenshot shown in the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Mar 30 16:46:52 UTC 2015
>From d3af9c749327b7c1dc1f91f1fa71a4dd603b3f95 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Mon, 30 Mar 2015 17:44:27 +0100
Subject: Update the screenshot shown in the software center
diff --git a/shotwell.spec b/shotwell.spec
index 0024ce0..76b036f 100644
--- a/shotwell.spec
+++ b/shotwell.spec
@@ -1,6 +1,6 @@
Name: shotwell
Version: 0.22.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A photo organizer for the GNOME desktop
Group: Applications/Multimedia
@@ -16,6 +16,7 @@ Source2: shotwell.1
BuildRequires: vala-devel >= 0.20.1
BuildRequires: desktop-file-utils
+BuildRequires: libappstream-glib
BuildRequires: gettext
BuildRequires: pkgconfig(atk)
BuildRequires: pkgconfig(gdk-3.0)
@@ -75,6 +76,18 @@ export XDG_DISABLE_MAKEFILE_UPDATES=1
export LANG=en_US.utf8
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/shotwell.appdata.xml \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/shotwell/a.png \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/shotwell/b.png \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/shotwell/c.png \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/shotwell/d.png
+
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/shotwell.desktop
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/shotwell-viewer.desktop
@@ -128,6 +141,9 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 0.22.0-2
+- Use better AppData screenshots
+
* Tue Mar 24 2015 Kalev Lember <kalevlember at gmail.com> - 0.22.0-1
- Update to 0.22.0
- Use license macro for the COPYING file
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/shotwell.git/commit/?h=master&id=d3af9c749327b7c1dc1f91f1fa71a4dd603b3f95
More information about the scm-commits
mailing list