Update the screenshot shown in the software center
This commit is contained in:
parent
c8e4f27592
commit
f074da930d
16
gimp.spec
16
gimp.spec
@ -82,7 +82,7 @@ Summary: GNU Image Manipulation Program
|
||||
Name: gimp
|
||||
Epoch: 2
|
||||
Version: 2.8.14
|
||||
Release: %{?prerelprefix}1%{dotprerel}%{dotgitrev}%{?dist}
|
||||
Release: %{?prerelprefix}1%{dotprerel}%{dotgitrev}%{?dist}.1
|
||||
|
||||
# Compute some version related macros.
|
||||
# Ugly, need to get quoting percent signs straight.
|
||||
@ -135,6 +135,7 @@ BuildRequires: jasper-devel
|
||||
%if %{with lcms}
|
||||
BuildRequires: lcms2-devel >= 2.2
|
||||
%endif
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: libexif-devel >= 0.6.15
|
||||
BuildRequires: libgnomeui-devel >= 2.10.0
|
||||
%if %{with gudev}
|
||||
@ -415,6 +416,16 @@ rm -rf %{buildroot}
|
||||
make DESTDIR=%{buildroot} install
|
||||
install -D -m0644 macros.gimp %{buildroot}%{_rpmconfigdir}/macros.d/macros.gimp
|
||||
|
||||
# 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/gimp.appdata.xml \
|
||||
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gimp/a.png \
|
||||
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gimp/b.png
|
||||
|
||||
# remove rpaths
|
||||
find %buildroot -type f -print0 | xargs -0 -L 20 chrpath --delete --keepgoing 2>/dev/null || :
|
||||
|
||||
@ -641,6 +652,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 2:2.8.14-1.1
|
||||
- Use better AppData screenshots
|
||||
|
||||
* Tue Aug 26 2014 Nils Philippsen <nils@redhat.com> - 2:2.8.14-1
|
||||
- version 2.8.14
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user