Update the screenshot shown in the software center
This commit is contained in:
parent
03f3bd02cf
commit
c56587c1c0
@ -1,6 +1,6 @@
|
|||||||
Name: gnome-clocks
|
Name: gnome-clocks
|
||||||
Version: 3.16.0
|
Version: 3.16.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Clock application designed for GNOME 3
|
Summary: Clock application designed for GNOME 3
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -18,6 +18,7 @@ BuildRequires: desktop-file-utils glib2-devel itstool
|
|||||||
BuildRequires: geoclue2-devel
|
BuildRequires: geoclue2-devel
|
||||||
BuildRequires: geocode-glib-devel
|
BuildRequires: geocode-glib-devel
|
||||||
BuildRequires: gsound-devel
|
BuildRequires: gsound-devel
|
||||||
|
BuildRequires: libappstream-glib
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Clock application designed for GNOME 3
|
Clock application designed for GNOME 3
|
||||||
@ -34,6 +35,19 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/org.gnome.clocks.desktop
|
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/org.gnome.clocks.desktop
|
||||||
%find_lang gnome-clocks --with-gnome
|
%find_lang gnome-clocks --with-gnome
|
||||||
|
|
||||||
|
# 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.clocks.appdata.xml \
|
||||||
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/a.png \
|
||||||
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/b.png \
|
||||||
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/c.png \
|
||||||
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/d.png \
|
||||||
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/e.png
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/bin/touch --no-create %{_datadir}/icons/hicolor %{_datadir}/icons/HighContrast &>/dev/null || :
|
/bin/touch --no-create %{_datadir}/icons/hicolor %{_datadir}/icons/HighContrast &>/dev/null || :
|
||||||
|
|
||||||
@ -66,6 +80,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 3.16.0-2
|
||||||
|
- Use better AppData screenshots
|
||||||
|
|
||||||
* Mon Mar 23 2015 Yanko Kaneti <yaneti@declera.com> - 3.16.0-1
|
* Mon Mar 23 2015 Yanko Kaneti <yaneti@declera.com> - 3.16.0-1
|
||||||
- Update to 3.16.0
|
- Update to 3.16.0
|
||||||
- Use license macro
|
- Use license macro
|
||||||
|
Loading…
Reference in New Issue
Block a user