Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37886301
en ru br
ALT Linux repos
S:45.0-alt1
5.0: 2.26.1-alt1
4.1: 2.22.2-alt0.M41.1
4.0: 2.19.92-alt1
3.0: 0.3.2-alt0.1

Other repositories
Upstream:2.22.0

Group :: Office
RPM: evince

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define major 2.19
Name: evince
Version: %major.92
Release: alt1

Summary: A document viewer

License: GPL
Group: Office
Url: http://www.gnome.org/projects/evince/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://ftp.gnome.org/pub/GNOME/sources/%name/%major/%name-%version.tar.bz2
#Patch: %name-0.9.0-vfs.patch
Patch: evince-0.9.2-libpoppler.patch

# Typical environment for GNOME program

Requires(post): GConf2
Requires(post,postun): scrollkeeper
Requires(post,postun): desktop-file-utils
BuildPreReq: GConf2
BuildPreReq: desktop-file-utils
BuildPreReq: rpm-build-compat

# manually removed: glibc-devel-static linux-libc-headers

# Automatically added by buildreq on Sat Jun 09 2007
BuildRequires: docbook-dtds gcc-c++ GConf ghostscript-module-X gnome-doc-utils-xslt libavahi-glib libdbus-glib-devel libdjvu-devel libgnomeprintui-devel libgnomeui-devel libjpeg-devel libnautilus-devel libSM-devel libtiff-devel perl-XML-Parser t1lib-devel tetex-devel

BuildPreReq: gnome-icon-theme gnome-doc-utils libpoppler0.6-devel >= 0.5.9 libpoppler0.6-glib-devel >= 0.5.9 libdjvu-devel >= 3.5.17 ghostscript-classic

%description
Evince is a document viewer capable of displaying multiple and single page docum
ent formats like PDF and Postscript.

%prep
%setup -q
%__bzip2 -k ChangeLog
#%patch

%build
#__autoreconf && gnome-doc-prepare --copy --force
#./autogen.sh

%configure --disable-schemas-install --disable-scrollkeeper --enable-pdf \
--enable-nautilus --enable-tiff \
--enable-djvu --enable-dvi \
--enable-comics --enable-impress \
--enable-t1lib --enable-pixbuf

%make_build

%install
%makeinstall

%find_lang %name --with-gnome
rm -rf %buildroot%_localstatedir/scrollkeeper

%post
%gconf2_install %name
%update_menus
%update_scrollkeeper
%update_desktopdb

%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %name
fi

%postun
%clean_menus
%clean_scrollkeeper
%clean_desktopdb

%files -f %name.lang
%doc AUTHORS ChangeLog.bz2 NEWS README
%config %_sysconfdir/gconf/schemas/*.schemas
%_bindir/*
%_desktopdir/*.desktop
%_datadir/%name/
#%_liconsdir/*
#%_miconsdir/*
%_iconsdir/hicolor/*/apps/*
%_man1dir/*
%_gtkdocdir/%name/
# FIXME: some depends?
#%files -n nautilus-extension-evince
#%defattr(644,root,root,755)
#%attr(755,root,root) %_libdir/nautilus/extensions-1.0/*.so*
%_libdir/nautilus/extensions-1.0/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin