- Include /usr/include/evince directory (#483306).
- Don't run /sbin/ldconfig in post scriptlet (no shared libs in that pkg). - Let -libs post/postun run /sbin/ldconfig directly.
This commit is contained in:
parent
738f36dcd5
commit
0a288c7247
15
evince.spec
15
evince.spec
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: evince
|
Name: evince
|
||||||
Version: 2.27.1
|
Version: 2.27.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Document viewer
|
Summary: Document viewer
|
||||||
|
|
||||||
License: GPLv2+ and GFDL
|
License: GPLv2+ and GFDL
|
||||||
@ -162,7 +162,6 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
|
||||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
gconftool-2 --makefile-install-rule \
|
gconftool-2 --makefile-install-rule \
|
||||||
%{_sysconfdir}/gconf/schemas/evince.schemas \
|
%{_sysconfdir}/gconf/schemas/evince.schemas \
|
||||||
@ -181,8 +180,7 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|||||||
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
|
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post libs
|
%post libs -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" -eq 0 ]; then
|
if [ "$1" -eq 0 ]; then
|
||||||
@ -207,8 +205,7 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|||||||
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
|
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun libs
|
%postun libs -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%files -f evince.lang
|
%files -f evince.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -242,6 +239,7 @@ fi
|
|||||||
%{_datadir}/gtk-doc/html/evince/
|
%{_datadir}/gtk-doc/html/evince/
|
||||||
%{_datadir}/gtk-doc/html/libevdocument/
|
%{_datadir}/gtk-doc/html/libevdocument/
|
||||||
%{_datadir}/gtk-doc/html/libevview/
|
%{_datadir}/gtk-doc/html/libevview/
|
||||||
|
%dir %{_includedir}/evince
|
||||||
%{_includedir}/evince/2.25
|
%{_includedir}/evince/2.25
|
||||||
%{_libdir}/libevview.so
|
%{_libdir}/libevview.so
|
||||||
%{_libdir}/libevdocument.so
|
%{_libdir}/libevdocument.so
|
||||||
@ -259,6 +257,11 @@ fi
|
|||||||
%{_libdir}/evince/1/backends/djvudocument.evince-backend
|
%{_libdir}/evince/1/backends/djvudocument.evince-backend
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 23 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.27.1-2
|
||||||
|
- Include /usr/include/evince directory (#483306).
|
||||||
|
- Don't run /sbin/ldconfig in post scriptlet (no shared libs in that pkg).
|
||||||
|
- Let -libs post/postun run /sbin/ldconfig directly.
|
||||||
|
|
||||||
* Tue May 19 2009 Bastien Nocera <bnocera@redhat.com> 2.27.1-1
|
* Tue May 19 2009 Bastien Nocera <bnocera@redhat.com> 2.27.1-1
|
||||||
- Update to 2.27.1
|
- Update to 2.27.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user