add gschema updates to spec

This commit is contained in:
Matthias Clasen 2010-06-09 01:52:51 +00:00
parent 782e3b66f4
commit 4d2b8228b7

View File

@ -118,6 +118,7 @@ update-desktop-database -q
%gconf_schema_upgrade eog %gconf_schema_upgrade eog
touch %{_datadir}/icons/hicolor >&/dev/null || : touch %{_datadir}/icons/hicolor >&/dev/null || :
%pre %pre
%gconf_schema_prepare eog %gconf_schema_prepare eog
@ -129,10 +130,12 @@ update-desktop-database -q
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 || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas
fi fi
%posttrans %posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
@ -144,6 +147,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%{_bindir}/* %{_bindir}/*
%{_sysconfdir}/gconf/schemas/*.schemas %{_sysconfdir}/gconf/schemas/*.schemas
%{_libdir}/eog %{_libdir}/eog
%{_datadir}/glib-2.0/schemas/org.gnome.eog.gschema.xml
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)