rhughes pushed to fotowall (master). "Update the screenshot shown in the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Mar 30 16:42:05 UTC 2015
>From 3fd8c598f149bed24d661a9d508d57dc50fe6bf9 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Mon, 30 Mar 2015 17:41:55 +0100
Subject: Update the screenshot shown in the software center
diff --git a/fotowall.spec b/fotowall.spec
index 18eeb3d..a00884d 100644
--- a/fotowall.spec
+++ b/fotowall.spec
@@ -1,6 +1,6 @@
Name: fotowall
Version: 0.9
-Release: 9%{?dist}
+Release: 10%{?dist}
Epoch: 1
Summary: Photo collection creativity tool
@@ -12,6 +12,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: qt-devel >= 4.4 libv4l-devel
BuildRequires: desktop-file-utils
+BuildRequires: libappstream-glib
%description
FotoWall is a creative tool that allows you to layout your photos or pictures
@@ -40,6 +41,14 @@ desktop-file-install --vendor="" \
--dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
$RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
+# 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/fotowall.appdata.xml \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/fotowall/a.png
%clean
rm -rf $RPM_BUILD_ROOT
@@ -54,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/man/man?/%{name}.?.gz
%changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 1:0.9-10
+- Use better AppData screenshots
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.9-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/fotowall.git/commit/?h=master&id=3fd8c598f149bed24d661a9d508d57dc50fe6bf9
More information about the scm-commits
mailing list