diff --git a/geary.spec b/geary.spec index f66b018..a41f2ef 100644 --- a/geary.spec +++ b/geary.spec @@ -1,6 +1,6 @@ Name: geary Version: 0.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A lightweight email program designed around conversations # Geary is under LGPLv2+. # SQLite3-unicodesn code is in the Public Domain. @@ -18,6 +18,7 @@ BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: intltool BuildRequires: gnome-doc-utils +BuildRequires: libappstream-glib BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.32.0 BuildRequires: pkgconfig(gio-2.0) >= 2.28.0 @@ -70,6 +71,15 @@ make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} +# 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/geary.appdata.xml \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/geary/a.png + desktop-file-validate \ %{buildroot}%{_datadir}/applications/geary.desktop \ %{buildroot}%{_datadir}/applications/geary-autostart.desktop @@ -109,6 +119,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %changelog +* Mon Mar 30 2015 Richard Hughes - 0.9.1-2 +- Use better AppData screenshots + * Wed Feb 4 2015 Thomas Moschny - 0.9.1-1 - Update to 0.9.1.