From 4c7aecae67f73859b1053891cbba71087d584a4a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 16 May 2010 02:29:09 +0000 Subject: [PATCH] fixes --- evince.spec | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/evince.spec b/evince.spec index 41f978d..18a7241 100644 --- a/evince.spec +++ b/evince.spec @@ -1,5 +1,5 @@ %global poppler_version 0.12.0 -%global glib2_version 2.18.0 +%global glib2_version 2.25.5 %global gtk2_version 2.20.0 %global dbus_version 0.70 %global theme_version 2.17.1 @@ -146,29 +146,18 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache %pre -%gconf_schema_prepare evince evince-thumbnailer evince-thumbnailer-ps -%gconf_schema_prepare evince-thumbnailer-comics evince-thumbnailer-djvu -%gconf_schema_prepare evince-thumbnailer-dvi +%gconf_schema_obsolete evince evince-thumbnailer evince-thumbnailer-ps +%gconf_schema_obsolete evince-thumbnailer-comics evince-thumbnailer-djvu +%gconf_schema_obsolete evince-thumbnailer-dvi %post -%gconf_schema_upgrade evince evince-thumbnailer evince-thumbnailer-ps -%gconf_schema_upgrade evince-thumbnailer-comics evince-thumbnailer-djvu -%gconf_schema_upgrade evince-thumbnailer-dvi - update-desktop-database &> /dev/null ||: - touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : %post libs -p /sbin/ldconfig -%preun -%gconf_schema_remove evince evince-thumbnailer evince-thumbnailer-ps -%gconf_schema_remove evince-thumbnailer-comics evince-thumbnailer-djvu -%gconf_schema_remove evince-thumbnailer-dvi - %postun update-desktop-database &> /dev/null ||: - if [ $1 -eq 0 ]; then touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : @@ -185,12 +174,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %{_bindir}/* %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop -%{_sysconfdir}/gconf/schemas/*.schemas %{_datadir}/icons/hicolor/*/apps/evince.* %{_mandir}/man1/evince.1.gz %{_libexecdir}/evince-convert-metadata %{_libexecdir}/evinced %{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service +%{_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml %files libs %defattr(-,root,root,-)