433 lines
14 KiB
RPMSpec
433 lines
14 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f 1-2)
|
|
Name: evince
|
|
Version: 3.24.0
|
|
Release: 1mamba
|
|
Summary: GNOME Document viewer
|
|
Group: Graphical Desktop/Applications/Publishing
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
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
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libarchive-devel
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libat-spi2-atk-devel
|
|
BuildRequires: libat-spi2-core-devel
|
|
BuildRequires: libbzip2-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libdbus-devel
|
|
BuildRequires: libdjvulibre-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libffi-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgraphite2-devel
|
|
BuildRequires: libgtk-devel
|
|
BuildRequires: libgxps-devel
|
|
BuildRequires: libharfbuzz-devel
|
|
BuildRequires: libICE-devel
|
|
BuildRequires: libicu-devel
|
|
BuildRequires: libnautilus-extension-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpng15-devel
|
|
BuildRequires: libpoppler-glib-devel
|
|
BuildRequires: libpthread-stubs-devel
|
|
BuildRequires: libsecret-devel
|
|
BuildRequires: libselinux-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: libspectre-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libt1-devel
|
|
BuildRequires: libtexlive-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXau-devel
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: libXcomposite-devel
|
|
BuildRequires: libXcursor-devel
|
|
BuildRequires: libXdamage-devel
|
|
BuildRequires: libXdmcp-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXfixes-devel
|
|
BuildRequires: libXi-devel
|
|
BuildRequires: libXinerama-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libXrandr-devel
|
|
BuildRequires: libXrender-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: gnome-desktop-devel >= 3.18.2
|
|
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
|
|
BuildRequires: libpopt-devel
|
|
BuildRequires: adwaita-icon-theme-devel
|
|
Requires: adwaita-icon-theme
|
|
Requires(post): 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
|
|
if [ $1 -ge 1 ]; then
|
|
/sbin/ldconfig
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
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
|
|
fi
|
|
:
|
|
|
|
%postun
|
|
if [ $1 -ge 0 ]; then
|
|
/sbin/ldconfig
|
|
glib-compile-schemas /usr/share/glib-2.0/schemas &> /dev/null || :
|
|
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
|
|
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
|
|
%{_libdir}/mozilla/plugins/libevbrowserplugin.*
|
|
%{_libexecdir}/evinced
|
|
%{_userunitdir}/evince.service
|
|
%{_datadir}/GConf/gsettings/evince.convert
|
|
%{_datadir}/applications/evince.desktop
|
|
%{_datadir}/applications/evince-previewer.desktop
|
|
%{_datadir}/appdata/evince-*.metainfo.xml
|
|
%{_datadir}/appdata/evince.appdata.xml
|
|
%{_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}/icons/hicolor/symbolic/apps/evince-symbolic.svg
|
|
%{_datadir}/thumbnailers/evince.thumbnailer
|
|
%dir %{_datadir}/evince
|
|
%{_datadir}/evince/*
|
|
%dir %{_datadir}/help/*/evince
|
|
%{_datadir}/help/*/evince/*
|
|
%{_mandir}/man1/evince.1*
|
|
%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
|
|
* Mon Apr 24 2017 Automatic Build System <autodist@mambasoft.it> 3.24.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 3.22.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jun 27 2016 Automatic Build System <autodist@mambasoft.it> 3.20.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Apr 19 2016 Automatic Build System <autodist@mambasoft.it> 3.20.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jan 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.2-2mamba
|
|
- rebuilt with gnome-desktop 3.18.2
|
|
|
|
* Wed Nov 11 2015 Automatic Build System <autodist@mambasoft.it> 3.18.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 22 2015 Automatic Build System <autodist@mambasoft.it> 3.18.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 3.18.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed May 27 2015 Automatic Build System <autodist@mambasoft.it> 3.16.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 25 2015 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 16 2015 Automatic Build System <autodist@mambasoft.it> 3.14.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 30 2014 Automatic Build System <autodist@mambasoft.it> 3.14.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Aug 21 2014 Automatic Build System <autodist@mambasoft.it> 3.12.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Apr 15 2014 Automatic Build System <autodist@mambasoft.it> 3.12.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Mar 26 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Nov 16 2013 Automatic Build System <autodist@mambasoft.it> 3.10.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Nov 11 2013 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 30 2013 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.3-2mamba
|
|
- call glib-compile-schemas after install/uninstall
|
|
|
|
* Mon Aug 05 2013 Automatic Build System <autodist@mambasoft.it> 3.8.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 05 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.2-2mamba
|
|
- rebuilt with libtexlive-devel for dvi support and with libgxps
|
|
|
|
* Wed May 15 2013 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 15 2012 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Sep 27 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jun 14 2012 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 19 2011 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Oct 01 2011 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
- update to 3.2.0
|
|
|
|
* Tue Jul 26 2011 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 28 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
|
|
- automatic update to 2.32.0 by autodist
|
|
|
|
* Thu Jun 24 2010 Automatic Build System <autodist@mambasoft.it> 2.30.3-1mamba
|
|
- automatic update to 2.30.3 by autodist
|
|
|
|
* Mon Jun 21 2010 Automatic Build System <autodist@mambasoft.it> 2.30.2-1mamba
|
|
- automatic update to 2.30.2 by autodist
|
|
|
|
* Wed Jun 09 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.1-2mamba
|
|
- removed build requirement for libpoppler2
|
|
|
|
* Sat May 22 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.1-1mamba
|
|
- update to 2.30.1
|
|
|
|
* Tue Feb 16 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 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@mambasoft.it> 2.28.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Oct 25 2009 Automatic Build System <autodist@mambasoft.it> 2.28.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Sep 25 2009 Automatic Build System <autodist@mambasoft.it> 2.28.0-1mamba
|
|
- automatic update to 2.28.0 by autodist
|
|
|
|
* Thu May 28 2009 Automatic Build System <autodist@mambasoft.it> 2.26.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon May 18 2009 Automatic Build System <autodist@mambasoft.it> 2.26.1-3mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Mon Apr 20 2009 Automatic Build System <autodist@mambasoft.it> 2.26.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Apr 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-2mamba
|
|
- evince-devel: obsolete evince-static
|
|
|
|
* Sat Apr 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-1mamba
|
|
- automatic update to 2.26.0 by autodist
|
|
|
|
* Mon Dec 08 2008 gil <puntogil@libero.it> 2.24.2-2mamba
|
|
- edit post and postun
|
|
|
|
* Tue Nov 25 2008 gil <puntogil@libero.it> 2.24.2-1mamba
|
|
- update to 2.24.2
|
|
|
|
* Sat Nov 15 2008 gil <puntogil@libero.it> 2.24.1-1mamba
|
|
- update to 2.24.1
|
|
|
|
* Sat Oct 18 2008 gil <puntogil@libero.it> 2.24.0-1mamba
|
|
- update to 2.24.0
|
|
|
|
* Thu Jul 17 2008 gil <puntogil@libero.it> 2.22.0-1mamba
|
|
- added package static
|
|
- added desktop patch (changed NoDisplay=true with false)
|