From 0af49787110fcbe35f0906a2d516ad95e33478d5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 16 May 2010 02:42:47 +0000 Subject: [PATCH] more fixes --- evince.spec | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/evince.spec b/evince.spec index 18a7241..4788401 100644 --- a/evince.spec +++ b/evince.spec @@ -146,16 +146,24 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache %pre -%gconf_schema_obsolete evince evince-thumbnailer evince-thumbnailer-ps -%gconf_schema_obsolete evince-thumbnailer-comics evince-thumbnailer-djvu -%gconf_schema_obsolete evince-thumbnailer-dvi +%gconf_schema_prepare evince evince-thumbnailer evince-thumbnailer-ps +%gconf_schema_prepare evince-thumbnailer-comics evince-thumbnailer-djvu +%gconf_schema_prepare 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 @@ -172,6 +180,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %defattr(-,root,root,-) %doc README COPYING NEWS AUTHORS %{_bindir}/* +%{_sysconfdir}/gconf/schemas/* %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/evince.*