enable xps

This commit is contained in:
Matthias Clasen 2011-12-23 14:38:17 -05:00
parent 31844280b7
commit 462e683016

View File

@ -5,7 +5,7 @@
Name: evince Name: evince
Version: 3.3.3.1 Version: 3.3.3.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Document viewer Summary: Document viewer
License: GPLv2+ and GFDL License: GPLv2+ and GFDL
@ -44,12 +44,11 @@ BuildRequires: nautilus-devel
BuildRequires: kpathsea-devel BuildRequires: kpathsea-devel
# for the djvu backend # for the djvu backend
BuildRequires: djvulibre-devel BuildRequires: djvulibre-devel
# for the xps backend
BuildRequires: libgxps
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
Requires(post): /usr/bin/gtk-update-icon-cache
Requires(postun): /usr/bin/gtk-update-icon-cache
%description %description
Evince is simple multi-page document viewer. It can display and print Evince is simple multi-page document viewer. It can display and print
Portable Document Format (PDF), PostScript (PS) and Encapsulated PostScript Portable Document Format (PDF), PostScript (PS) and Encapsulated PostScript
@ -121,6 +120,7 @@ automake
--enable-comics=yes \ --enable-comics=yes \
--enable-dvi=yes \ --enable-dvi=yes \
--enable-djvu=yes \ --enable-djvu=yes \
--enable-gxps=yes \
--enable-t1lib=yes \ --enable-t1lib=yes \
--with-gtk=3.0 --with-gtk=3.0
make %{?_smp_mflags} V=1 LIBTOOL=/usr/bin/libtool make %{?_smp_mflags} V=1 LIBTOOL=/usr/bin/libtool
@ -171,7 +171,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%files -f evince.lang %files -f evince.lang
%defattr(-,root,root,-)
%{_bindir}/* %{_bindir}/*
%{_datadir}/%{name}/ %{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
@ -184,7 +183,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
%{_datadir}/thumbnailers/evince.thumbnailer %{_datadir}/thumbnailers/evince.thumbnailer
%files libs %files libs
%defattr(-,root,root,-)
%doc README COPYING NEWS AUTHORS %doc README COPYING NEWS AUTHORS
%{_libdir}/libevview3.so.* %{_libdir}/libevview3.so.*
%{_libdir}/libevdocument3.so.* %{_libdir}/libevdocument3.so.*
@ -203,7 +201,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
%{_libdir}/girepository-1.0/EvinceView-3.0.typelib %{_libdir}/girepository-1.0/EvinceView-3.0.typelib
%files devel %files devel
%defattr(-,root,root,-)
%{_datadir}/gtk-doc/html/evince/ %{_datadir}/gtk-doc/html/evince/
%{_datadir}/gtk-doc/html/libevview-3.0 %{_datadir}/gtk-doc/html/libevview-3.0
%{_datadir}/gtk-doc/html/libevdocument-3.0 %{_datadir}/gtk-doc/html/libevdocument-3.0
@ -217,20 +214,20 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
%{_datadir}/gir-1.0/EvinceView-3.0.gir %{_datadir}/gir-1.0/EvinceView-3.0.gir
%files dvi %files dvi
%defattr(-,root,root,-)
%{_libdir}/evince/3/backends/libdvidocument.so* %{_libdir}/evince/3/backends/libdvidocument.so*
%{_libdir}/evince/3/backends/dvidocument.evince-backend %{_libdir}/evince/3/backends/dvidocument.evince-backend
%files djvu %files djvu
%defattr(-,root,root,-)
%{_libdir}/evince/3/backends/libdjvudocument.so %{_libdir}/evince/3/backends/libdjvudocument.so
%{_libdir}/evince/3/backends/djvudocument.evince-backend %{_libdir}/evince/3/backends/djvudocument.evince-backend
%files nautilus %files nautilus
%defattr(-,root,root,-)
%{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so %{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so
%changelog %changelog
* Fri Dec 23 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.3.1-2
- Enable xps support
* Thu Dec 22 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.3.1-1 * Thu Dec 22 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.3.1-1
- Update to 3.3.3.1 - Update to 3.3.3.1