]> git.pld-linux.org Git - packages/evince.git/blob - evince.spec
- new style macros
[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.0
5 Release:        2
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:  ad7bd39d29c66d34e37b9da311d5e94d
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-devel >= 0.2.0
26 BuildRequires:  rpmbuild(macros) >= 1.197
27 Requires(post,preun):   GConf2
28 Requires(post,postun):  desktop-file-utils
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Evince is a document viewer for multiple document formats like pdf,
33 postscript, and many others. The goal of evince is to replace the
34 multiple document viewers that exist on the GNOME Desktop, like ggv,
35 gpdf, and xpdf with a single simple application.
36
37 %description -l pl
38 Evince jest przegl±dark± dokumentów w wielu formatach takich jak pdf,
39 postscript i wielu innych. W zamierzeniach program ma zast±piæ
40 przegl±darki dokumentów dla ¶rodowiska GNOME, takie jak ggv, gpdf i
41 xpdf jedn± prost± aplikacj±.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46 %patch1 -p1
47
48 %build
49 %{__aclocal}
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure \
54         --disable-schemas-install \
55         --enable-a4-paper
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
65
66 %find_lang %{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 %gconf_schema_install evince-thumbnailer.schemas
73 %gconf_schema_install evince.schemas
74 %update_desktop_database_post
75
76 %preun
77 %gconf_schema_uninstall evince-thumbnailer.schemas
78 %gconf_schema_uninstall schemas/evince.schemas
79
80 %postun
81 %update_desktop_database_postun
82
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog NEWS README TODO
86 %attr(755,root,root) %{_bindir}/*
87 %{_sysconfdir}/gconf/schemas/*.schemas
88 %{_datadir}/%{name}
89 %{_desktopdir}/*.desktop
This page took 0.080609 seconds and 4 git commands to generate.