rhughes pushed to cheese (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 77c34673f4e7f00898a6c70f5e1fab856a9e7f49 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Mon, 30 Mar 2015 17:43:55 +0100
Subject: Update the screenshot shown in the software center
diff --git a/cheese.spec b/cheese.spec
index 4e59abf..33fc3bf 100644
--- a/cheese.spec
+++ b/cheese.spec
@@ -1,7 +1,7 @@
Name: cheese
Epoch: 2
Version: 3.16.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Application for taking pictures and movies from a webcam
Group: Amusements/Graphics
@@ -19,6 +19,7 @@ BuildRequires: intltool
BuildRequires: itstool
BuildRequires: libXtst-devel
BuildRequires: vala-devel
+BuildRequires: libappstream-glib
BuildRequires: pkgconfig(clutter-1.0)
BuildRequires: pkgconfig(clutter-gst-2.0)
BuildRequires: pkgconfig(clutter-gtk-1.0)
@@ -89,6 +90,20 @@ make DESTDIR=%{buildroot} INSTALL="install -p" install
rm -f %{buildroot}%{_libdir}/libcheese.{a,la}
rm -f %{buildroot}%{_libdir}/libcheese-gtk.{a,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.Cheese.appdata.xml \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Cheese/a.png \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Cheese/b.png \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Cheese/c.png \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Cheese/d.png \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Cheese/e.png \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.Cheese/f.png
+
%find_lang %{name} --with-gnome
chrpath --delete %{buildroot}%{_bindir}/cheese
@@ -158,6 +173,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 2:3.16.0-2
+- Use better AppData screenshots
+
* Tue Mar 24 2015 David King <amigadave at amigadave.com> - 2:3.16.0-1
- Update to 3.16.0
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/cheese.git/commit/?h=master&id=77c34673f4e7f00898a6c70f5e1fab856a9e7f49
More information about the scm-commits
mailing list