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