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