Update to 0.15.3
Install the HighContrast icons and update the icon cache scriptlets to take this into account.
This commit is contained in:
parent
5df307423f
commit
3a4f8855e2
1
.gitignore
vendored
1
.gitignore
vendored
@ -22,3 +22,4 @@ dconf-0.5.tar.bz2
|
|||||||
/dconf-0.14.0.tar.xz
|
/dconf-0.14.0.tar.xz
|
||||||
/dconf-0.15.0.tar.xz
|
/dconf-0.15.0.tar.xz
|
||||||
/dconf-0.15.2.tar.xz
|
/dconf-0.15.2.tar.xz
|
||||||
|
/dconf-0.15.3.tar.xz
|
||||||
|
46
dconf.spec
46
dconf.spec
@ -2,8 +2,8 @@
|
|||||||
%define vala_version 0.11.7
|
%define vala_version 0.11.7
|
||||||
|
|
||||||
Name: dconf
|
Name: dconf
|
||||||
Version: 0.15.2
|
Version: 0.15.3
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A configuration system
|
Summary: A configuration system
|
||||||
|
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -60,20 +60,36 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
|
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
|
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
|
|
||||||
|
%post editor
|
||||||
|
for d in hicolor HighContrast ; do
|
||||||
|
touch --no-create %{_datadir}/icons/$d &>/dev/null || :
|
||||||
|
done
|
||||||
|
|
||||||
|
%postun editor
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
for d in hicolor HighContrast ; do
|
||||||
|
touch --no-create %{_datadir}/icons/$d &>/dev/null || :
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || :
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
%posttrans editor
|
||||||
|
for d in hicolor HighContrast ; do
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || :
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
%files -f dconf.lang
|
%files -f dconf.lang
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
@ -99,18 +115,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%{_datadir}/gtk-doc/html/dconf
|
%{_datadir}/gtk-doc/html/dconf
|
||||||
%{_datadir}/vala
|
%{_datadir}/vala
|
||||||
|
|
||||||
%post editor
|
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
|
|
||||||
%postun editor
|
|
||||||
if [ $1 -eq 0 ] ; then
|
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%posttrans editor
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
|
|
||||||
%files editor
|
%files editor
|
||||||
%{_bindir}/dconf-editor
|
%{_bindir}/dconf-editor
|
||||||
%{_datadir}/applications/dconf-editor.desktop
|
%{_datadir}/applications/dconf-editor.desktop
|
||||||
@ -118,9 +122,15 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%{_datadir}/dconf-editor/dconf-editor.ui
|
%{_datadir}/dconf-editor/dconf-editor.ui
|
||||||
%{_datadir}/dconf-editor/dconf-editor-menu.ui
|
%{_datadir}/dconf-editor/dconf-editor-menu.ui
|
||||||
%{_datadir}/icons/hicolor/*/apps/dconf-editor.png
|
%{_datadir}/icons/hicolor/*/apps/dconf-editor.png
|
||||||
|
%{_datadir}/icons/HighContrast/*/apps/dconf-editor.png
|
||||||
%{_mandir}/man1/dconf-editor.1.gz
|
%{_mandir}/man1/dconf-editor.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 11 2013 Kalev Lember <kalevlember@gmail.com> - 0.15.3-1
|
||||||
|
- Update to 0.15.3
|
||||||
|
- Install the HighContrast icons and update the icon cache scriptlets to take
|
||||||
|
this into account
|
||||||
|
|
||||||
* Sat Dec 22 2012 Rex Dieter <rdieter@fedoraproject.org> - 0.15.2-2
|
* Sat Dec 22 2012 Rex Dieter <rdieter@fedoraproject.org> - 0.15.2-2
|
||||||
- -devel: drop Requires: glib2-devel, already gets pulled in via pkgconfig deps
|
- -devel: drop Requires: glib2-devel, already gets pulled in via pkgconfig deps
|
||||||
- -editor: add icon scriptlets
|
- -editor: add icon scriptlets
|
||||||
|
Loading…
Reference in New Issue
Block a user