|
@@ -1,7 +1,7 @@
|
|
# Basic Information
|
|
# Basic Information
|
|
Name: dconf
|
|
Name: dconf
|
|
Version: 0.20.0
|
|
Version: 0.20.0
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Release: 3%{?_dist_release}
|
|
License: LGPL
|
|
License: LGPL
|
|
Group: System Environment/Base
|
|
Group: System Environment/Base
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.20/%{name}-%{version}.tar.xz
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.20/%{name}-%{version}.tar.xz
|
|
@@ -78,21 +78,27 @@ dconf-editor により dconf の設定を参照したり変更したりするこ
|
|
|
|
|
|
|
|
|
|
%post
|
|
%post
|
|
|
|
+gio-querymodules %{_libdir}/gio/modules
|
|
|
|
+
|
|
|
|
+%post editor
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
update-desktop-database -q &> /dev/null || :
|
|
update-desktop-database -q &> /dev/null || :
|
|
-gio-querymodules %{_libdir}/gio/modules
|
|
|
|
|
|
|
|
%postun
|
|
%postun
|
|
|
|
+if [ $1 -eq 0 ] ; then
|
|
|
|
+ gio-querymodules %{_libdir}/gio/modules
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+%postun editor
|
|
if [ $1 -eq 0 ] ; then
|
|
if [ $1 -eq 0 ] ; then
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
update-desktop-database -q &> /dev/null || :
|
|
update-desktop-database -q &> /dev/null || :
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
- gio-querymodules %{_libdir}/gio/modules
|
|
|
|
fi
|
|
fi
|
|
|
|
|
|
-%posttrans
|
|
|
|
|
|
+%posttrans editor
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
|
|
|
|
|
|
|
@@ -131,6 +137,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Jun 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.20.0-3
|
|
|
|
+- move some post/postun scripts to dconf-editor:
|
|
|
|
+ - glib-compile-schemas, gtk-update-icon-cache, update-desktop-database
|
|
|
|
+
|
|
* Mon Jun 16 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.20.0-2
|
|
* Mon Jun 16 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.20.0-2
|
|
- split dconf-editor to subpackage.
|
|
- split dconf-editor to subpackage.
|
|
- drop libgee dependency(R,BR)
|
|
- drop libgee dependency(R,BR)
|