]> git.pld-linux.org Git - packages/ggv.git/blobdiff - ggv.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/ggv.git] / ggv.spec
index bc9d153b72b13304de1959fb849678ab1aabd88e..a570bdca740c3bcfa6ddad8da68643cc6ad5b3b7 100644 (file)
--- a/ggv.spec
+++ b/ggv.spec
@@ -1,30 +1,30 @@
 Summary:       GNOME Ghostscript Viewer
 Summary(pl):   PrzeglĀ±darka Ghostscriptu dla GNOME
 Name:          ggv
-Version:       1.99.95
+Version:       2.0.0
 Release:       1
 License:       GPL
 Group:         X11/Applications/Graphics
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/1.99/%{name}-%{version}.tar.bz2
+Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.0/%{name}-%{version}.tar.bz2
 URL:           http://www.gnome.org/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: autoconf
 BuildRequires: docbook-style-dsssl
 BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2.0.6
+BuildRequires: gtk+2-devel >= 2.2.0
 BuildRequires: libtool
-BuildRequires: GConf2-devel >= 1.2.1
+BuildRequires: GConf2-devel >= 1.2.1-10
 BuildRequires: openjade
 BuildRequires: scrollkeeper
-PreReq:                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
@@ -40,38 +40,38 @@ przegl
 
 %build
 %configure --enable-platform-gnome-2 \
-          --disable-install-schemas
+          --disable--schemas-install
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       Graphicsdir=%{_applnkdir}/Graphics \
-       omf_dest_dir=%{_omf_dest_dir}/%{name}
+       DESTDIR=$RPM_BUILD_ROOT
+unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
 
 %find_lang %{name} --with-gnome
 
-%post -p /usr/bin/scrollkeeper-update
-GCONF_CONFIG_SOURCE="" \
-%{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null 
-
-%postun -p /usr/bin/scrollkeeper-update
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+%postun -p /usr/bin/scrollkeeper-update
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %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/*
This page took 0.110172 seconds and 4 git commands to generate.