3 # _with_gcc2 - compile using gcc2 to get working java plugin.
4 # Flash plugin seems to still doesn't work, use
5 # mozilla instead. To compile wit this option, You
6 # have to install mozilla compiled with gcc2.
10 Summary: Galeon - gecko-based GNOME web browser
11 Summary(pl): Galeon - przegl±darka WWW dla GNOME
12 Summary(pt_BR): O galeon é um browser para o gnome baseado no mozilla
13 Summary(zh_CN): »ùÓÚGeckoµÄGNOMEÁ÷ÀÀÆ÷
19 Group: X11/Applications/Networking
20 Source0: http://dl.sf.net/galeon/%{name}-%{version}.tar.bz2
21 # Source0-md5: 9b89ebfb0a4019f0edd3ef227abc111f
22 Source1: %{name}-config-tool.1
23 URL: http://galeon.sourceforge.net/
24 Patch0: %{name}-desktop.patch
25 Patch1: %{name}-schemas.patch
26 BuildRequires: GConf2-devel >= 2.0.0
27 BuildRequires: ORBit2-devel >= 2.7.5-1
28 BuildRequires: autoconf
29 BuildRequires: automake
31 BuildRequires: gettext-devel
32 BuildRequires: gnome-vfs2-devel >= 2.0.0
33 BuildRequires: gtk+2-devel >= 2.0.6
34 BuildRequires: intltool
35 BuildRequires: libbonobo-devel >= 2.3.1-4
36 BuildRequires: libbonoboui-devel >= 2.3.3-2
37 BuildRequires: libglade2-devel >= 2.0.0
38 BuildRequires: libgnomeui-devel >= 2.3.3.1-2
39 BuildRequires: libstdc++-devel
40 BuildRequires: libxml2-devel >= 2.4.0
41 BuildRequires: mozilla-embedded-devel >= %{minmozver}
42 BuildRequires: nautilus-devel >= 2.3.7-3
43 BuildRequires: openssl-devel >= 0.9.7
44 BuildRequires: scrollkeeper >= 0.1.4
45 BuildRequires: rpm-build >= 4.1-10
46 Requires(post): GConf2
47 Requires(post): mozilla
48 Requires(post): scrollkeeper
49 Requires: libbonobo >= 2.3.1-4
50 Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
51 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53 # can be provided by mozilla or mozilla-embedded
54 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
56 %if %{?_with_gcc2:1}%{!?_with_gcc2:0}
62 Gnome browser based on Gecko (Mozilla rendering engine).
65 Galeon jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
66 interpretacji stron Mozilli).
69 O galeon é um browser para o gnome baseado no mozilla.
76 # regenerate - didn't compile with ORBit2 2.7.2
78 orbit-idl-2 -I /usr/share/idl/bonobo-2.0 -I /usr/share/idl/bonobo-activation-2.0 Galeon*.idl
79 mv Galeon*.[ch] ../src
83 glib-gettextize --copy --force
84 intltoolize --copy --force
91 --with-mozilla-libs=%{_libdir} \
92 --with-mozilla-includes=%{_includedir}/mozilla \
93 --with-mozilla-home=%{_libdir}/mozilla \
95 --disable-included-gettext \
96 --disable-schemas-install \
98 --enable-gconf-source=%{_sysconfdir}/gconf/schemas \
99 --enable-nautilus-view=yes
104 rm -rf $RPM_BUILD_ROOT
105 install -d $RPM_BUILD_ROOT%{_mandir}/man1
108 DESTDIR=$RPM_BUILD_ROOT
110 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
112 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/components/*.la
114 # galeon-2.0.mo, but gnome/help/galeon
115 %find_lang galeon-2.0 --with-gnome --all-name
118 rm -rf $RPM_BUILD_ROOT
121 /usr/bin/scrollkeeper-update
122 %gconf_schema_install
124 %postun -p /usr/bin/scrollkeeper-update
126 %files -f galeon-2.0.lang
127 %defattr(644,root,root,755)
128 %doc AUTHORS ChangeLog NEWS README*
129 %attr(755,root,root) %{_bindir}/*
130 %attr(755,root,root) %{_libdir}/%{name}
131 %{_libdir}/bonobo/servers/*
134 %{_datadir}/gnome-2.0/ui/*.xml
135 %{_omf_dest_dir}/%{name}
136 %{_datadir}/sounds/galeon
138 %{_sysconfdir}/gconf/schemas/*
139 %{_sysconfdir}/sound/events/*