bsjones pushed to rosegarden4 (f22). "Update the screenshot shown in the software center"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon May 4 10:00:27 UTC 2015


>From 309d16459e322dda4277f6eea04fb3b7ba1ca56c Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Mon, 30 Mar 2015 17:44:14 +0100
Subject: Update the screenshot shown in the software center


diff --git a/rosegarden4.spec b/rosegarden4.spec
index 1aa097a..bb84c9b 100644
--- a/rosegarden4.spec
+++ b/rosegarden4.spec
@@ -3,7 +3,7 @@
 
 Name:          rosegarden4
 Version:       %{maj}
-Release:       4%{?dist}
+Release:       5%{?dist}
 Summary:       MIDI, audio and notation editor
 Group:         Applications/Multimedia
 License:       GPLv2+
@@ -28,6 +28,7 @@ BuildRequires: liblrdf-devel
 BuildRequires: libsamplerate-devel
 BuildRequires: libsndfile-devel
 BuildRequires: lirc-devel
+BuildRequires: libappstream-glib
 
 Provides:      rosegarden = %{version}-%{release}
 
@@ -88,6 +89,16 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 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/rosegarden.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/rosegarden/a.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/rosegarden/b.png \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/rosegarden/c.png 
 
 desktop-file-install \
 %if %fedora < 19
@@ -145,6 +156,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
 %doc data/fonts/README COPYING
 
 %changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 14.02-5
+- Use better AppData screenshots
+
 * Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org>
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/rosegarden4.git/commit/?h=f22&id=309d16459e322dda4277f6eea04fb3b7ba1ca56c


More information about the scm-commits mailing list