Sprout from master 2003-02-07 14:09:17 UTC Jakub Bogusz <qboosh@pld-linux.org> '- fix for galeon 1.2.7 vs mozilla 1.0.2'
Cherrypick from master 2002-04-06 11:09:37 UTC pioklo <pioklo@linuxpl.com> '- modify for galeon version 1.2.0':
galeon-mozilla_five_home.patch -> 1.5
Delete:
galeon-bookmarks_pixmaps_path.patch
galeon-gcc31.patch
galeon-gettext.patch
galeon-macros.patch
galeon-ns-with-service.patch
galeon.spec
+++ /dev/null
-diff -urN galeon-1.2.99.orig/bookmarks/default-bookmarks.xbel galeon-1.2.99/bookmarks/default-bookmarks.xbel
---- galeon-1.2.99.orig/bookmarks/default-bookmarks.xbel Sun Oct 27 14:31:59 2002
-+++ galeon-1.2.99/bookmarks/default-bookmarks.xbel Sun Oct 27 14:33:53 2002
-@@ -120,7 +120,7 @@
- <info>
- <metadata owner="http://galeon.sourceforge.net/">
- <nick>google</nick>
-- <pixmap>/usr/share/galeon/google.png</pixmap>
-+ <pixmap>/usr/X11R6/share/galeon/google.png</pixmap>
- <time_modified>1019395979</time_modified>
- <smarturl>http://www.google.com/search?q=%s</smarturl>
- </metadata>
-@@ -131,7 +131,7 @@
- <info>
- <metadata owner="http://galeon.sourceforge.net/">
- <nick>news</nick>
-- <pixmap>/usr/share/galeon/google_groups.png</pixmap>
-+ <pixmap>/usr/X11R6/share/galeon/google_groups.png</pixmap>
- <time_modified>1019396061</time_modified>
- <smarturl>http://groups.google.com/groups?q=%s&meta=site%3Dgroups</smarturl>
- </metadata>
-@@ -142,7 +142,7 @@
- <info>
- <metadata owner="http://galeon.sourceforge.net/">
- <nick>img</nick>
-- <pixmap>/usr/share/galeon/google_images.png</pixmap>
-+ <pixmap>/usr/X11R6/share/galeon/google_images.png</pixmap>
- <time_modified>1019396107</time_modified>
- <smarturl>http://images.google.com/images?q=%s</smarturl>
- </metadata>
-@@ -183,7 +183,7 @@
- <info>
- <metadata owner="http://galeon.sourceforge.net/">
- <nick>google</nick>
-- <pixmap>/usr/share/galeon/google.png</pixmap>
-+ <pixmap>/usr/X11R6/share/galeon/google.png</pixmap>
- <smarturl>http://www.google.com/search?q=%s</smarturl>
- </metadata>
- </info>
-@@ -193,7 +193,7 @@
- <info>
- <metadata owner="http://galeon.sourceforge.net/">
- <nick>news</nick>
-- <pixmap>/usr/share/galeon/google_groups.png</pixmap>
-+ <pixmap>/usr/X11R6/share/galeon/google_groups.png</pixmap>
- <smarturl>http://groups.google.com/groups?q=%s&meta=site%3Dgroups</smarturl>
- </metadata>
- </info>
-@@ -203,7 +203,7 @@
- <info>
- <metadata owner="http://galeon.sourceforge.net/">
- <nick>img</nick>
-- <pixmap>/usr/share/galeon/google_images.png</pixmap>
-+ <pixmap>/usr/X11R6/share/galeon/google_images.png</pixmap>
- <smarturl>http://images.google.com/images?q=%s</smarturl>
- </metadata>
- </info>
-@@ -240,7 +240,7 @@
- <info>
- <metadata owner="http://galeon.sourceforge.net/">
- <nick>linuxpackages</nick>
-- <pixmap>/usr/share/galeon/slack.png</pixmap>
-+ <pixmap>/usr/X11R6/share/galeon/slack.png</pixmap>
- <smarturl>http://www.linuxpackages.net/search_view.php?by=name&what_cat=&subcat=&ver=8&name=%s</smarturl>
- </metadata>
- </info>
-@@ -250,7 +250,7 @@
- <info>
- <metadata owner="http://galeon.sourceforge.net/">
- <nick>st</nick>
-- <pixmap>/usr/share/galeon/stocks.png</pixmap>
-+ <pixmap>/usr/X11R6/share/galeon/stocks.png</pixmap>
- <smarturl>http://finance.yahoo.com/q?s=%s&d=c&k=c4&t=1d</smarturl>
- </metadata>
- </info>
-@@ -260,7 +260,7 @@
- <info>
- <metadata owner="http://galeon.sourceforge.net/">
- <nick>bug</nick>
-- <pixmap>/usr/share/galeon/bug.png</pixmap>
-+ <pixmap>/usr/X11R6/share/galeon/bug.png</pixmap>
- <smarturl>http://bugzilla.gnome.org/show_bug.cgi?id=%s</smarturl>
- </metadata>
- </info>
-@@ -270,7 +270,7 @@
- <info>
- <metadata owner="http://galeon.sourceforge.net/">
- <nick>fm</nick>
-- <pixmap>/usr/share/galeon/freshmeat.png</pixmap>
-+ <pixmap>/usr/X11R6/share/galeon/freshmeat.png</pixmap>
- <smarturl>http://freshmeat.net/search?q=%s</smarturl>
- </metadata>
- </info>
-@@ -280,7 +280,7 @@
- <info>
- <metadata owner="http://galeon.sourceforge.net/">
- <nick>rpm</nick>
-- <pixmap>/usr/share/galeon/rpm.png</pixmap>
-+ <pixmap>/usr/X11R6/share/galeon/rpm.png</pixmap>
- <smarturl>http://rpmfind.net/linux/rpm2html/search.php?query=%s</smarturl>
- </metadata>
- </info>
-@@ -290,7 +290,7 @@
- <info>
- <metadata owner="http://galeon.sourceforge.net/">
- <nick>deb</nick>
-- <pixmap>/usr/share/galeon/debian.png</pixmap>
-+ <pixmap>/usr/X11R6/share/galeon/debian.png</pixmap>
- <smarturl>http://packages.debian.org/cgi-bin/search_packages.pl?keywords=%s&searchon=names&subword=1&version=all&release=all</smarturl>
- </metadata>
- </info>
+++ /dev/null
---- galeon-1.2.0/src/mozilla/ProgressListener2.cpp.wiget Mon Apr 15 18:14:48 2002
-+++ galeon-1.2.0/src/mozilla/ProgressListener2.cpp Mon Apr 15 18:15:07 2002
-@@ -166,7 +166,7 @@
- nsIFile *aFile,
- DownloadAction aAction,
- gpointer info,
-- PRInt64 aTimeDownloadStarted = 0)
-+ PRInt64 aTimeDownloadStarted)
- {
- nsresult rv;
-
+++ /dev/null
-diff -Nur galeon-0.11.1/configure.in galeon-0.11.1.new/configure.in
---- galeon-0.11.1/configure.in Sun Jul 1 16:46:29 2001
-+++ galeon-0.11.1.new/configure.in Sun Jul 1 16:57:30 2001
-@@ -320,7 +320,7 @@
-
- dnl Add the languages which your application supports here.
- ALL_LINGUAS="az ca cs da de es et fi fr gl hr hu it ja ko lt nl no pl pt_BR ro ru sk sl sv tr uk zh_TW.Big5 ms zh_CN.GB2312"
--AM_GNOME_GETTEXT
-+AM_GNU_GETTEXT
-
- dnl Set PACKAGE_LOCALE_DIR in config.h.
- if test "x${prefix}" = "xNONE"; then
+++ /dev/null
-diff -urN galeon-0.10.4.org/acinclude.m4 galeon-0.10.4/acinclude.m4
---- galeon-0.10.4.org/acinclude.m4 Thu Jan 1 01:00:00 1970
-+++ galeon-0.10.4/acinclude.m4 Mon Apr 23 10:21:47 2001
-@@ -0,0 +1,135 @@
-+AC_DEFUN(AM_PATH_GNOME,
-+[dnl
-+dnl Get the cflags and libraries from the gnome-config script
-+dnl
-+AC_ARG_WITH(gnome-prefix,[ --with-gnome-prefix=PFX Prefix where GNOME is installed (optional)],
-+ gnome_config_prefix="$withval", gnome_config_prefix="")
-+AC_ARG_WITH(gnome-exec-prefix,[ --with-gnome-exec-prefix=PFX Exec prefix where GNOME is installed (optional)],
-+ gnome_config_exec_prefix="$withval", gnome_config_exec_prefix="")
-+
-+ if test x$gnome_config_exec_prefix != x ; then
-+ gnome_config_args="$gnome_config_args --exec-prefix=$gnome_config_exec_prefix"
-+ if test x${GNOME_CONFIG+set} != xset ; then
-+ GNOME_CONFIG=$gnome_config_exec_prefix/bin/gnome-config
-+ fi
-+ fi
-+ if test x$gnome_config_prefix != x ; then
-+ gnome_config_args="$gnome_config_args --prefix=$gnome_config_prefix"
-+ if test x${GNOME_CONFIG+set} != xset ; then
-+ GNOME_CONFIG=$gnome_config_prefix/bin/gnome-config
-+ fi
-+ fi
-+
-+ AC_PATH_PROG(GNOME_CONFIG, gnome-config, no)
-+ min_gnome_version=ifelse([$1], , 1.1.0, $1)
-+
-+ AC_MSG_CHECKING(for GNOME - version >= $min_gnome_version)
-+ no_gnome=""
-+ if test "$GNOME_CONFIG" = "no" ; then
-+ no_gnome=yes
-+ else
-+ GNOME_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags gnome`"
-+ GNOME_LIBS="`$GNOME_CONFIG $gnome_config_args --libs gnome`"
-+ GNOMEUI_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags gnomeui`"
-+ GNOMEUI_LIBS="`$GNOME_CONFIG $gnome_config_args --libs gnomeui`"
-+
-+ gnome_config_major_version=`$GNOME_CONFIG $gnome_config_args --version | \
-+ sed 's/[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
-+ gnome_config_minor_version=`$GNOME_CONFIG $gnome_config_args --version | \
-+ sed 's/[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
-+ gnome_config_micro_version=`$GNOME_CONFIG $gnome_config_args --version | \
-+ sed 's/[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
-+ needed_major_version=`echo $min_gnome_version | \
-+ sed 's/[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
-+ needed_minor_version=`echo $min_gnome_version | \
-+ sed 's/[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
-+ needed_micro_version=`echo $min_gnome_version | \
-+ sed 's/[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
-+
-+ if test $gnome_config_major_version -lt $needed_major_version; then
-+ ifelse([$3], , :, [$3])
-+ no_gnome=yes
-+ elif test $gnome_config_major_version = $needed_major_version; then
-+ if test -n "$needed_minor_version" -a $gnome_config_minor_version -lt $needed_minor_version; then
-+ ifelse([$3], , :, [$3])
-+ no_gnome=yes
-+ elif test -n "$needed_minor_version" -a $gnome_config_minor_version = $needed_minor_version; then
-+ if test -n "$needed_micro_version" -a $gnome_config_micro_version -lt $needed_micro_version; then
-+ ifelse([$3], , :, [$3])
-+ no_gnome=yes
-+ fi
-+ fi
-+ fi
-+ fi
-+ AC_SUBST(GNOME_CFLAGS)
-+ AC_SUBST(GNOME_LIBS)
-+ AC_SUBST(GNOMEUI_CFLAGS)
-+ AC_SUBST(GNOMEUI_LIBS)
-+
-+ if test "x$no_gnome" = x ; then
-+ AC_MSG_RESULT(yes)
-+ ifelse([$2], , :, [$2])
-+ else
-+ AC_MSG_RESULT(no)
-+ if test "$GNOME_CONFIG" = "no" ; then
-+ echo "*** The gnome-config script installed by GNOME could not be found"
-+ echo "*** If GNOME was installed in PREFIX, make sure PREFIX/bin is in"
-+ echo "*** your path, or set the GNOME_CONFIG environment variable to the"
-+ echo "*** full path to gnome-config."
-+ else
-+ :
-+ fi
-+ GNOME_CFLAGS=""
-+ GNOME_LIBS=""
-+ ifelse([$3], , :, [$3])
-+ fi
-+
-+ tmp_gnome_libdir=`$GNOME_CONFIG $gnome_config_args --libdir`
-+ if test -n "$4"; then
-+ AC_MSG_CHECKING([for additional GNOME modules])
-+ fi
-+ for module in $4 ""; do
-+ gnome_m4_notfound=no
-+ if test "$module" = zvt; then
-+ ZVT_LIBS="`$GNOME_CONFIG $gnome_config_args --libs zvt`"
-+ AC_SUBST(ZVT_LIBS)
-+ elif test "$module" = gtk; then
-+ GTK_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags gtk`"
-+ GTK_LIBS="`$GNOME_CONFIG $gnome_config_args --libs gtk`"
-+ AC_SUBST(GTK_CFLAGS)
-+ AC_SUBST(GTK_LIBS)
-+ elif test "$module" = "glib"; then
-+ GLIB_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags glib`"
-+ GLIB_LIBS="`$GNOME_CONFIG $gnome_config_args --libs glib`"
-+ AC_SUBST(GLIB_CFLAGS)
-+ AC_SUBST(GLIB_LIBS)
-+ elif test "$module" = "oaf"; then
-+ OAF_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags oaf`"
-+ OAF_LIBS="`$GNOME_CONFIG $gnome_config_args --libs oaf`"
-+ AC_SUBST(OAF_CFLAGS)
-+ AC_SUBST(OAF_LIBS)
-+ elif test "$module" = "gnorba"; then
-+ GNORBA_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags gnorba`"
-+ GNORBA_LIBS="`$GNOME_CONFIG $gnome_config_args --libs gnorba`"
-+ AC_SUBST(GNORBA_CFLAGS)
-+ AC_SUBST(GNORBA_LIBS)
-+ elif test -n "$module"; then
-+ if $GNOME_CONFIG $gnome_config_args --cflags $module >/dev/null 2>&1; then
-+ tmp_bsnom=`echo $module | tr a-z A-Z`
-+ eval $tmp_bsnom'_CFLAGS'=\"`$GNOME_CONFIG $gnome_config_args --cflags $module`\"
-+ eval $tmp_bsnom'_LIBS'=\"`$GNOME_CONFIG $gnome_config_args --libs $module`\"
-+ else
-+ AC_MSG_RESULT([*** $module library is not installed])
-+ ifelse([$3], , :, [$3])
-+ gnome_m4_notfound=yes
-+ fi
-+ fi
-+ if test "$gnome_m4_notfound" = no; then
-+ echo $ac_n " $module" 1>&6
-+ fi
-+ done
-+ if test -n "$4"; then
-+ AC_MSG_RESULT([])
-+ fi
-+])
-+
-diff -Nur galeon-1.2.99.orig/configure.in galeon-1.2.99/configure.in
---- galeon-1.2.99.orig/configure.in Mon Sep 16 00:04:20 2002
-+++ galeon-1.2.99/configure.in Wed Oct 16 22:46:52 2002
-@@ -119,7 +119,7 @@
- MOZILLA_INCLUDE_ROOT="`$PKG_CONFIG --variable=includedir mozilla-gtkmozembed`"
- AC_SUBST(MOZILLA_INCLUDE_ROOT)
+--- galeon-1.2.0/src/main.c Mon Feb 25 22:48:51 2002
++++ galeon-1.2.0/src/main.c.orig Fri Apr 5 21:53:37 2002
+@@ -49,6 +49,8 @@
+ #ifdef ENABLE_APPLET
+ #include <applet-widget.h>
+ #endif
++#include <stdlib.h>
++#include <errno.h>
+ #ifdef ENABLE_GNOME_FILE_SELECTOR
+ #include <bonobo/bonobo-main.h>
+ #endif /* !ENABLE_GNOME_FILE_SELECTOR */
+@@ -182,6 +184,10 @@
+ CORBA_ORB orb;
+ gint i, n_urls;
+ gchar **url;
++
++ /* Setting MOZILLA_FIVE_HOME */
++ if (getenv("MOZILLA_FIVE_HOME") == NULL)
++ setenv("MOZILLA_FIVE_HOME", "/usr/X11R6/lib/mozilla/", 1);
--MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`"
-+MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`/mozilla"
- AC_SUBST(MOZILLA_HOME)
-
- dnl ################
-diff -Nur galeon-1.2.99.orig/src/galeon.in galeon-1.2.99/src/galeon.in
---- galeon-1.2.99.orig/src/galeon.in Fri Dec 28 01:13:42 2001
-+++ galeon-1.2.99/src/galeon.in Wed Oct 16 22:13:47 2002
-@@ -2,31 +2,12 @@
-
- dist_bin=`dirname $0`
-
--if test -n "$MOZILLA_FIVE_HOME"; then
-- MOZILLA_HOME=$MOZILLA_FIVE_HOME
--elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
-- MOZILLA_HOME=@MOZILLA_HOME@
--elif [ -f /usr/local/mozilla/chrome/comm.jar ]; then
-- MOZILLA_HOME=/usr/local/mozilla
--elif [ -f /usr/lib/mozilla/chrome/comm.jar ]; then
-- MOZILLA_HOME=/usr/lib/mozilla
--elif [ -f /opt/mozilla/chrome/comm.jar ]; then
-- MOZILLA_HOME=/opt/mozilla
--elif [ -f /usr/lib/mozilla-0.9.7/chrome/comm.jar ]; then
-- MOZILLA_HOME=/usr/lib/mozilla-0.9.7/
--elif [ -f /opt/gnome/lib/mozilla/chrome/comm.jar ]; then
-- MOZILLA_HOME=/opt/gnome/lib/mozilla/
--else
-- echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
-- exit
--fi
-+MOZILLA_FIVE_HOME=@MOZILLA_HOME@
-+export MOZILLA_FIVE_HOME
-
--LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH
-+LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
- export LD_LIBRARY_PATH
-
--MOZILLA_FIVE_HOME=$MOZILLA_HOME
--export MOZILLA_FIVE_HOME
--
- # for some reason this lets Galeon start properly on Red Hat 7.1 systems
- if [ -f /etc/redhat-release ]; then
- if [ "`cat /etc/redhat-release`" = "Red Hat Linux release 7.1 (Seawolf)" ]; then
+ /* make stdout line buffered - we only use it for debug info */
+ setvbuf (stdout, NULL, _IOLBF, 0);
+++ /dev/null
-diff -Nur galeon-0.11.3.orig/src/GaleonWrapper.cpp galeon-0.11.3/src/GaleonWrapper.cpp
---- galeon-0.11.3.orig/src/GaleonWrapper.cpp Wed Jul 25 00:43:50 2001
-+++ galeon-0.11.3/src/GaleonWrapper.cpp Sat Aug 4 05:39:19 2001
-@@ -124,7 +124,7 @@
- GHFactory,
- PR_TRUE);
-
-- NS_WITH_SERVICE(nsIGlobalHistory, inst, NS_GLOBALHISTORY_CONTRACTID, &result);
-+ nsCOMPtr<nsIGlobalHistory> inst = do_GetService(NS_GLOBALHISTORY_CONTRACTID, &result);
- dsHistory->SetGlobalHistory(inst);
-
- nsCOMPtr<nsPIDOMWindow> piWin;
-diff -Nur galeon-0.11.3.orig/src/mozilla.cpp galeon-0.11.3/src/mozilla.cpp
---- galeon-0.11.3.orig/src/mozilla.cpp Sat Jul 21 21:38:14 2001
-+++ galeon-0.11.3/src/mozilla.cpp Sat Aug 4 05:39:10 2001
-@@ -279,7 +279,7 @@
- nsresult result;
- GaleonWrapper *wrapper = (GaleonWrapper *)(embed->wrapper);
-
-- NS_WITH_SERVICE(nsIPrintOptions, options, kPrintOptionsCID, &result);
-+ nsCOMPtr<nsIPrintOptions> options = do_GetService(kPrintOptionsCID, &result);
- if (NS_FAILED(result)) return NS_ERROR_FAILURE;
-
- if (info->pages)
+++ /dev/null
-#
-# Conditional build:
-# _with_gcc2 - compile using gcc2 to get working java plugin.
-# Flash plugin seems to still doesn't work, use
-# mozilla instead. To compile wit this option, You
-# have to install mozilla compiled with gcc2.
-#
-%define minmozver 1.3a
-%define snap 20030205
-
-Summary: Galeon - gecko-based GNOME web browser
-Summary(pl): Galeon - przegl±darka WWW dla GNOME
-Summary(pt_BR): O galeon é um browser para o gnome baseado no mozilla
-Summary(zh_CN): »ùÓÚGeckoµÄGNOMEÁ÷ÀÀÆ÷
-Name: galeon
-Version: 1.3.1
-Release: 0.%{snap}.1
-Epoch: 2
-License: GPL
-Group: X11/Applications/Networking
-#ource0: http://unc.dl.sourceforge.net/sourceforge/galeon/%{name}-%{version}.tar.gz
-Source0: %{name}-%{version}-%{snap}.tar.bz2
-Source1: %{name}-config-tool.1
-URL: http://galeon.sourceforge.net/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: GConf2-devel
-BuildRequires: ORBit2-devel
-BuildRequires: bison
-BuildRequires: bonobo-activation-devel >= 2.1.0
-BuildRequires: gettext-devel
-BuildRequires: gnome-vfs2-devel
-BuildRequires: gtk+2-devel >= 2.0.6
-BuildRequires: intltool
-BuildRequires: libglade2-devel
-BuildRequires: libgnomeui-devel
-BuildRequires: libstdc++-devel
-BuildRequires: libxml2-devel
-BuildRequires: mozilla-embedded-devel >= %{minmozver}
-BuildRequires: nautilus-devel >= 2.0.0
-BuildRequires: openssl-devel
-BuildRequires: scrollkeeper
-BuildRequires: bonobo-activation >= 2.1.0-3
-BuildRequires: rpm-build >= 4.1-10
-Requires: mozilla-embedded = %(rpm -q --qf '%{VERSION}' --whatprovides mozilla-embedded)
-Requires(post): GConf2
-Requires(post): mozilla
-Requires(post): scrollkeeper
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-# can be provided by mozilla or mozilla-embedded
-%define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
-
-%if%{?_with_gcc2:1}%{!?_with_gcc2:0}
-%define __cc gcc2
-%define __cxx gcc2
-%endif
-
-%description
-Gnome browser based on Gecko (Mozilla rendering engine).
-
-%description -l pl
-Galeon jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
-interpretacji stron Mozilli).
-
-%description -l pt_BR
-O galeon é um browser para o gnome baseado no mozilla.
-
-%prep
-%setup -q
-
-%build
-rm -f missing
-glib-gettextize --copy --force
-intltoolize --copy --force
-libtoolize --copy --force
-%{__aclocal}
-%{__autoheader}
-%{__autoconf}
-%{__automake}
-%configure \
- --with-mozilla-libs=%{_libdir} \
- --with-mozilla-includes=%{_includedir}/mozilla \
- --with-mozilla-home=%{_libdir}/mozilla \
- --enable-nls \
- --disable-included-gettext \
- --disable-install-schemas \
- --disable-werror \
- --with-mozilla-snapshot=1.3 \
- --enable-gconf-source=%{_sysconfdir}/gconf/schemas \
- --enable-nautilus-view=yes
-
-%{__make}
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
-
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
-
-install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
-
-%find_lang galeon-2.0
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post
-/usr/bin/scrollkeeper-update
-umask 022
-rm -f %{_libdir}/mozilla/component.reg
-MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
-%gconf_schema_install
-
-%postun -p /usr/bin/scrollkeeper-update
-
-%files -f galeon-2.0.lang
-%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README*
-%attr(755,root,root) %{_bindir}/*
-%{_libdir}/%{name}
-%{_libdir}/bonobo/servers/*
-%{_datadir}/galeon
-%{_datadir}/applications/*
-%{_datadir}/gnome/help/*
-%{_datadir}/gnome-2.0/ui/*.xml
-%{_omf_dest_dir}/%{name}
-%{_datadir}/sounds/galeon
-%{_pixmapsdir}/*
-%{_sysconfdir}/gconf/schemas/*
-%{_sysconfdir}/sound/events/*
-%{_mandir}/man1/*