Update the screenshot shown in the software center
This commit is contained in:
parent
35c525fced
commit
ae832064df
15
devhelp.spec
15
devhelp.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: devhelp
|
Name: devhelp
|
||||||
Version: 3.16.0
|
Version: 3.16.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -19,6 +19,7 @@ BuildRequires: gettext
|
|||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
||||||
|
BuildRequires: libappstream-glib
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Devhelp is an API documentation browser for the GNOME desktop.
|
Devhelp is an API documentation browser for the GNOME desktop.
|
||||||
@ -44,6 +45,15 @@ make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing"
|
|||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
# 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/devhelp.appdata.xml \
|
||||||
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/devhelp/a.png
|
||||||
|
|
||||||
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
|
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/devhelp/books
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/devhelp/books
|
||||||
@ -99,6 +109,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 1:3.16.0-2
|
||||||
|
- Use better AppData screenshots
|
||||||
|
|
||||||
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 1:3.16.0-1
|
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 1:3.16.0-1
|
||||||
- Update to 3.16.0
|
- Update to 3.16.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user