rhughes pushed to brasero (master). "Update the screenshot shown in the software center"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 16:41:22 UTC 2015


>From 478525ad12082466e9db5390f84f7949822dce8c Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Mon, 30 Mar 2015 17:41:14 +0100
Subject: Update the screenshot shown in the software center


diff --git a/brasero.spec b/brasero.spec
index 0430595..e5bec86 100644
--- a/brasero.spec
+++ b/brasero.spec
@@ -1,6 +1,6 @@
 Name:      brasero
 Version:   3.12.0
-Release:   1%{?dist}
+Release:   2%{?dist}
 Summary:   Gnome CD/DVD burning application
 Group:     Applications/Multimedia
 # see https://bugzilla.gnome.org/show_bug.cgi?id=683503
@@ -105,6 +105,17 @@ make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
 %find_lang %{name}
 
+# 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/brasero.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/brasero/a.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/brasero/b.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/brasero/c.png 
+
 sed -i 's/cd:x/cd;x/' $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 
 desktop-file-install --vendor ""                   \
@@ -183,6 +194,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
 
 
 %changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 3.12.0-2
+- Use better AppData screenshots
+
 * Thu Nov 13 2014 Kalev Lember <kalevlember at gmail.com> - 3.12.0-1
 - Update to 3.12.0
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/brasero.git/commit/?h=master&id=478525ad12082466e9db5390f84f7949822dce8c


More information about the scm-commits mailing list