Update the screenshot shown in the software center
This commit is contained in:
parent
80e1e018de
commit
20f75f24f7
@ -1,7 +1,7 @@
|
|||||||
Name: gnome-font-viewer
|
Name: gnome-font-viewer
|
||||||
Version: 3.16.0
|
Version: 3.16.0
|
||||||
%global release_version %(echo %{version} | awk -F. '{print $1"."$2}')
|
%global release_version %(echo %{version} | awk -F. '{print $1"."$2}')
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Utility for previewing fonts for GNOME
|
Summary: Utility for previewing fonts for GNOME
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -14,6 +14,7 @@ BuildRequires: gnome-desktop3-devel
|
|||||||
BuildRequires: gtk3-devel
|
BuildRequires: gtk3-devel
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: libappstream-glib
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Use gnome-font-viewer, the Font Viewer, to preview fonts and display
|
Use gnome-font-viewer, the Font Viewer, to preview fonts and display
|
||||||
@ -31,6 +32,16 @@ make %{?_smp_mflags}
|
|||||||
%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/org.gnome.font-viewer.appdata.xml \
|
||||||
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.font-viewer/a.png \
|
||||||
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.font-viewer/b.png
|
||||||
|
|
||||||
%find_lang %{name} --with-gnome
|
%find_lang %{name} --with-gnome
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -54,6 +65,9 @@ update-desktop-database &> /dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 3.16.0-2
|
||||||
|
- Use better AppData screenshots
|
||||||
|
|
||||||
* Tue Mar 24 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
|
* Tue Mar 24 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
|
||||||
- Update to 3.16.0
|
- Update to 3.16.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user