more fixes

This commit is contained in:
Matthias Clasen 2010-05-16 02:42:47 +00:00
parent 4c7aecae67
commit 0af4978711

View File

@ -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.*