1 Summary: GNOME Ghostscript Viewer
2 Summary(pl): Przegl±darka Ghostscriptu dla GNOME
7 Group: X11/Applications/Graphics
8 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/1.99/%{name}-%{version}.tar.bz2
9 URL: http://www.gnome.org/
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: autoconf
13 BuildRequires: docbook-style-dsssl
14 BuildRequires: gettext-devel
15 BuildRequires: gtk+2-devel >= 2.0.6
16 BuildRequires: libtool
17 BuildRequires: GConf2-devel >= 1.2.1
18 BuildRequires: openjade
19 BuildRequires: scrollkeeper
20 BuildRequires: bonobo-activation-devel >= 2.1.0
21 Requires(post): GConf2
22 Requires(post): scrollkeeper
24 Requires: bonobo-activation >= 2.1.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define _prefix /usr/X11R6
28 %define _mandir %{_prefix}/man
29 %define _sysconfdir /etc/X11/GNOME2
32 GNOME Ghostscript viewer - a GUI frontend to the Ghostscript
33 postscript interpretter. Use this program to preview postscript
34 documents on your screen.
37 Przegl±darka Ghostscriptu dla GNOME - graficzny frontend dla
38 interpretera postscriptu o nazwie Ghostscript. U¿ywaj tego programu do
39 przegl±dania postscriptowych dokumentów na Twoim ekranie.
45 %configure --enable-platform-gnome-2 \
46 --disable-install-schemas
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT \
55 Graphicsdir=%{_applnkdir}/Graphics \
56 omf_dest_dir=%{_omf_dest_dir}/%{name}
58 %find_lang %{name} --with-gnome
61 rm -rf $RPM_BUILD_ROOT
64 /usr/bin/scrollkeeper-update
65 GCONF_CONFIG_SOURCE="" \
66 %{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null
68 %postun -p /usr/bin/scrollkeeper-update
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %doc AUTHORS ChangeLog NEWS README
73 %attr(755,root,root) %{_bindir}/*
74 %attr(755,root,root) %{_libdir}/ggv*
75 %{_applnkdir}/Graphics/ggv.desktop
76 %{_datadir}/gnome-2.0/ui/ggv*
78 %{_libdir}/bonobo/servers/*server
79 %{_omf_dest_dir}/%{name}
81 %{_sysconfdir}/gconf/schemas/*