rhughes pushed to nautilus (master). "Update the screenshot shown in the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Mar 30 16:46:10 UTC 2015
>From 1d3a6d47a7e83396b963cab26bd0f4dcbec7e52c Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Mon, 30 Mar 2015 17:43:49 +0100
Subject: Update the screenshot shown in the software center
diff --git a/nautilus.spec b/nautilus.spec
index 5d056f3..6637f19 100644
--- a/nautilus.spec
+++ b/nautilus.spec
@@ -10,7 +10,7 @@
Name: nautilus
Summary: File manager for GNOME
Version: 3.16.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: User Interface/Desktops
Source: https://download.gnome.org/sources/%{name}/3.16/%{name}-%{version}.tar.xz
@@ -33,6 +33,7 @@ BuildRequires: gettext
BuildRequires: intltool >= 0.40.6-2
BuildRequires: libselinux-devel
BuildRequires: libtool
+BuildRequires: libappstream-glib
Requires: glib2%{_isa} >= %{glib2_version}
Requires: gsettings-desktop-schemas%{_isa} >= %{gsettings_desktop_schemas_version}
@@ -114,6 +115,17 @@ desktop-file-install --delete-original \
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
+# 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/org.gnome.Nautilus.appdata.xml \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Nautilus/a.png \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Nautilus/b.png \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Nautilus/c.png
+
%find_lang %name
@@ -167,6 +179,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
%doc %{_datadir}/gtk-doc/html/libnautilus-extension/
%changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 3.16.0-2
+- Use better AppData screenshots
+
* Tue Mar 24 2015 Kalev Lember <kalevlember at gmail.com> - 3.16.0-1
- Update to 3.16.0
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/nautilus.git/commit/?h=master&id=1d3a6d47a7e83396b963cab26bd0f4dcbec7e52c
More information about the scm-commits
mailing list