]> 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 37f66aad1854b4f60b136f10771ba3ab8d7c26b2..a570bdca740c3bcfa6ddad8da68643cc6ad5b3b7 100644 (file)
--- a/ggv.spec
+++ b/ggv.spec
@@ -1,63 +1,77 @@
 Summary:       GNOME Ghostscript Viewer
 Summary(pl):   Przegl±darka Ghostscriptu dla GNOME
 Name:          ggv
-Version:       0.61
+Version:       2.0.0
 Release:       1
-Copyright:     GPL
-Group:         X11/Applications
-Source:                ftp://ftp.gnome.org/pub/GNOME/sources/ggv/%{name}-%{version}.tar.gz
-Patch:         ggv-applnk.patch
+License:       GPL
+Group:         X11/Applications/Graphics
+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+-devel >= 1.2.0
-BuildRequires: gnome-libs-devel
-BuildRoot:     /tmp/%{name}-%{version}-root
-
-%define                _prefix         /usr/X11R6
-%define                _sysconfdir     /etc/X11/GNOME
-%define                _applnkdir      %{_datadir}/applnk
+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)
 
 %description
-GNOME Ghostscript viewer - a GUI frontend to the Ghostscript postscript
-interpretter. Use this program to preview postscript documents on your
-screen.
+GNOME Ghostscript viewer - a GUI frontend to the Ghostscript
+postscript interpretter. Use this program to preview postscript
+documents on your screen.
 
 %description -l pl
-Przegl±darka Ghostscriptu dla GNOME - graficzny frontend dla interpretera
-postscriptu o nazwie Ghostscript. U¿ywaj tego programu do przegl±dania
-postscriptowych dokumentów na Twoim ekranie.
+Przegl±darka Ghostscriptu dla GNOME - graficzny frontend dla
+interpretera postscriptu o nazwie Ghostscript. U¿ywaj tego programu do
+przegl±dania postscriptowych dokumentów na Twoim ekranie.
 
 %prep
 %setup -q
-%patch -p1
 
 %build
-gettextize --copy --force
-automake
-LDFLAGS="-s"; export LDFLAGS
-%configure
+%configure --enable-platform-gnome-2 \
+          --disable--schemas-install
 
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf AUTHORS ChangeLog NEWS README
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
 
-%find_lang %{name}
+%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
-%attr(755,root,root) %{_bindir}/ggv
-%{_sysconfdir}/CORBA/servers/*
-%{_applnkdir}/Graphics/ggv.desktop
-%{_datadir}/pixmaps/*
-
-%dir %{_datadir}/gnome/help/ggv
-%{_datadir}/gnome/help/ggv/C
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/*
+%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.029162 seconds and 4 git commands to generate.