kwizart pushed to filezilla (f21). "Update the screenshot shown in the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri Apr 3 18:33:41 UTC 2015
>From 4639992d625542eb51613e1ebd9d7a5a4eec20e5 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Mon, 30 Mar 2015 17:41:49 +0100
Subject: Update the screenshot shown in the software center
diff --git a/filezilla.spec b/filezilla.spec
index ad92c18..c71c7aa 100644
--- a/filezilla.spec
+++ b/filezilla.spec
@@ -2,7 +2,7 @@
Name: filezilla
Version: 3.10.3
-Release: 0.2%{?dist}
+Release: 0.3%{?dist}
Summary: FTP, FTPS and SFTP client
Group: Applications/Internet
@@ -33,6 +33,7 @@ BuildRequires: sqlite-devel
#BuildRequires: tinyxml-devel >= 2.5.3
Provides: bundled(tinyxml) = 2.6.2
BuildRequires: wxGTK3-devel >= 3.0.1
+BuildRequires: libappstream-glib
%description
@@ -79,6 +80,15 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
+# 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/filezilla.appdata.xml \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/filezilla/a.png
+
for i in 16x16 32x32 48x48 ; do
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${i}/apps
ln -sf ../../../../%{name}/resources/${i}/%{name}.png \
@@ -140,6 +150,9 @@ fi || :
%changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 3.10.3-0.3
+- Use better AppData screenshots
+
* Tue Mar 17 2015 Nicolas Chauvet <kwizart at gmail.com> - 3.10.3-0.2
- Update to 3.10.3-beta2
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/filezilla.git/commit/?h=f21&id=4639992d625542eb51613e1ebd9d7a5a4eec20e5
More information about the scm-commits
mailing list