rhughes pushed to glade (master). "Update the screenshot shown in the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Mar 30 16:42:38 UTC 2015
>From a18874a1a5a1640e041f718ad7df96d4f1fcf4c7 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Mon, 30 Mar 2015 17:42:19 +0100
Subject: Update the screenshot shown in the software center
diff --git a/glade.spec b/glade.spec
index 09c5806..d86d352 100644
--- a/glade.spec
+++ b/glade.spec
@@ -1,6 +1,6 @@
Name: glade
Version: 3.18.3
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: User Interface Designer for GTK+
# - /usr/bin/glade is GPLv2+
@@ -22,6 +22,7 @@ BuildRequires: libxml2-devel
BuildRequires: pygobject3-devel
BuildRequires: python2-devel
BuildRequires: /usr/bin/xsltproc
+BuildRequires: libappstream-glib
Requires: %{name}-libs = %{version}-%{release}
# The gtk3 version of glade was packaged under the name of 'glade3' for a
@@ -75,6 +76,15 @@ make %{?_smp_mflags}
make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
+# 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/glade.appdata.xml \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/glade/a.png
+
# Remove rpaths.
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/glade*
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/glade/modules/*.so
@@ -133,6 +143,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%doc %{_datadir}/gtk-doc/
%changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 3.18.3-5
+- Use better AppData screenshots
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.18.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/glade.git/commit/?h=master&id=a18874a1a5a1640e041f718ad7df96d4f1fcf4c7
More information about the scm-commits
mailing list