1 Summary: Galeon - gecko-based GNOME web browser
2 Summary(pl): Galeon - przegl±darka WWW dla GNOME
3 Summary(pt_BR): O galeon é um browser para o gnome baseado no mozilla
9 Group: X11/Applications/Networking
10 Source0: http://prdownloads.sourceforge.net/galeon/%{name}-%{version}.tar.gz
11 Patch0: %{name}-mozilla_five_home.patch
12 Patch1: %{name}-am_fix.patch
13 Patch2: %{name}-gcc31.patch
14 URL: http://galeon.sourceforge.net/
15 BuildRequires: GConf-devel >= 1.0.4-1
16 BuildRequires: ORBit-devel >= 0.5.0
18 BuildRequires: gdk-pixbuf-devel >= 0.10.
19 BuildRequires: gettext-devel
20 BuildRequires: gnome-core-devel >= 1.2.0
21 BuildRequires: gnome-libs-devel >= 1.2.0
22 BuildRequires: gnome-vfs-devel >= 0.5
23 BuildRequires: intltool
24 BuildRequires: libglade-devel
25 BuildRequires: libstdc++-devel
26 BuildRequires: libxml-devel >= 1.8.7
27 BuildRequires: mozilla-devel >= 0.9.9
28 BuildRequires: oaf >= 0.6.2
29 BuildRequires: oaf-devel >= 0.6.2
30 Requires: GConf >= 1.0.4-1
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %define _prefix /usr/X11R6
35 %define _mandir %{_prefix}/man
36 %define _sysconfdir /etc/X11/GNOME
39 Gnome browser based on Gecko (Mozilla rendering engine).
42 Galeon jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
43 interpretacji stron Mozilli).
46 O galeon é um browser para o gnome baseado no mozilla.
55 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in >configure.in.tmp
56 # FIXME: Broken GCONF?
57 #sed -e s/AM_GCONF_SOURCE/echo/ configure.in.tmp >configure.in
58 #mv -f configure.in.tmp configure.in
60 xml-i18n-toolize --copy --force
61 gettextize --copy --force
62 aclocal -I %{_aclocaldir}/gnome
66 --with-mozilla-libs=%{_libdir} \
67 --with-mozilla-includes=%{_includedir}/mozilla \
68 --with-mozilla-home=%{_libdir}/mozilla \
70 --disable-included-gettext \
71 --disable-install-schemas \
73 --enable-gconf-source=%{_sysconfdir}/gconf/schemas
78 rm -rf $RPM_BUILD_ROOT
81 DESTDIR=$RPM_BUILD_ROOT \
82 Networkdir=%{_applnkdir}/Network/WWW
84 mv -f $RPM_BUILD_ROOT%{_bindir}/galeon-bin $RPM_BUILD_ROOT%{_bindir}/galeon
86 gzip -9nf AUTHORS ChangeLog NEWS README
88 %find_lang %{name} --with-gnome
92 rm -f %{_libdir}/mozilla/component.reg
93 MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
95 GCONF_CONFIG_SOURCE=xml::%{_sysconfdir}/gconf/gconf.xml.defaults gconftool --makefile-install-rule %{_sysconfdir}/gconf/schemas/galeon.schemas 2>dev/null >/dev/null
98 rm -rf $RPM_BUILD_ROOT
100 %files -f %{name}.lang
101 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_bindir}/*
104 %{_applnkdir}/Network/WWW/*
107 %{_datadir}/gnome/help/galeon-manual
110 %{_datadir}/sounds/galeon
112 %{_sysconfdir}/gconf/schemas/*
113 %{_sysconfdir}/sound/events/*