Drop old AppData screenshots

The Fedora screenshots are of an old version, and the UI has changed
since they were taken.
This commit is contained in:
David King 2015-04-01 08:56:18 +01:00
parent 77c34673f4
commit 948c61cb55

View File

@ -1,7 +1,7 @@
Name: cheese
Epoch: 2
Version: 3.16.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Application for taking pictures and movies from a webcam
Group: Amusements/Graphics
@ -19,7 +19,6 @@ 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)
@ -90,20 +89,6 @@ 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
@ -173,6 +158,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%changelog
* Wed Apr 01 2015 David King <amigadave@amigadave.com> - 2:3.16.0-3
- Drop old AppData screenshots
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 2:3.16.0-2
- Use better AppData screenshots