dtimms pushed to audacity (f21). "Update the screenshot shown in the software center"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 1 11:31:06 UTC 2015


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


diff --git a/audacity.spec b/audacity.spec
index 54c810c..7feb338 100644
--- a/audacity.spec
+++ b/audacity.spec
@@ -4,7 +4,7 @@
 Name: audacity
 
 Version: 2.1.0
-Release: 0.1.rc2%{?dist}
+Release: 0.2.rc2%{?dist}
 Summary: Multitrack audio editor
 Group:   Applications/Multimedia
 License: GPLv2
@@ -48,6 +48,7 @@ BuildRequires: vamp-plugin-sdk-devel >= 2.0
 BuildRequires: zip
 BuildRequires: zlib-devel
 BuildRequires: wxGTK-devel
+BuildRequires: libappstream-glib
 %{?_with_mp3:BuildRequires: libmad-devel twolame-devel}
 # For new symbols in portaudio
 Requires:      portaudio%{?_isa} >= 19-16
@@ -131,6 +132,15 @@ make
 %make_install
 rm -Rf $RPM_BUILD_ROOT%{_datadir}/%{realname}/include
 
+# 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/audacity.appdata.xml \
+  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/audacity/a.png 
+
 # Audacity 1.3.8-beta complains if the help/manual directories
 # don't exist.
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/help/manual
@@ -188,6 +198,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
 
 
 %changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 2.1.0-0.2.rc2
+- Use better AppData screenshots
+
 
 * Thu Mar 05 2015 David Timms <iinet.net.au at dtimms> - 2.1.0-0.1.rc2
 - Update to release candidate 2 for testing.
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/audacity.git/commit/?h=f21&id=db6b6d9aa7e6c596f10443c39755e618e392e406


More information about the scm-commits mailing list