]> git.pld-linux.org Git - packages/evince.git/blob - evince.spec
0a0d8ff87b117c829eb970d8d2c5f4b7301a67a9
[packages/evince.git] / evince.spec
1 Summary:        Document viewer for multiple document formats
2 Summary(pl):    Przegl±darka dokumentów w wielu formatach
3 Name:           evince
4 Version:        0.3.2
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications/Graphics
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/evince/0.3/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b789edb4cae1f22b6e6d0b34b125c778
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:  djvulibre-devel
17 BuildRequires:  ghostscript
18 BuildRequires:  gnome-vfs2-devel >= 2.10.0-2
19 BuildRequires:  gtk+2-devel >= 2:2.6.4
20 BuildRequires:  intltool
21 BuildRequires:  kpathsea-devel
22 BuildRequires:  libglade2-devel >= 1:2.5.1
23 BuildRequires:  libgnomeprintui-devel >= 2.10.0
24 BuildRequires:  libgnomeui-devel >= 2.10.0-2
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  pkgconfig
27 BuildRequires:  poppler-glib-devel >= 0.3.1
28 BuildRequires:  rpmbuild(macros) >= 1.197
29 Requires(post,preun):   GConf2
30 Requires(post,postun):  desktop-file-utils
31 Requires(post,postun):  scrollkeeper
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Evince is a document viewer for multiple document formats like pdf,
36 postscript, and many others. The goal of evince is to replace the
37 multiple document viewers that exist on the GNOME Desktop, like ggv,
38 gpdf, and xpdf with a single simple application.
39
40 %description -l pl
41 Evince jest przegl±dark± dokumentów w wielu formatach takich jak pdf,
42 postscript i wielu innych. W zamierzeniach program ma zast±piæ
43 przegl±darki dokumentów dla ¶rodowiska GNOME, takie jak ggv, gpdf i
44 xpdf jedn± prost± aplikacj±.
45
46 %prep
47 %setup -q
48 %patch0 -p1
49 %patch1 -p1
50
51 %build
52 %{__aclocal}
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure \
57         --disable-schemas-install \
58         --enable-a4-paper \
59         --enable-djvu \
60         --enable-dvi
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
71
72 %find_lang %{name} --with-gnome
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post
78 %gconf_schema_install evince-thumbnailer.schemas
79 %gconf_schema_install evince.schemas
80 %update_desktop_database_post
81 %scrollkeeper_update_post
82
83 %preun
84 %gconf_schema_uninstall evince-thumbnailer.schemas
85 %gconf_schema_uninstall evince.schemas
86
87 %postun
88 %update_desktop_database_postun
89 %scrollkeeper_update_postun
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README TODO
94 %attr(755,root,root) %{_bindir}/*
95 %{_sysconfdir}/gconf/schemas/*.schemas
96 %{_datadir}/%{name}
97 %{_desktopdir}/*.desktop
98 %{_omf_dest_dir}/evince
This page took 0.200008 seconds and 3 git commands to generate.