diff --git a/webkit-dllmap-fix.patch b/webkit-dllmap-fix.patch
new file mode 100644
index 0000000..2503625
--- /dev/null
+++ b/webkit-dllmap-fix.patch
@@ -0,0 +1,10 @@
+# https://bugzilla.redhat.com/show_bug.cgi?id=500654
+diff -uraN webkit-sharp-0.2/sources/webkit-sharp.dll.config.in webkit-sharp-0.2.orig/sources/webkit-sharp.dll.config.in
+--- webkit-sharp-0.2/sources/webkit-sharp.dll.config.in 2008-06-12 02:28:06.000000000 +0200
++++ webkit-sharp-0.2.orig/sources/webkit-sharp.dll.config.in 2009-05-16 23:42:36.847810576 +0200
+@@ -1,3 +1,3 @@
+
+-
++
+
+
diff --git a/webkit-sharp.spec b/webkit-sharp.spec
index bf2c9f9..ad9baa7 100644
--- a/webkit-sharp.spec
+++ b/webkit-sharp.spec
@@ -2,21 +2,22 @@
Name: webkit-sharp
Version: 0.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: .NET bindings for WebKit
Group: Development/Languages
License: MIT
URL: http://ftp.novell.com/pub/mono/sources/webkit-sharp/
Source0: http://ftp.novell.com/pub/mono/sources/webkit-sharp/%{name}-%{version}.tar.bz2
Patch0: webkit-sharp-libdir.patch
+Patch1: webkit-dllmap-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: WebKit-gtk-devel
+Requires: webkitgtk
+BuildRequires: webkitgtk-devel
BuildRequires: mono-devel
BuildRequires: gtk-sharp2-devel
BuildRequires: gtk-sharp2-gapi
BuildRequires: monodoc-devel
-
%description
WebKit-sharp is .NET bindings for the WebKit rendering engine.
@@ -34,6 +35,8 @@ Development files for WebKit-sharp
# patch for libdir madness
%patch0 -p1 -b webkit-sharp-libdir.patch
+#patch for updated webkit version
+%patch1 -p1 -b webkit-dllmap-fix.patch
%build
%configure
@@ -58,6 +61,9 @@ make DESTDIR=%{buildroot} install
%{_libdir}/monodoc/sources/webkit-sharp*
%changelog
+* Sun Jun 14 2009 Paul Lange - 0.2-3
+- Fix wrong webkitgtk link and missing dependency (#500654)
+
* Mon May 25 2009 Xavier Lamien - 0.2-2
- Build arch ppc64.