#
+# TODO:
+# - force galeon to use old SSL dialogs using nsIBadCertListener, ie. port
+# EphyBadCertRejector from Epiphany, this will fix issues with https sites
+# using self signed and expired certificates or mismatches in domain names
+#
# Conditional build:
%bcond_with nautilus # enable nautilus view
%bcond_with gcc2 # compile using gcc2 to get working gcc2-compiled java
Summary(pt_BR.UTF-8): O galeon é um browser para o GNOME baseado no mozilla
Summary(zh_CN.UTF-8): 基于Gecko的GNOME流览器
Name: galeon
-Version: 2.0.5
-Release: 4
+Version: 2.0.7
+Release: 7
Epoch: 2
License: GPL
Group: X11/Applications/Networking
Source0: http://dl.sourceforge.net/galeon/%{name}-%{version}.tar.bz2
-# Source0-md5: bbddb89ad1ba08a62e03bceab5a38d93
+# Source0-md5: 2eede1f43e3f6f2ac4ce7d4db99b15b2
Source1: %{name}-config-tool.1
Patch0: %{name}-desktop.patch
Patch1: %{name}-home_etc.patch
-Patch2: %{name}-mozilla.patch
-Patch3: %{name}-build_fix.patch
-Patch4: %{name}-ti-agent.patch
-Patch5: %{name}-agent.patch
+Patch2: %{name}-ti-agent.patch
+Patch3: %{name}-agent.patch
+Patch4: %{name}-libxul.patch
+Patch5: %{name}-xul_includes_fix.patch
URL: http://galeon.sourceforge.net/
BuildRequires: GConf2-devel >= 2.4.0
BuildRequires: ORBit2-devel >= 2.8.3
%setup -q
%patch0 -p1
%patch1 -p1
+%if "%{pld_release}" == "ti"
%patch2 -p1
+%else
%patch3 -p1
-%if "%{pld_release}" == "ti"
+%endif
%patch4 -p1
-%else
%patch5 -p1
-%endif
sed -i -e 's#sr\@Latn#sr\@latin#' configure.in
mv po/sr\@{Latn,latin}.po