]> git.pld-linux.org Git - packages/ggv.git/blobdiff - ggv.spec
- it is better to require stable version ;)
[packages/ggv.git] / ggv.spec
index 90ac62c69b22800b085cd2392200955dc9411556..4a2d5a459e4fe9caa0643b0fecc0644f5df09959 100644 (file)
--- a/ggv.spec
+++ b/ggv.spec
@@ -1,22 +1,30 @@
 Summary:       GNOME Ghostscript Viewer
 Summary(pl):   PrzeglĀ±darka Ghostscriptu dla GNOME
 Name:          ggv
-Version:       0.95
-Release:       2
+Version:       1.99.97
+Release:       1
 License:       GPL
 Group:         X11/Applications/Graphics
-Group(pl):     X11/Aplikacje/Grafika
-Source0:       ftp://ftp.gnome.org/pub/GNOME/stable/sources/ggv/%{name}-%{version}.tar.gz
-BuildRequires: gettext-devel
-BuildRequires: gtk+-devel >= 1.2.0
-BuildRequires: gnome-libs-devel
-BuildRequires: bonobo-devel >= 0.33
+Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/1.99/%{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.2.0
+BuildRequires: libtool
+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                _sysconfdir     /etc/X11/GNOME
-
 %description
 GNOME Ghostscript viewer - a GUI frontend to the Ghostscript
 postscript interpretter. Use this program to preview postscript
@@ -31,9 +39,8 @@ przegl
 %setup -q
 
 %build
-gettextize --copy --force
-%configure \
-       --enable-bonobo
+%configure --enable-platform-gnome-2 \
+          --disable-install-schemas
 
 %{__make}
 
@@ -41,20 +48,28 @@ gettextize --copy --force
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       Graphicsdir=%{_applnkdir}/Graphics
-
-gzip -9nf AUTHORS ChangeLog NEWS README
+       DESTDIR=$RPM_BUILD_ROOT 
 
 %find_lang %{name} --with-gnome
 
 %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 *.gz
+%doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
-%{_sysconfdir}/CORBA/servers/*
-%{_applnkdir}/Graphics/ggv.desktop
-%{_datadir}/pixmaps/*
+%attr(755,root,root) %{_libdir}/ggv*
+%{_datadir}/applications/ggv.desktop
+%{_datadir}/gnome-2.0/ui/ggv*
+%{_datadir}/idl/*
+%{_libdir}/bonobo/servers/*
+%{_omf_dest_dir}/%{name}
+%{_pixmapsdir}/*
+%{_sysconfdir}/gconf/schemas/*
This page took 0.102402 seconds and 4 git commands to generate.