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

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


>From 7fa736fc7fecd31af39b453083d628d56f09250f Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Mon, 30 Mar 2015 17:40:56 +0100
Subject: Update the screenshot shown in the software center


diff --git a/banshee.spec b/banshee.spec
index 16a1f79..0266be5 100644
--- a/banshee.spec
+++ b/banshee.spec
@@ -1,6 +1,6 @@
 Name:    banshee
 Version: 2.6.2
-Release: 8%{?dist}
+Release: 9%{?dist}
 Summary: Easily import, manage, and play selections from your music collection
 
 License: MIT
@@ -34,6 +34,7 @@ BuildRequires: libmtp-devel >= 0.2.0
 # https://bugzilla.redhat.com/show_bug.cgi?id=867133
 BuildRequires: dbus-glib-devel
 BuildRequires: GConf2-devel
+BuildRequires: libappstream-glib
 
 # Web Browser
 BuildRequires: webkitgtk-devel
@@ -129,6 +130,18 @@ make %{?_smp_mflags} V=1
 %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/banshee.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/banshee/a.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/banshee/b.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/banshee/c.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/banshee/d.png 
+
 # clean-up .a archives
 find %{buildroot} \( -name '*.la' -or -name '*.a' \) -exec rm -f {} \;
 
@@ -181,6 +194,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
 %{_libdir}/pkgconfig/banshee-*.pc
 
 %changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 2.6.2-9
+- Use better AppData screenshots
+
 * Wed Dec 10 2014 Tom Callaway <spot at fedoraproject.org> 2.6.2-8
 - add sqlite hinting
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/banshee.git/commit/?h=master&id=7fa736fc7fecd31af39b453083d628d56f09250f


More information about the scm-commits mailing list