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

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


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


diff --git a/bijiben.spec b/bijiben.spec
index 2007262..5c50242 100644
--- a/bijiben.spec
+++ b/bijiben.spec
@@ -1,6 +1,6 @@
 Name:		bijiben
 Version:	3.16.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Simple Note Viewer
 
 # Bijiben is GPLv3+ apart a few files "LGPLv2 or LGPLv3"
@@ -26,6 +26,7 @@ BuildRequires:	yelp-tools
 BuildRequires:	zeitgeist-devel >= 0.9.14
 BuildRequires:	evolution-data-server-devel
 BuildRequires:	evolution-devel
+BuildRequires:  libappstream-glib
 
 Requires:	gvfs-goa
 
@@ -54,6 +55,17 @@ make %{?_smp_mflags}
 %install
 make install DESTDIR=%{buildroot} INSTALL="/usr/bin/install -p"
 
+# 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/bijiben.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/bijiben/a.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/bijiben/b.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/bijiben/c.png 
+
 # Validates the .desktop
 desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
 
@@ -100,6 +112,9 @@ fi
 %{_datadir}/dbus-1/services/org.gnome.Bijiben.SearchProvider.service
 
 %changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 3.16.0-2
+- Use better AppData screenshots
+
 * Fri Mar 20 2015 Kalev Lember <kalevlember at gmail.com> - 3.16.0-1
 - Update to 3.16.0
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/bijiben.git/commit/?h=master&id=b56cc451bf43d8cecccbd77583d1957bb7ce71b3


More information about the scm-commits mailing list