Update the screenshot shown in the software center
This commit is contained in:
parent
8f28b245cf
commit
5eb3b1d379
15
evince.spec
15
evince.spec
@ -5,7 +5,7 @@
|
||||
|
||||
Name: evince
|
||||
Version: 3.16.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Document viewer
|
||||
|
||||
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
|
||||
@ -34,6 +34,7 @@ BuildRequires: adwaita-icon-theme-devel
|
||||
BuildRequires: gnome-desktop3-devel
|
||||
# For autoconf.sh
|
||||
BuildRequires: gnome-common >= 2.26
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
# for the nautilus properties page
|
||||
BuildRequires: nautilus-devel
|
||||
@ -141,6 +142,15 @@ make %{?_smp_mflags} V=1 LIBTOOL=/usr/bin/libtool
|
||||
%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/evince.appdata.xml \
|
||||
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/evince/a.png
|
||||
|
||||
desktop-file-install --delete-original \
|
||||
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
$RPM_BUILD_ROOT%{_datadir}/applications/evince.desktop
|
||||
@ -255,6 +265,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||:
|
||||
%{_libdir}/mozilla/plugins/libevbrowserplugin.so
|
||||
|
||||
%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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user