]> git.pld-linux.org Git - packages/evince.git/blob - evince.spec
- BR: autoconf
[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.1.6
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications/Graphics
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/evince/0.1/%{name}-%{version}.tar.bz2
9 # Source0-md5:  69056586d0db702c5476712a86627f57
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-gs8.patch
12 URL:            http://www.gnome.org/projects/evince/
13 BuildRequires:  GConf2-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  ghostscript
17 BuildRequires:  gnome-vfs2-devel
18 BuildRequires:  gtk+2-devel >= 2.6.2
19 BuildRequires:  intltool
20 BuildRequires:  libglade2-devel
21 BuildRequires:  libgnomeprintui-devel
22 BuildRequires:  libgnomeui-devel >= 2.8.0
23 BuildRequires:  libstdc++-devel
24 BuildRequires:  pkgconfig
25 BuildRequires:  poppler-devel >= 0.1.1
26 Requires(post): GConf2
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Evince is a document viewer for multiple document formats like pdf,
31 postscript, and many others. The goal of evince is to replace the
32 multiple document viewers that exist on the GNOME Desktop, like ggv,
33 gpdf, and xpdf with a single simple application.
34
35 %description -l pl
36 Evince jest przegl±dark± dokumentów w wielu formatach takich jak pdf,
37 postscript i wielu innych. W zamierzeniach program ma zast±piæ
38 przegl±darki dokumentów dla ¶rodowiska GNOME, takie jak ggv, gpdf i
39 xpdf jedn± prost± aplikacj±.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44 %patch1 -p1
45
46 %build
47 %{__aclocal}
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure \
52         --disable-schemas-install \
53         --enable-a4-paper
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 umask 022
71 %gconf_schema_install
72 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
73
74 %postun
75 umask 022
76 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog NEWS README TODO
81 %attr(755,root,root) %{_bindir}/*
82 %{_sysconfdir}/gconf/schemas/*.schemas
83 %{_datadir}/%{name}
84 %{_desktopdir}/*.desktop
This page took 0.040127 seconds and 3 git commands to generate.