Update the screenshot shown in the software center
This commit is contained in:
parent
f5329bb5fa
commit
a18874a1a5
15
glade.spec
15
glade.spec
@ -1,6 +1,6 @@
|
||||
Name: glade
|
||||
Version: 3.18.3
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: User Interface Designer for GTK+
|
||||
|
||||
# - /usr/bin/glade is GPLv2+
|
||||
@ -22,6 +22,7 @@ BuildRequires: libxml2-devel
|
||||
BuildRequires: pygobject3-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: /usr/bin/xsltproc
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
# The gtk3 version of glade was packaged under the name of 'glade3' for a
|
||||
@ -75,6 +76,15 @@ make %{?_smp_mflags}
|
||||
make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
||||
|
||||
# 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/glade.appdata.xml \
|
||||
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/glade/a.png
|
||||
|
||||
# Remove rpaths.
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/glade*
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/glade/modules/*.so
|
||||
@ -133,6 +143,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%doc %{_datadir}/gtk-doc/
|
||||
|
||||
%changelog
|
||||
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 3.18.3-5
|
||||
- Use better AppData screenshots
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user