diff --git a/eog.spec b/eog.spec index 44385f1..a52f171 100644 --- a/eog.spec +++ b/eog.spec @@ -118,6 +118,7 @@ update-desktop-database -q %gconf_schema_upgrade eog touch %{_datadir}/icons/hicolor >&/dev/null || : + %pre %gconf_schema_prepare eog @@ -129,10 +130,12 @@ update-desktop-database -q if [ $1 -eq 0 ]; then touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : + glib-compile-schemas %{_datadir}/glib-2.0/schemas fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : +glib-compile-schemas %{_datadir}/glib-2.0/schemas %files -f %{name}.lang %defattr(-,root,root) @@ -144,6 +147,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %{_bindir}/* %{_sysconfdir}/gconf/schemas/*.schemas %{_libdir}/eog +%{_datadir}/glib-2.0/schemas/org.gnome.eog.gschema.xml %files devel %defattr(-,root,root)