1 Summary: GNOME PDF Viewer
2 Summary(pl.UTF-8): Przeglądarka PDF-ów dla GNOME
7 Group: X11/Applications/Graphics
8 Source0: http://ftp.gnome.org/pub/gnome/sources/gpdf/2.10/%{name}-%{version}.tar.bz2
9 # Source0-md5: 9278cd3b9d06e3b1d364452f0e512fa9
10 Patch0: %{name}-desktop.patch
11 Patch1: %{name}-CAN-2005-2097.patch
12 Patch2: %{name}-cve-2006-0301.patch
13 Patch3: %{name}-classes.patch
14 Patch4: %{name}-as_needed.patch
15 URL: http://www.gnome.org/
16 BuildRequires: GConf2-devel >= 2.10.0
17 BuildRequires: autoconf >= 2.52
18 BuildRequires: automake
19 BuildRequires: gettext-tools
20 BuildRequires: gnome-common >= 2.8.0
21 BuildRequires: gnome-vfs2-devel >= 2.10.0
22 BuildRequires: gtk+2-devel >= 2:2.6.4
23 BuildRequires: libglade2-devel >= 1:2.5.1
24 BuildRequires: libgnomeprintui-devel >= 2.10.2
25 BuildRequires: libgnomeui-devel >= 2.10.0-2
26 BuildRequires: libstdc++-devel
27 BuildRequires: libtool
28 BuildRequires: pkgconfig
29 BuildRequires: rpmbuild(macros) >= 1.197
30 BuildRequires: scrollkeeper
31 Requires(post,preun): GConf2
32 Requires(post,postun): desktop-file-utils
33 Requires(post,postun): scrollkeeper
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 GPDF is an open source viewer for Portable Document Format (PDF)
40 %description -l pl.UTF-8
41 GPDF to wolnodostępna przeglądarka do plików PDF (Portable Document
58 --disable-schemas-install \
60 --enable-multithreaded
64 rm -rf $RPM_BUILD_ROOT
67 DESTDIR=$RPM_BUILD_ROOT \
68 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
70 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
71 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
73 %find_lang %{name} --with-gnome
76 rm -rf $RPM_BUILD_ROOT
79 %scrollkeeper_update_post
80 %gconf_schema_install gpdf.schemas
81 %update_desktop_database_post
84 %gconf_schema_uninstall gpdf.schemas
87 %scrollkeeper_update_postun
88 %update_desktop_database_postun
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog NEWS README
93 %attr(755,root,root) %{_bindir}/*
94 %attr(755,root,root) %{_libdir}/gnome-pdf-viewer
95 %{_sysconfdir}/gconf/schemas/*.schemas
96 %{_desktopdir}/gpdf.desktop
97 %{_datadir}/gnome-2.0/ui/gpdf*
99 %{_libdir}/bonobo/servers/*