From 4d2b8228b786dc7a9c485c2573de0da328724e9e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 9 Jun 2010 01:52:51 +0000 Subject: [PATCH] add gschema updates to spec --- eog.spec | 4 ++++ 1 file changed, 4 insertions(+) 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)