Summary: GNOME Ghostscript Viewer
Summary(pl): PrzeglĀ±darka Ghostscriptu dla GNOME
Name: ggv
-Version: 1.99.95
-Release: 1
+Version: 1.99.96
+Release: 5
License: GPL
Group: X11/Applications/Graphics
Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/1.99/%{name}-%{version}.tar.bz2
BuildRequires: autoconf
BuildRequires: docbook-style-dsssl
BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2.0.6
+BuildRequires: gtk+2-devel >= 2.1.3-3
BuildRequires: libtool
-BuildRequires: GConf2-devel >= 1.2.1
+BuildRequires: GConf2-devel >= 1.2.1-10
BuildRequires: openjade
BuildRequires: scrollkeeper
+BuildRequires: bonobo-activation-devel >= 2.1.0-3
+BuildRequires: rpm-build >= 4.1-8.2
Requires(post): GConf2
Requires(post): scrollkeeper
Requires: ghostscript
+Requires: bonobo-activation >= 2.1.0-3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
-%define _sysconfdir /etc/X11/GNOME2
-
%description
GNOME Ghostscript viewer - a GUI frontend to the Ghostscript
postscript interpretter. Use this program to preview postscript
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- Graphicsdir=%{_applnkdir}/Graphics \
- omf_dest_dir=%{_omf_dest_dir}/%{name}
+ DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name} --with-gnome
%post
/usr/bin/scrollkeeper-update
-GCONF_CONFIG_SOURCE="" \
-%{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null
+%gconf_schema_install
%postun -p /usr/bin/scrollkeeper-update
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/ggv*
-%{_applnkdir}/Graphics/ggv.desktop
+%{_datadir}/applications/ggv.desktop
%{_datadir}/gnome-2.0/ui/ggv*
%{_datadir}/idl/*
-%{_libdir}/bonobo/servers/*server
+%{_libdir}/bonobo/servers/*
%{_omf_dest_dir}/%{name}
%{_pixmapsdir}/*
%{_sysconfdir}/gconf/schemas/*