diff --git a/.cvsignore b/.gitignore
similarity index 100%
rename from .cvsignore
rename to .gitignore
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 8c911e6..0000000
--- a/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# Makefile for source rpm: webkit-sharp
-# $Id$
-NAME := webkit-sharp
-SPECFILE = $(firstword $(wildcard *.spec))
-
-define find-makefile-common
-for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
-endef
-
-MAKEFILE_COMMON := $(shell $(find-makefile-common))
-
-ifeq ($(MAKEFILE_COMMON),)
-# attept a checkout
-define checkout-makefile-common
-test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
-endef
-
-MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
-endif
-
-include $(MAKEFILE_COMMON)
diff --git a/import.log b/import.log
deleted file mode 100644
index b506702..0000000
--- a/import.log
+++ /dev/null
@@ -1 +0,0 @@
-webkit-sharp-0_2-1_fc11:HEAD:webkit-sharp-0.2-1.fc11.src.rpm:1235695367
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 465fa12..ad9baa7 100644
--- a/webkit-sharp.spec
+++ b/webkit-sharp.spec
@@ -2,23 +2,22 @@
Name: webkit-sharp
Version: 0.2
-Release: 1%{?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
-# Bug 241850 - no Mono on pp64
-ExclusiveArch: %ix86 x86_64 ppc ia64 armv4l sparc alpha ppc
-
%description
WebKit-sharp is .NET bindings for the WebKit rendering engine.
@@ -36,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
@@ -60,5 +61,11 @@ 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.
+
* Sat Feb 21 2009 David Nielsen - 0.2-1
- Initial package