Update the screenshot shown in the software center

This commit is contained in:
Richard Hughes 2015-03-30 17:41:30 +01:00
parent 6c1a39d2dd
commit 2ff086598f
1 changed files with 14 additions and 1 deletions

View File

@ -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@redhat.com> - 1:4.5.0-0.8.git201503172000
- Use better AppData screenshots
* Wed Mar 25 2015 Michael Simacek <msimacek@redhat.com> - 1:4.5.0-0.7.git201503172000
- Rebuild for jetty update