From c3432a4be2b6823e3b9d901d601222d64b9c2b37 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mar 30 2015 16:41:08 +0000 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 - 2.2.7-1.1 +- Use better AppData screenshots + * Mon Feb 2 2015 Paul Howarth - 2.2.7-1 - Update to 2.2.7 (mostly a bug fix release) - Fixes rare crashes in the autocompletion, the filebrowser, the htmlbar