-%bcond_with nautilus # disable nautilus view
-%bcond_with gcc2 # compile using gcc2 to get working gcc2-compiled java
- # plugin (better get gcc3-compiled one).
- # Flash plugin seems to still not work, use
- # mozilla instead. To compile wit this option, You
- # have to install mozilla compiled with gcc2.
+%bcond_with nautilus # disable nautilus view
+%bcond_with gcc2 # compile using gcc2 to get working gcc2-compiled java
+ # plugin (better get gcc3-compiled one).
+ # Flash plugin seems to still not work, use
+ # mozilla instead. To compile wit this option, You
+ # have to install mozilla compiled with gcc2.
Summary(pt_BR): O galeon é um browser para o GNOME baseado no mozilla
Summary(zh_CN): »ùÓÚGeckoµÄGNOMEÁ÷ÀÀÆ÷
Name: galeon
Summary(pt_BR): O galeon é um browser para o GNOME baseado no mozilla
Summary(zh_CN): »ùÓÚGeckoµÄGNOMEÁ÷ÀÀÆ÷
Name: galeon
-Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
-# Source0-md5: 13954dd2f11748c02f3071ac9987d7d3
+Source0: http://dl.sourceforge.net/galeon/%{name}-%{version}.tar.bz2
+# Source0-md5: 5106e037bb52bdb234b3fc09c1e0a3f3
#Source0: %{name}-%{version}-%{snap}.tar.bz2
Source1: %{name}-config-tool.1
Patch0: %{name}-desktop.patch
#Source0: %{name}-%{version}-%{snap}.tar.bz2
Source1: %{name}-config-tool.1
Patch0: %{name}-desktop.patch
BuildRequires: mozilla-devel >= %{minmozver}
%{?with_nautilus:BuildRequires: nautilus-devel >= 2.4.0}
BuildRequires: pkgconfig
BuildRequires: mozilla-devel >= %{minmozver}
%{?with_nautilus:BuildRequires: nautilus-devel >= 2.4.0}
BuildRequires: pkgconfig
Requires(post,postun): scrollkeeper
Requires: glib2 >= 1:2.4.4
Requires: gtk+2 >= 2:2.4.4
Requires(post,postun): scrollkeeper
Requires: glib2 >= 1:2.4.4
Requires: gtk+2 >= 2:2.4.4
# galeon-2.0.mo, but gnome/help/galeon
%find_lang galeon-2.0 --with-gnome --all-name
# galeon-2.0.mo, but gnome/help/galeon
%find_lang galeon-2.0 --with-gnome --all-name
-umask 022
-/usr/bin/scrollkeeper-update
-%gconf_schema_install
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+%scrollkeeper_update_post
+%gconf_schema_install galeon.schemas
+%update_desktop_database_post
+
+%preun
+%gconf_schema_uninstall galeon.schemas
%files -f galeon-2.0.lang
%defattr(644,root,root,755)
%files -f galeon-2.0.lang
%defattr(644,root,root,755)