more fixes
This commit is contained in:
parent
4c7aecae67
commit
0af4978711
15
evince.spec
15
evince.spec
@ -146,16 +146,24 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
|
|||||||
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%gconf_schema_obsolete evince evince-thumbnailer evince-thumbnailer-ps
|
%gconf_schema_prepare evince evince-thumbnailer evince-thumbnailer-ps
|
||||||
%gconf_schema_obsolete evince-thumbnailer-comics evince-thumbnailer-djvu
|
%gconf_schema_prepare evince-thumbnailer-comics evince-thumbnailer-djvu
|
||||||
%gconf_schema_obsolete evince-thumbnailer-dvi
|
%gconf_schema_prepare evince-thumbnailer-dvi
|
||||||
|
|
||||||
%post
|
%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 ||:
|
update-desktop-database &> /dev/null ||:
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%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
|
%postun
|
||||||
update-desktop-database &> /dev/null ||:
|
update-desktop-database &> /dev/null ||:
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
@ -172,6 +180,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README COPYING NEWS AUTHORS
|
%doc README COPYING NEWS AUTHORS
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
%{_sysconfdir}/gconf/schemas/*
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/evince.*
|
%{_datadir}/icons/hicolor/*/apps/evince.*
|
||||||
|
Loading…
Reference in New Issue
Block a user