Update to 3.16.1

No more HighContrast specific icons
This commit is contained in:
Yanko Kaneti 2015-04-13 19:47:53 +03:00
parent c56587c1c0
commit 4cfd84d870
3 changed files with 12 additions and 8 deletions

1
.gitignore vendored
View File

@ -30,3 +30,4 @@
/gnome-clocks-3.15.90.tar.xz
/gnome-clocks-3.15.92.tar.xz
/gnome-clocks-3.16.0.tar.xz
/gnome-clocks-3.16.1.tar.xz

View File

@ -1,6 +1,6 @@
Name: gnome-clocks
Version: 3.16.0
Release: 2%{?dist}
Version: 3.16.1
Release: 1%{?dist}
Summary: Clock application designed for GNOME 3
License: GPLv2+
@ -49,19 +49,17 @@ appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/org.gnome.
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/e.png
%post
/bin/touch --no-create %{_datadir}/icons/hicolor %{_datadir}/icons/HighContrast &>/dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor %{_datadir}/icons/HighContrast &>/dev/null
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/HighContrast &>/dev/null || :
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
%posttrans
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/HighContrast &>/dev/null || :
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%files -f gnome-clocks.lang
@ -69,7 +67,8 @@ fi
%license COPYING
%{_bindir}/gnome-clocks
%{_datadir}/gnome-clocks
%{_datadir}/icons/*/*/apps/gnome-clocks.png
%{_datadir}/icons/hicolor/*/apps/gnome-clocks.png
%{_datadir}/icons/hicolor/symbolic/apps/gnome-clocks-symbolic.svg
%{_datadir}/appdata/org.gnome.clocks.appdata.xml
%{_datadir}/applications/org.gnome.clocks.desktop
%{_datadir}/dbus-1/services/org.gnome.clocks.service
@ -80,6 +79,10 @@ fi
%changelog
* Mon Apr 13 2015 Yanko Kaneti <yaneti@declera.com> - 3.16.1-1
- Update to 3.16.1
- No more HighContrast specific icons
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 3.16.0-2
- Use better AppData screenshots

View File

@ -1 +1 @@
f46d399f2968c4a3c1758dcaee18caf6 gnome-clocks-3.16.0.tar.xz
5f1d7ce5774de60f3f8b6995ba69ca5e gnome-clocks-3.16.1.tar.xz