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.
11 Summary: Galeon - gecko-based GNOME web browser
12 Summary(pl): Galeon - przegl±darka WWW dla GNOME
13 Summary(pt_BR): O galeon é um browser para o gnome baseado no mozilla
14 Summary(zh_CN): »ùÓÚGeckoµÄGNOMEÁ÷ÀÀÆ÷
20 Group: X11/Applications/Networking
21 #ource0: http://unc.dl.sourceforge.net/sourceforge/galeon/%{name}-%{version}.tar.gz
22 Source0: %{name}-%{version}-%{snap}.tar.bz2
23 Source1: %{name}-config-tool.1
24 URL: http://galeon.sourceforge.net/
25 BuildRequires: autoconf
26 BuildRequires: automake
27 BuildRequires: GConf2-devel
28 BuildRequires: ORBit2-devel
30 BuildRequires: bonobo-activation-devel >= 2.1.0
31 BuildRequires: gettext-devel
32 BuildRequires: gnome-vfs2-devel
33 BuildRequires: gtk+2-devel >= 2.0.6
34 BuildRequires: intltool
35 BuildRequires: libglade2-devel
36 BuildRequires: libgnomeui-devel
37 BuildRequires: libstdc++-devel
38 BuildRequires: libxml2-devel
39 BuildRequires: mozilla-embedded-devel >= %{minmozver}
40 BuildRequires: nautilus-devel >= 2.0.0
41 BuildRequires: openssl-devel
42 BuildRequires: scrollkeeper
43 BuildRequires: bonobo-activation >= 2.1.0-3
44 BuildRequires: rpm-build >= 4.1-10
45 Requires: mozilla-embedded = %(rpm -q --qf '%{VERSION}' --whatprovides mozilla-embedded)
46 Requires(post): GConf2
47 Requires(post): mozilla
48 Requires(post): scrollkeeper
49 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51 # can be provided by mozilla or mozilla-embedded
52 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
54 %if%{?_with_gcc2:1}%{!?_with_gcc2:0}
60 Gnome browser based on Gecko (Mozilla rendering engine).
63 Galeon jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
64 interpretacji stron Mozilli).
67 O galeon é um browser para o gnome baseado no mozilla.
74 glib-gettextize --copy --force
75 intltoolize --copy --force
76 libtoolize --copy --force
82 --with-mozilla-libs=%{_libdir} \
83 --with-mozilla-includes=%{_includedir}/mozilla \
84 --with-mozilla-home=%{_libdir}/mozilla \
86 --disable-included-gettext \
87 --disable-install-schemas \
89 --with-mozilla-snapshot=1.3 \
90 --enable-gconf-source=%{_sysconfdir}/gconf/schemas \
91 --enable-nautilus-view=yes
96 rm -rf $RPM_BUILD_ROOT
97 install -d $RPM_BUILD_ROOT%{_mandir}/man1
100 DESTDIR=$RPM_BUILD_ROOT
102 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
104 %find_lang galeon-2.0
107 rm -rf $RPM_BUILD_ROOT
110 /usr/bin/scrollkeeper-update
112 rm -f %{_libdir}/mozilla/component.reg
113 MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
114 %gconf_schema_install
116 %postun -p /usr/bin/scrollkeeper-update
118 %files -f galeon-2.0.lang
119 %defattr(644,root,root,755)
120 %doc AUTHORS ChangeLog NEWS README*
121 %attr(755,root,root) %{_bindir}/*
123 %{_libdir}/bonobo/servers/*
125 %{_datadir}/applications/*
126 %{_datadir}/gnome/help/*
127 %{_datadir}/gnome-2.0/ui/*.xml
128 %{_omf_dest_dir}/%{name}
129 %{_datadir}/sounds/galeon
131 %{_sysconfdir}/gconf/schemas/*
132 %{_sysconfdir}/sound/events/*