Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
GNOME:STABLE:3.16
evince
evince.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File evince.spec of Package evince
# # spec file for package evince # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _major_version 3.0 %define pluginAPI 4 Name: evince Version: 3.16.1 Release: 0 Summary: GNOME Document Viewer License: GPL-2.0+ Group: Productivity/Office/Other Url: http://www.gnome.org/projects/evince/ Source: http://download.gnome.org/sources/evince/3.16/%{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: ghostscript-fonts-std BuildRequires: ghostscript-x11 BuildRequires: intltool BuildRequires: libtiff-devel BuildRequires: texlive-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: yelp-tools BuildRequires: pkgconfig(adwaita-icon-theme) >= 2.17.1 BuildRequires: pkgconfig(ddjvuapi) >= 3.5.17 BuildRequires: pkgconfig(gio-2.0) >= 2.36.0 BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gnome-desktop-3.0) BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6 BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.15.3 BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(libgxps) >= 0.2.1 BuildRequires: pkgconfig(libnautilus-extension) >= 2.91.4 BuildRequires: pkgconfig(libsecret-1) >= 0.5 BuildRequires: pkgconfig(libspectre) >= 0.2.0 BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0 BuildRequires: pkgconfig(poppler-glib) >= 0.24.0 BuildRequires: pkgconfig(sm) >= 1.0.0 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(zlib) Recommends: %{name}-lang # For the comics backend Suggests: p7zip Suggests: unrar Suggests: unzip # Replaces ggv in <= 10.3, gpdf in <= 10.2: Provides: ggv Provides: gpdf Obsoletes: ggv Obsoletes: gpdf BuildRoot: %{_tmppath}/%{name}-%{version}-build %{glib2_gsettings_schema_requires} %description Evince is a document viewer capable of displaying multiple and singlepage document formats like PDF and PostScript. %package -n libevdocument3-4 Summary: GNOME Document Viewer - System Library Group: System/Libraries %description -n libevdocument3-4 Evince is a document viewer capable of displaying multiple and singlepage document formats like PDF and PostScript. %package -n libevview3-3 Summary: GNOME Document Viewer - System Library Group: System/Libraries %description -n libevview3-3 Evince is a document viewer capable of displaying multiple and singlepage document formats like PDF and PostScript. %package -n typelib-1_0-EvinceDocument-3_0 Summary: GNOME Document Viewer -- Introspection bindings Group: System/Libraries %description -n typelib-1_0-EvinceDocument-3_0 Evince is a document viewer capable of displaying multiple and singlepage document formats like PDF and PostScript. %package -n typelib-1_0-EvinceView-3_0 Summary: GNOME Document Viewer -- Introspection bindings Group: System/Libraries %description -n typelib-1_0-EvinceView-3_0 Evince is a document viewer capable of displaying multiple and singlepage document formats like PDF and PostScript. %package devel Summary: GNOME Document Viewer Group: Productivity/Office/Other Requires: %{name} = %{version} Requires: libevdocument3-4 = %{version} Requires: libevview3-3 = %{version} Requires: typelib-1_0-EvinceDocument-3_0 = %{version} Requires: typelib-1_0-EvinceView-3_0 = %{version} Obsoletes: evince-doc <= 2.25.4 Provides: evince-doc = 2.25.4 %description devel Evince is a document viewer capable of displaying multiple and singlepage document formats like PDF and PostScript. %package browser-plugin Summary: Browser Plugin Based on Evince Group: Productivity/Office/Other Requires: %{name} = %{version} Supplements: packageand(%{name}:MozillaFirefox) %description browser-plugin Evince is a document viewer capable of displaying multiple and singlepage document formats like PDF and PostScript. %package -n nautilus-evince Summary: Evince Plugin for Nautilus Group: Productivity/Office/Other Requires: %{name} = %{version} # For "send to" action; the action will be hidden if nautilus-sendto is not available Recommends: nautilus-sendto Supplements: packageand(evince:nautilus) %description -n nautilus-evince Evince is a document viewer capable of displaying multiple and singlepage document formats like PDF and PostScript. This package contains a plugin to integrate Evince into Nautilus. %package -n evince-plugin-comicsdocument Summary: Evince - comics document support Group: Productivity/Office/Other Requires: %{name} Enhances: %{name} %description -n evince-plugin-comicsdocument Add comics document support to Evince %package -n evince-plugin-djvudocument Summary: Evince - DjVu document support Group: Productivity/Office/Other Requires: %{name} Enhances: %{name} %description -n evince-plugin-djvudocument Add DjVu document support to Evince %package -n evince-plugin-dvidocument Summary: Evince - DVI document support Group: Productivity/Office/Other Requires: %{name} Enhances: %{name} %description -n evince-plugin-dvidocument Add DVI document support to Evince %package -n evince-plugin-pdfdocument Summary: Evince - PDF document support Group: Productivity/Office/Other Requires: %{name} Supplements: %{name} %description -n evince-plugin-pdfdocument Add PDF document support to Evince %package -n evince-plugin-psdocument Summary: Evince - PS document support Group: Productivity/Office/Other Requires: %{name} Supplements: %{name} %description -n evince-plugin-psdocument Add PostScript document support to Evince %package -n evince-plugin-tiffdocument Summary: Evince - TIFF document support Group: Productivity/Office/Other Requires: %{name} Enhances: %{name} %description -n evince-plugin-tiffdocument Add TIFF document support to Evince %package -n evince-plugin-xpsdocument Summary: Evince - XPS document support Group: Productivity/Office/Other Requires: %{name} Enhances: %{name} %description -n evince-plugin-xpsdocument Add XPS document support to Evince %lang_package %prep %setup -q translation-update-upstream %build # on openSUSE, we share the browser plugins between browsers; do not use mozilla's default. export BROWSER_PLUGIN_DIR=%{_libdir}/browser-plugins %configure --disable-static --with-pic\ --libexecdir=%{_libexecdir}/%{name} \ --with-smclient=xsmp\ --disable-scrollkeeper\ --enable-djvu\ --enable-dvi\ --enable-comics\ --enable-nautilus\ --enable-introspection make V=1 %{?_smp_mflags} %install %make_install %if 0%{?suse_version} <= 1120 rm %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif %find_lang %{name} %{?no_lang_C} %suse_update_desktop_file evince %suse_update_desktop_file evince-previewer find %{buildroot} -type f -name "*.la" -delete -print %fdupes %{buildroot} %post %{glib2_gsettings_schema_post} %desktop_database_post %icon_theme_cache_post %postun %{glib2_gsettings_schema_postun} %desktop_database_postun %icon_theme_cache_postun %post -n libevdocument3-4 -p /sbin/ldconfig %postun -n libevdocument3-4 -p /sbin/ldconfig %post -n libevview3-3 -p /sbin/ldconfig %postun -n libevview3-3 -p /sbin/ldconfig %files %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %doc %{_datadir}/help/C/%{name}/ %{_bindir}/* %dir %{_datadir}/appdata %{_datadir}/appdata/evince.appdata.xml %{_datadir}/applications/*.desktop %{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service %{_datadir}/evince %{_datadir}/GConf/gsettings/evince.convert %{_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml %{_datadir}/icons/hicolor/*/apps/evince*.* %dir %{_datadir}/thumbnailers %{_datadir}/thumbnailers/evince.thumbnailer # backends directory structure - backends go to their own packages %dir %{_libdir}/evince/ %dir %{_libdir}/evince/%{pluginAPI} %dir %{_libdir}/evince/%{pluginAPI}/backends # helpers & daemon %dir %{_libexecdir}/evince %{_libexecdir}/evince/evinced %doc %{_mandir}/man?/*.* %files lang -f %{name}.lang %defattr(-,root,root) %files browser-plugin %defattr(-,root,root) %{_libdir}/browser-plugins/libevbrowserplugin.so %files -n libevdocument3-4 %defattr(-, root, root) %{_libdir}/libevdocument3.so.4* %files -n libevview3-3 %defattr(-, root, root) %{_libdir}/libevview3.so.3* %files -n typelib-1_0-EvinceDocument-3_0 %defattr(-, root, root) %{_libdir}/girepository-1.0/EvinceDocument-3.0.typelib %files -n typelib-1_0-EvinceView-3_0 %defattr(-, root, root) %{_libdir}/girepository-1.0/EvinceView-3.0.typelib %files devel %defattr(-, root, root) %{_includedir}/evince %{_libdir}/*.so %{_libdir}/pkgconfig/evince*.pc %{_datadir}/gir-1.0/*.gir %{_datadir}/gtk-doc/html/evince %{_datadir}/gtk-doc/html/libevdocument-%{_major_version} %{_datadir}/gtk-doc/html/libevview-%{_major_version} # Own these repositories to not depend on gtk-doc while building: %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %files -n nautilus-evince %defattr(-,root,root) %{_libdir}/nautilus/extensions-*/*.so %files -n evince-plugin-comicsdocument %defattr(-,root,root) %{_datadir}/appdata/evince-comicsdocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/comicsdocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libcomicsdocument.so %files -n evince-plugin-djvudocument %defattr(-,root,root) %{_datadir}/appdata/evince-djvudocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/djvudocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libdjvudocument.so %files -n evince-plugin-dvidocument %defattr(-,root,root) %{_datadir}/appdata/evince-dvidocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/dvidocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libdvidocument.so %files -n evince-plugin-pdfdocument %defattr(-,root,root) %{_datadir}/appdata/evince-pdfdocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/pdfdocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libpdfdocument.so %files -n evince-plugin-psdocument %defattr(-,root,root) %{_datadir}/appdata/evince-psdocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/psdocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libpsdocument.so %files -n evince-plugin-tiffdocument %defattr(-,root,root) %{_datadir}/appdata/evince-tiffdocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/tiffdocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libtiffdocument.so %files -n evince-plugin-xpsdocument %defattr(-,root,root) %{_datadir}/appdata/evince-xpsdocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/xpsdocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libxpsdocument.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor