]> git.pld-linux.org Git - packages/evince.git/blob - evince.spec
8aa76dd9d1ef756bf9c47932361e68ee90085d4c
[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.2.1
5 Release:        1
6 License:        GPL v2
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)
31
32 %description
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.
37
38 %description -l pl
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±.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 %patch1 -p1
48
49 %build
50 %{__aclocal}
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure \
55         --disable-schemas-install \
56         --enable-a4-paper
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
66
67 %find_lang %{name} --with-gnome
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post
73 %gconf_schema_install evince-thumbnailer.schemas
74 %gconf_schema_install evince.schemas
75 %update_desktop_database_post
76 %scrollkeeper_update_post
77
78 %preun
79 %gconf_schema_uninstall evince-thumbnailer.schemas
80 %gconf_schema_uninstall evince.schemas
81
82 %postun
83 %update_desktop_database_postun
84 %scrollkeeper_update_postun
85
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
91 %{_datadir}/%{name}
92 %{_desktopdir}/*.desktop
93 %{_omf_dest_dir}/evince
This page took 0.051259 seconds and 2 git commands to generate.