1 Summary: GNOME Ghostscript Viewer
2 Summary(pl): Przegl±darka ghostscript dla GNOME
7 Group: X11/Applications/Graphics
8 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.8/%{name}-%{version}.tar.bz2
9 # Source0-md5: d2d9d41544541664d71cad9a97994747
10 Patch0: %{name}-mime-pdf.patch
11 Patch1: %{name}-desktop.patch
12 URL: http://www.gnome.org/
13 BuildRequires: GConf2-devel >= 2.7.91
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: docbook-style-dsssl
17 BuildRequires: gettext-devel
18 BuildRequires: ghostscript
19 BuildRequires: gnome-common >= 2.8.0
20 BuildRequires: gtk+2-devel >= 2:2.4.4
21 BuildRequires: intltool >= 0.30
22 BuildRequires: libbonobo-devel >= 2.6.2
23 BuildRequires: libgnomeui-devel >= 2.7.91
24 BuildRequires: libtool
25 BuildRequires: openjade
26 BuildRequires: popt-devel
27 BuildRequires: rpm-build >= 4.1-8.2
28 BuildRequires: scrollkeeper
29 Requires(post): GConf2
30 Requires(post,postun): scrollkeeper
32 Requires: libbonobo >= 2.6.2
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 GNOME Ghostscript viewer - a GUI frontend to the Ghostscript
37 postscript interpretter. Use this program to preview postscript
38 documents on your screen.
41 Przegl±darka ghostscriptu dla GNOME - graficzny frontend dla
42 interpretera postscriptu o nazwie ghostscript. Program ten slu¿y do
43 przegl±dania postscriptowych dokumentów na ekranie.
51 rm -f missing acinclude.m4
53 glib-gettextize --copy --force
54 intltoolize --copy --force
59 --enable-platform-gnome-2 \
60 --disable-schemas-install
65 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT \
69 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
71 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
73 %find_lang %{name} --with-gnome
76 rm -rf $RPM_BUILD_ROOT
80 /usr/bin/scrollkeeper-update
82 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
86 /usr/bin/scrollkeeper-update
87 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README
92 %attr(755,root,root) %{_bindir}/*
93 %attr(755,root,root) %{_libdir}/ggv*
94 %{_datadir}/gnome-2.0/ui/ggv*
96 %{_libdir}/bonobo/servers/*
97 %{_omf_dest_dir}/%{name}
98 %{_desktopdir}/ggv.desktop
100 %{_sysconfdir}/gconf/schemas/*