Update the screenshot shown in the software center

This commit is contained in:
Richard Hughes 2015-03-30 17:41:36 +01:00
parent 74626ba62d
commit 0c8e5c5c73

View File

@ -8,7 +8,7 @@
Summary: Eye of GNOME image viewer
Name: eog
Version: 3.16.0
Release: 1%{?dist}
Release: 2%{?dist}
URL: https://wiki.gnome.org/Apps/EyeOfGnome
#VCS: git:git://git.gnome.org/eog
Source: http://download.gnome.org/sources/eog/3.16/%{name}-%{version}.tar.xz
@ -82,6 +82,16 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
# 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/eog.appdata.xml \
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/eog/a.png \
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/eog/b.png
%find_lang %{name} --with-gnome
rm -rf $RPM_BUILD_ROOT%{_libdir}/eog/plugins/*.la
@ -132,6 +142,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
%{_datadir}/installed-tests/
%changelog
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 3.16.0-2
- Use better AppData screenshots
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
- Update to 3.16.0