fixes
This commit is contained in:
parent
56da1d7c0c
commit
4c7aecae67
21
evince.spec
21
evince.spec
@ -1,5 +1,5 @@
|
|||||||
%global poppler_version 0.12.0
|
%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 gtk2_version 2.20.0
|
||||||
%global dbus_version 0.70
|
%global dbus_version 0.70
|
||||||
%global theme_version 2.17.1
|
%global theme_version 2.17.1
|
||||||
@ -146,29 +146,18 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
|
|||||||
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%gconf_schema_prepare evince evince-thumbnailer evince-thumbnailer-ps
|
%gconf_schema_obsolete evince evince-thumbnailer evince-thumbnailer-ps
|
||||||
%gconf_schema_prepare evince-thumbnailer-comics evince-thumbnailer-djvu
|
%gconf_schema_obsolete evince-thumbnailer-comics evince-thumbnailer-djvu
|
||||||
%gconf_schema_prepare evince-thumbnailer-dvi
|
%gconf_schema_obsolete 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
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||||
gtk-update-icon-cache %{_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}/*
|
%{_bindir}/*
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_sysconfdir}/gconf/schemas/*.schemas
|
|
||||||
%{_datadir}/icons/hicolor/*/apps/evince.*
|
%{_datadir}/icons/hicolor/*/apps/evince.*
|
||||||
%{_mandir}/man1/evince.1.gz
|
%{_mandir}/man1/evince.1.gz
|
||||||
%{_libexecdir}/evince-convert-metadata
|
%{_libexecdir}/evince-convert-metadata
|
||||||
%{_libexecdir}/evinced
|
%{_libexecdir}/evinced
|
||||||
%{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service
|
%{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service
|
||||||
|
%{_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
Reference in New Issue
Block a user