1 Summary: Galeon - gecko-based GNOME web browser
2 Summary(pl): Galeon - przegl±darka WWW dla GNOME
8 Group: X11/Applications/Networking
9 Group(de): X11/Applikationen/Netzwerkwesen
10 Group(pl): X11/Aplikacje/Sieciowe
11 Source0: http://prdownloads.sourceforge.net/galeon/%{name}-%{version}.tar.gz
12 Patch0: %{name}-mozilla_five_home.patch
13 URL: http://galeon.sourceforge.net/
14 Requires: GConf >= 1.0.4-1
15 Requires: mozilla-embedded >= 0.9.5-1
16 BuildRequires: GConf-devel >= 1.0.4-1
17 BuildRequires: ORBit-devel >= 0.5.0
18 BuildRequires: gettext-devel
19 BuildRequires: gnome-core-devel >= 1.2.0
20 BuildRequires: gnome-libs-devel >= 1.2.0
21 BuildRequires: gnome-vfs-devel >= 0.5
22 BuildRequires: libxml-devel >= 1.8.7
23 BuildRequires: libglade-devel
24 BuildRequires: libstdc++-devel
25 BuildRequires: mozilla-embedded-devel >= 0.9.5-1
26 BuildRequires: oaf >= 0.6.2
27 BuildRequires: oaf-devel >= 0.6.2
28 BuildRequires: gdk-pixbuf-devel >= 0.10.
30 BuildRequires: xml-i18n-tools
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 %define _prefix /usr/X11R6
34 %define _mandir %{_prefix}/man
35 %define _sysconfdir /etc/X11/GNOME
38 Gnome browser based on Gecko (Mozilla rendering engine).
41 Galeon jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
42 interpretacji stron Mozilli).
49 #sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in >configure.in.tmp
50 #mv -f configure.in.tmp configure.in
52 #aclocal -I %{_aclocaldir}/gnome
56 --with-mozilla-libs=%{_libdir} \
57 --with-mozilla-includes=%{_includedir}/mozilla \
58 --with-mozilla-home=%{_libdir}/mozilla \
60 --disable-included-gettext \
61 --disable-install-schemas \
62 --enable-gconf-source=%{_sysconfdir}/gconf/schemas
69 rm -rf $RPM_BUILD_ROOT
72 DESTDIR=$RPM_BUILD_ROOT \
73 Networkdir=%{_applnkdir}/Network/WWW
75 mv -f $RPM_BUILD_ROOT%{_bindir}/galeon-bin $RPM_BUILD_ROOT%{_bindir}/galeon
77 gzip -9nf AUTHORS ChangeLog NEWS README
79 %find_lang %{name} --with-gnome
83 rm -f %{_libdir}/mozilla/component.reg
84 MOZILLA_FIVE_HOME=%{_libdir}/mozilla regxpcom
86 GCONF_CONFIG_SOURCE=xml::%{_sysconfdir}/gconf/gconf.xml.defaults gconftool --makefile-install-rule %{_sysconfdir}/gconf/schemas/galeon.schemas 2>dev/null >/dev/null
89 rm -rf $RPM_BUILD_ROOT
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_bindir}/*
95 %{_applnkdir}/Network/WWW/*
98 %{_datadir}/sounds/galeon
100 %{_sysconfdir}/gconf/schemas/*
101 %{_sysconfdir}/sound/events/*