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

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


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


diff --git a/eclipse.spec b/eclipse.spec
index 96590b5..63badb0 100644
--- a/eclipse.spec
+++ b/eclipse.spec
@@ -38,7 +38,7 @@ Epoch:                  1
 Summary:        An open, extensible IDE
 Name:           %{?scl_prefix}eclipse
 Version:        %{eclipse_version}
-Release:        0.7.git201503172000%{?dist}
+Release:        0.8.git201503172000%{?dist}
 License:        EPL
 URL:            http://www.eclipse.org/
 
@@ -177,6 +177,7 @@ BuildRequires: cbi-plugins
 BuildRequires: xml-maven-plugin
 BuildRequires: httpcomponents-core >= 4.4-1
 BuildRequires: httpcomponents-client >= 4.4-1
+BuildRequires: libappstream-glib
 BuildRequires: mockito
 %if ! %{bootstrap}
 BuildRequires: eclipse-pde
@@ -606,6 +607,15 @@ install -m644 -D desktopintegration/eclipse.appdata.xml      $RPM_BUILD_ROOT%{_d
 install -m644 -D desktopintegration/eclipse-jdt.metainfo.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse-jdt.metainfo.xml
 install -m644 -D desktopintegration/eclipse-pde.metainfo.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse-pde.metainfo.xml
 
+# 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/eclipse.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/eclipse/a.png 
+
 #################################
 ### Extraced from old build.xml #
 #################################
@@ -1016,6 +1026,9 @@ fi
 %{_libdir}/%{pkg_name}/plugins/org.eclipse.osgi.compatibility.state_*
 
 %changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 1:4.5.0-0.8.git201503172000
+- Use better AppData screenshots
+
 * Wed Mar 25 2015 Michael Simacek <msimacek at redhat.com> - 1:4.5.0-0.7.git201503172000
 - Rebuild for jetty update
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/eclipse.git/commit/?h=master&id=2ff086598ff099c07fb1e3a8aa6c8615eaa45b73


More information about the scm-commits mailing list