rhughes pushed to bluefish (master). "Update the screenshot shown in the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Mar 30 16:41:15 UTC 2015
>From c3432a4be2b6823e3b9d901d601222d64b9c2b37 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Mon, 30 Mar 2015 17:41:08 +0100
Subject: Update the screenshot shown in the software center
diff --git a/bluefish.spec b/bluefish.spec
index 03f3487..ada2bad 100644
--- a/bluefish.spec
+++ b/bluefish.spec
@@ -4,7 +4,7 @@
Name: bluefish
Version: %{pkgver}
-Release: %{?prerel:0.}%{rpmrel}%{?prerel:.%{prerel}}%{?dist}
+Release: %{?prerel:0.}%{rpmrel}%{?prerel:.%{prerel}}%{?dist}.1
Summary: Web development application for experienced users
License: GPLv3+
URL: http://bluefish.openoffice.nl/
@@ -23,6 +23,7 @@ BuildRequires: gucharmap-devel >= 2.90
BuildRequires: intltool
BuildRequires: libxml2-devel
BuildRequires: python2-devel
+BuildRequires: libappstream-glib
# Needed to check man pages
BuildRequires: /usr/bin/man
# For the Advanced Open function
@@ -81,6 +82,15 @@ make %{?_smp_mflags}
mkdir -p %{buildroot}%{_datadir}/applications
make install DESTDIR=%{buildroot} INSTALL="install -p"
+# 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/bluefish.appdata.xml \
+ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/bluefish/a.png
+
# Make zencoding plugin scripts executable to placate rpmlint
find %{buildroot}%{_datadir}/bluefish/plugins/zencoding -name '*.py' |
xargs awk '/^#!/ { print FILENAME }' |
@@ -170,6 +180,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%{_mandir}/man1/%{name}.1*
%changelog
+* Mon Mar 30 2015 Richard Hughes <rhughes at redhat.com> - 2.2.7-1.1
+- Use better AppData screenshots
+
* Mon Feb 2 2015 Paul Howarth <paul at city-fan.org> - 2.2.7-1
- Update to 2.2.7 (mostly a bug fix release)
- Fixes rare crashes in the autocompletion, the filebrowser, the htmlbar
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/bluefish.git/commit/?h=master&id=c3432a4be2b6823e3b9d901d601222d64b9c2b37
More information about the scm-commits
mailing list