1 Summary: Document viewer for multiple document formats
2 Summary(pl): Przegl±darka dokumentów w wielu formatach
7 Group: X11/Applications/Graphics
8 Source0: http://ftp.gnome.org/pub/gnome/sources/evince/0.2/%{name}-%{version}.tar.bz2
9 # Source0-md5: c1075c4ea2d5dc283dcc2e6c7658fe98
10 Patch0: %{name}-desktop.patch
11 Patch1: %{name}-gs8.patch
12 URL: http://www.gnome.org/projects/evince/
13 BuildRequires: GConf2-devel >= 2.10.0
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: ghostscript
17 BuildRequires: gnome-vfs2-devel >= 2.10.0-2
18 BuildRequires: gtk+2-devel >= 2:2.6.4
19 BuildRequires: intltool
20 BuildRequires: libglade2-devel >= 1:2.5.1
21 BuildRequires: libgnomeprintui-devel >= 2.10.0
22 BuildRequires: libgnomeui-devel >= 2.10.0-2
23 BuildRequires: libstdc++-devel
24 BuildRequires: pkgconfig
25 BuildRequires: poppler-glib-devel >= 0.3.0-2
26 BuildRequires: rpmbuild(macros) >= 1.197
27 Requires(post,preun): GConf2
28 Requires(post,postun): desktop-file-utils
29 Requires(post,postun): scrollkeeper
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Evince is a document viewer for multiple document formats like pdf,
34 postscript, and many others. The goal of evince is to replace the
35 multiple document viewers that exist on the GNOME Desktop, like ggv,
36 gpdf, and xpdf with a single simple application.
39 Evince jest przegl±dark± dokumentów w wielu formatach takich jak pdf,
40 postscript i wielu innych. W zamierzeniach program ma zast±piæ
41 przegl±darki dokumentów dla ¶rodowiska GNOME, takie jak ggv, gpdf i
42 xpdf jedn± prost± aplikacj±.
55 --disable-schemas-install \
60 rm -rf $RPM_BUILD_ROOT
63 DESTDIR=$RPM_BUILD_ROOT
65 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
67 %find_lang %{name} --with-gnome
70 rm -rf $RPM_BUILD_ROOT
73 %gconf_schema_install evince-thumbnailer.schemas
74 %gconf_schema_install evince.schemas
75 %update_desktop_database_post
76 %scrollkeeper_update_post
79 %gconf_schema_uninstall evince-thumbnailer.schemas
80 %gconf_schema_uninstall evince.schemas
83 %update_desktop_database_postun
84 %scrollkeeper_update_postun
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog NEWS README TODO
89 %attr(755,root,root) %{_bindir}/*
90 %{_sysconfdir}/gconf/schemas/*.schemas
92 %{_desktopdir}/*.desktop
93 %{_omf_dest_dir}/evince