Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
evince
evince.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File evince.spec of Package evince
# # spec file for package evince # # Copyright (c) 2011 SUSE LINUX Products 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/ # # norootforbuild Name: evince Version: 2.32.0 Release: 7.<RELEASE3> %define _major_version 2.32 License: GPLv2+ Summary: GNOME Document Viewer Url: http://www.gnome.org/projects/evince/ Group: Productivity/Office/Other Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/0.4/%{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM evince-dvi-vulnerabilities.patch vuntz@opensuse.org -- CVE-2010-2640, CVE-2010-2641, CVE-2010-2642, CVE-2010-2643 Patch0: evince-dvi-vulnerabilities.patch # PATCH-FIX-UPSTREAM evince-dvi-vulnerability-again.patch bgo#640923 bnc#671064 vuntz@opensuse.org -- Fix an issue similar to one fixed in evince-dvi-vulnerabilities.patch Patch1: evince-dvi-vulnerability-again.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gconf2-devel BuildRequires: ghostscript-fonts-std BuildRequires: ghostscript-x11 BuildRequires: gnome-doc-utils-devel BuildRequires: gobject-introspection-devel BuildRequires: gtk2-devel BuildRequires: intltool BuildRequires: libdjvulibre-devel BuildRequires: libgnome-keyring-devel BuildRequires: libpoppler-glib-devel BuildRequires: libspectre-devel BuildRequires: libtiff-devel BuildRequires: nautilus-devel BuildRequires: t1lib-devel BuildRequires: texlive-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files Recommends: %{name}-lang # For the comics backend Suggests: p7zip Suggests: unrar Suggests: unzip # Replaces ggv in <= 10.3, gpdf in <= 10.2: Provides: ggv gpdf Obsoletes: ggv gpdf BuildRoot: %{_tmppath}/%{name}-%{version}-build %gconf_schemas_prereq %glib2_gsettings_schema_requires %description Evince is a document viewer capable of displaying multiple and singlepage document formats like PDF and PostScript. %package devel License: GPLv2+ Summary: GNOME Document Viewer Group: Productivity/Office/Other Requires: %{name} = %{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 -n nautilus-evince License: GPLv2+ Summary: Evince Plugin for Nautilus Group: Productivity/Office/Other Requires: %{name} = %{version} 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. %lang_package %prep %setup -q translation-update-upstream %patch0 -p1 %patch1 -p1 %build %configure --disable-static --with-pic\ --libexecdir=%{_libexecdir}/%{name} \ --disable-scrollkeeper\ --enable-djvu\ --enable-dvi\ --enable-comics\ --enable-impress\ --enable-pixbuf\ --enable-t1lib\ --enable-nautilus\ --enable-introspection\ --with-gtk=2.0 %__make %{?_smp_mflags} %install %makeinstall %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif %find_lang %{name} %{?no_lang_C} %find_gconf_schemas %suse_update_desktop_file -r -N Evince evince GNOME GTK Graphics Office Viewer find %{buildroot} -type f -name "*.la" -delete -print %fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %glib2_gsettings_schema_post %desktop_database_post %icon_theme_cache_post %postun /sbin/ldconfig %glib2_gsettings_schema_postun %desktop_database_postun %icon_theme_cache_postun %pre -f %{name}.schemas_pre %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %files -f %{name}.schemas_list %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %dir %{_datadir}/gnome/ %dir %{_datadir}/gnome/help/ %dir %{_datadir}/gnome/help/%{name}/ %doc %{_datadir}/gnome/help/%{name}/C/ %dir %{_datadir}/omf/ %dir %{_datadir}/omf/%{name}/ %doc %{_datadir}/omf/%{name}/%{name}-C.omf %{_bindir}/* %{_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*.* # backends %{_libdir}/evince/ %if "%{_libdir}" != "%{_libexecdir}" # helpers & daemon %{_libexecdir}/evince/ %endif %{_libdir}/girepository-1.0/*.typelib %{_libdir}/*.so.* %doc %{_mandir}/man?/*.* %files lang -f %{name}.lang %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 %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