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 BuildRequires: GConf2-devel >= 2.0.0
26 BuildRequires: ORBit2-devel >= 2.0.0
27 BuildRequires: autoconf
28 BuildRequires: automake
30 BuildRequires: gettext-devel
31 BuildRequires: gnome-vfs2-devel >= 2.0.0
32 BuildRequires: gtk+2-devel >= 2.0.6
33 BuildRequires: intltool
34 BuildRequires: libbonobo-devel >= 2.3.1-4
35 BuildRequires: libbonoboui-devel >= 2.1.1
36 BuildRequires: libglade2-devel >= 2.0.0
37 BuildRequires: libgnomeui-devel >= 2.0.5
38 BuildRequires: libstdc++-devel
39 BuildRequires: libxml2-devel >= 2.4.0
40 BuildRequires: mozilla-embedded-devel >= %{minmozver}
41 BuildRequires: nautilus-devel >= 2.0.0
42 BuildRequires: openssl-devel >= 0.9.7
43 BuildRequires: scrollkeeper >= 0.1.4
44 BuildRequires: rpm-build >= 4.1-10
45 Requires: libbonobo >= 2.3.1-4
46 Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
47 Requires(post): GConf2
48 Requires(post): mozilla
49 Requires(post): scrollkeeper
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 # can be provided by mozilla or mozilla-embedded
53 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
55 %if%{?_with_gcc2:1}%{!?_with_gcc2:0}
61 Gnome browser based on Gecko (Mozilla rendering engine).
64 Galeon jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
65 interpretacji stron Mozilli).
68 O galeon é um browser para o gnome baseado no mozilla.
74 # regenerate - didn't compile with ORBit2 2.7.2
76 orbit-idl-2 -I /usr/share/idl/bonobo-2.0 -I /usr/share/idl/bonobo-activation-2.0 Galeon*.idl
77 mv Galeon*.[ch] ../src
81 glib-gettextize --copy --force
82 intltoolize --copy --force
89 --with-mozilla-libs=%{_libdir} \
90 --with-mozilla-includes=%{_includedir}/mozilla \
91 --with-mozilla-home=%{_libdir}/mozilla \
93 --disable-included-gettext \
94 --disable-schemas-install \
96 --enable-gconf-source=%{_sysconfdir}/gconf/schemas \
97 --enable-nautilus-view=yes
102 rm -rf $RPM_BUILD_ROOT
103 install -d $RPM_BUILD_ROOT%{_mandir}/man1
106 DESTDIR=$RPM_BUILD_ROOT
108 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
110 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/components/*.la
112 # galeon-2.0.mo, but gnome/help/galeon
113 %find_lang galeon-2.0 --with-gnome --all-name
116 rm -rf $RPM_BUILD_ROOT
119 /usr/bin/scrollkeeper-update
120 %gconf_schema_install
122 %postun -p /usr/bin/scrollkeeper-update
124 %files -f galeon-2.0.lang
125 %defattr(644,root,root,755)
126 %doc AUTHORS ChangeLog NEWS README*
127 %attr(755,root,root) %{_bindir}/*
128 %attr(755,root,root) %{_libdir}/%{name}
129 %{_libdir}/bonobo/servers/*
132 %{_datadir}/gnome-2.0/ui/*.xml
133 %{_omf_dest_dir}/%{name}
134 %{_datadir}/sounds/galeon
136 %{_sysconfdir}/gconf/schemas/*
137 %{_sysconfdir}/sound/events/*