openmamba logo
GNU/Linux distribution
distribution community wiki forum bugs events products
software   community wiki forum bugs events products
packages evince.spec
      Pages: < 1 >  DOWNLOAD      
%define        majver %(echo %version | cut -d. -f 1-2)
Name:          evince
Version:       3.8.2
Release:       1mamba
Summary:       GNOME Document viewer
Group:         Graphical Desktop/Applications/Publishing
Vendor:        openmamba
Distribution:  openmamba
Packager:      Automatic Build System <autodist@...>
URL:           http://www.gnome.org/projects/evince/
Source:        http://ftp.gnome.org/pub/GNOME/sources/evince/%{majver}/evince-%{version}.tar.xz
# http://bugs.gentoo.org/attachment.cgi?id=148212
#Patch0:       poppler-0.8.0.patch
Patch1:        evince-2.22.0-desktop.patch
License:       GPL
Requires:      tetex
BuildRequires: djvulibre
BuildRequires: libdevhelp-devel
BuildRequires: libnautilus-extension
BuildRequires: gnome-doc-utils-devel
BuildRequires: libopenjpeg-devel
BuildRequires: libalsa-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libaudiofile-devel
BuildRequires: libbonobo-devel
BuildRequires: libbonoboui-devel
BuildRequires: libesound-devel
BuildRequires: libgail-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: libgnome-devel
BuildRequires: libgnomeui-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libdjvulibre-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglade-devel
BuildRequires: libglib-devel
BuildRequires: libglitz-devel
BuildRequires: libgnome-keyring-devel
BuildRequires: libgtk-devel
BuildRequires: libICE-devel
BuildRequires: libjpeg-devel
BuildRequires: libnautilus-extension-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-devel
BuildRequires: libselinux-devel
BuildRequires: libSM-devel
BuildRequires: libspectre-devel
BuildRequires: libstdc++6-devel
BuildRequires: libt1-devel
BuildRequires: libtiff-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXdmcp-devel
BuildRequires: libxml2-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
BuildRequires: ORBit2-devel
BuildRequires: tetex
## AUTOBUILDREQ-END
BuildRequires: libpopt-devel
Requires(pre): hicolor-icon-theme
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

#Configure summary:
#        GNOME Support......:  yes
#        Keyring Support....:  yes
#        DBUS Support.......:  yes
#        Nautilus Plugin....:  yes
#        Thumbnailer........:  yes
#        Gtk-Doc Support....:  no

#        PDF Backend........:  yes
#        PostScript Backend.:  yes
#        TIFF Backend.......:  yes
#        DJVU Backend.......:  yes
#        DVI Backend........:  yes
#        Pixbuf Backend.....:  yes
#        Comics Backend.....:  yes
#        Impress Backend....:  yes

%description
Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi. 
The goal of evince is to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application.

Evince is specifically designed to support the file following formats.

> PDF
> Postscript
> djvu
> tiff
> dvi

Features

* Search
o Integrated search displaying the number of results found and highlights the results on the page
* Page Thumbnails
o Thumbnails of pages show quick reference for where you'd like to go in a document
* Document Indexes
o When index information is included in a PDF Evince will display it in a tree format
* Document Printing
o Using the GNOME/GTK printing framework Evince can print any document it can open
* Encrypted Document Viewing
o Evince can open PDF documents that have been encrypted

nautilus-extensions

%package devel
Group:         Development/Libraries
Summary:       Static libraries for %{name}
Requires:      %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides:      evince-static
Obsoletes:     evince-static
Provides:      evince-static
Obsoletes:     evince-static

%description devel
Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi. 
The goal of evince is to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application.

This package package contains headers and static libraries for developing applications that use %{name}.

%package apidocs
Group:           Documentation
Summary:     %{name} Api documentation 
Requires:      %{name} = %{?epoch:%epoch:}%{version}-%{release}

%description apidocs
Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi. 
The goal of evince is to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application.

This package contains %{name} Api documentation.

%prep
%setup -q
#%patch1 -p1
#sed -i "s|/usr/bin/python|%{__python}|" test/*.py

%build
#./autogen.sh
%configure \
    --with-devhelp=yes \
    --enable-tiff \
    --enable-nautilus \
    --enable-pdf \
    --enable-djvu \
    --enable-dvi \
    --enable-t1lib \
    --enable-pixbuf \
    --enable-comics \
    --enable-impress \
    --enable-introspection \
    --disable-scrollkeeper \
    --disable-schemas-install

#    --enable-debug \
# unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
# unable to parse zh_CN/evince.xml    --enable-gtk-doc \

%make
%make -C test

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
##GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 
%makeinstall DESTDIR=%{buildroot}
#find %{buildroot} -name "*.la" -delete
%find_lang %{name}

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%post
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
  /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
fi
:

%postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
  /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
fi
:

%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/evince
%{_bindir}/evince-previewer
%{_bindir}/evince-thumbnailer
%dir %{_libdir}/evince
%dir %{_libdir}/evince/4
%dir %{_libdir}/evince/4/backends
%{_libdir}/evince/4/backends/*.evince-backend
%{_libdir}/evince/4/backends/lib*.so
%{_libdir}/libevdocument3.so.*
%{_libdir}/libevview3.so.*
%{_libdir}/nautilus/extensions-?.?/libevince-properties-page.so
%{_libexecdir}/evinced
%{_datadir}/GConf/gsettings/evince.convert
%{_datadir}/applications/evince.desktop
%{_datadir}/applications/evince-previewer.desktop
%{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service
%{_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml
%{_datadir}/icons/hicolor/*/apps/evince.png
%{_datadir}/thumbnailers/evince.thumbnailer
%dir %{_datadir}/evince
%{_datadir}/evince/*
%dir %{_datadir}/help/*/evince
%{_datadir}/help/*/evince/*
%{_mandir}/man1/evince.1.gz
%doc AUTHORS COPYING

%files devel
%defattr(-,root,root)
%{_includedir}/evince/*/*.h
%{_includedir}/evince/*/libdocument/*.h
%{_includedir}/evince/*/libview/*.h
%{_libdir}/nautilus/extensions-?.?/libevince-properties-page.a
%{_libdir}/nautilus/extensions-?.?/libevince-properties-page.la
%{_libdir}/evince/4/backends/lib*.a
%{_libdir}/evince/4/backends/lib*.la
%{_libdir}/libevdocument3.so
%{_libdir}/libevdocument3.a
%{_libdir}/libevdocument3.la
%{_libdir}/libevview3.so
%{_libdir}/libevview3.a
%{_libdir}/libevview3.la
%{_libdir}/girepository-1.0/Evince*.typelib
%{_datadir}/gir-1.0/Evince*.gir
%{_libdir}/pkgconfig/evince-*.pc
%doc ChangeLog NEWS README TODO

%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/evince
%{_datadir}/gtk-doc/html/evince/evince.devhelp2
%{_datadir}/gtk-doc/html/evince/index.sgml
%{_datadir}/gtk-doc/html/evince/*.html
%{_datadir}/gtk-doc/html/evince/*.css
%{_datadir}/gtk-doc/html/evince/*.png
%{_datadir}/gtk-doc/html/libevdocument-3.0
%{_datadir}/gtk-doc/html/libevview-3.0

%changelog
* Wed May 15 2013 Automatic Build System <autodist@...> 3.8.2-1mamba
- automatic version update by autodist

* Thu Mar 28 2013 Automatic Build System <autodist@...> 3.8.0-1mamba
- automatic version update by autodist

* Mon Oct 15 2012 Automatic Build System <autodist@...> 3.6.1-1mamba
- automatic version update by autodist

* Thu Sep 27 2012 Automatic Build System <autodist@...> 3.6.0-1mamba
- automatic version update by autodist

* Thu Jun 14 2012 Automatic Build System <autodist@...> 3.4.0-1mamba
- automatic version update by autodist

* Wed Oct 19 2011 Automatic Build System <autodist@...> 3.2.1-1mamba
- automatic version update by autodist

* Sat Oct 01 2011 Automatic Build System <autodist@...> 3.2.0-1mamba
- update to 3.2.0

* Tue Jul 26 2011 Automatic Build System <autodist@...> 3.0.2-1mamba
- automatic version update by autodist

* Thu Oct 28 2010 Automatic Build System <autodist@...> 2.32.0-1mamba
- automatic update to 2.32.0 by autodist

* Thu Jun 24 2010 Automatic Build System <autodist@...> 2.30.3-1mamba
- automatic update to 2.30.3 by autodist

* Mon Jun 21 2010 Automatic Build System <autodist@...> 2.30.2-1mamba
- automatic update to 2.30.2 by autodist

* Wed Jun 09 2010 Silvan Calarco <silvan.calarco@...> 2.30.1-2mamba
- removed build requirement for libpoppler2

* Sat May 22 2010 Silvan Calarco <silvan.calarco@...> 2.30.1-1mamba
- update to 2.30.1

* Tue Feb 16 2010 Silvan Calarco <silvan.calarco@...> 2.28.2-2mamba
- prereq hicolor-icon-theme and don't fail installation if gtk-update-icon-cache fails

* Sat Dec 19 2009 Automatic Build System <autodist@...> 2.28.2-1mamba
- automatic update by autodist

* Sun Oct 25 2009 Automatic Build System <autodist@...> 2.28.1-1mamba
- automatic update by autodist

* Fri Sep 25 2009 Automatic Build System <autodist@...> 2.28.0-1mamba
- automatic update to 2.28.0 by autodist

* Thu May 28 2009 Automatic Build System <autodist@...> 2.26.2-1mamba
- automatic update by autodist

* Mon May 18 2009 Automatic Build System <autodist@...> 2.26.1-3mamba
- automatic rebuild by autodist

* Mon Apr 20 2009 Automatic Build System <autodist@...> 2.26.1-1mamba
- automatic update by autodist

* Wed Apr 08 2009 Silvan Calarco <silvan.calarco@...> 2.26.0-2mamba
- evince-devel: obsolete evince-static

* Sat Apr 04 2009 Silvan Calarco <silvan.calarco@...> 2.26.0-1mamba
- automatic update to 2.26.0 by autodist

* Mon Dec 08 2008 gil <puntogil@...> 2.24.2-2mamba
- edit post and postun

* Tue Nov 25 2008 gil <puntogil@...> 2.24.2-1mamba
- update to 2.24.2

* Sat Nov 15 2008 gil <puntogil@...> 2.24.1-1mamba
- update to 2.24.1

* Sat Oct 18 2008 gil <puntogil@...> 2.24.0-1mamba
- update to 2.24.0

* Thu Jul 17 2008 gil <puntogil@...> 2.22.0-1mamba
- added package static
- added desktop patch (changed NoDisplay=true with false)