diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 0000000..54e24eb --- /dev/null +++ b/.cvsignore @@ -0,0 +1 @@ +webkit-sharp-0.3.tar.bz2 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..17c464c --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: webkit-sharp +# $Id: Makefile,v 1.1 2009/02/27 00:16:26 kevin Exp $ +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 $$d/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/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/import.log b/import.log new file mode 100644 index 0000000..b506702 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +webkit-sharp-0_2-1_fc11:HEAD:webkit-sharp-0.2-1.fc11.src.rpm:1235695367 diff --git a/sources b/sources new file mode 100644 index 0000000..9742e50 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +21482f9d5eafb0ef4acc6e790482f934 webkit-sharp-0.3.tar.bz2 diff --git a/webkit-sharp-0.3-libdir.patch b/webkit-sharp-0.3-libdir.patch new file mode 100644 index 0000000..0433c37 --- /dev/null +++ b/webkit-sharp-0.3-libdir.patch @@ -0,0 +1,48 @@ +# SourceFucker.pl: Fix hardcoded references to libdir +diff -uraN webkit-sharp-0.3.orig/configure webkit-sharp-0.3/configure +--- webkit-sharp-0.3.orig/configure 2009-10-21 21:54:34.000000000 +0200 ++++ webkit-sharp-0.3/configure 2009-12-17 14:45:29.025582798 +0100 +@@ -3266,7 +3266,7 @@ + { (exit 1); exit 1; }; } + fi + +-GACUTIL_FLAGS="/package $ASSEMBLY_NAME /root "'$(DESTDIR)$(prefix)/lib' ++GACUTIL_FLAGS="/package $ASSEMBLY_NAME /root "'$(DESTDIR)$(libdir)' + + + +diff -uraN webkit-sharp-0.3.orig/configure.ac webkit-sharp-0.3/configure.ac +--- webkit-sharp-0.3.orig/configure.ac 2009-10-21 21:54:23.000000000 +0200 ++++ webkit-sharp-0.3/configure.ac 2009-12-17 14:45:28.830582747 +0100 +@@ -76,7 +76,7 @@ + AC_MSG_ERROR([No gacutil tool found]) + fi + +-GACUTIL_FLAGS="/package $ASSEMBLY_NAME /root "'$(DESTDIR)$(prefix)/lib' ++GACUTIL_FLAGS="/package $ASSEMBLY_NAME /root "'$(DESTDIR)$(libdir)' + + AC_SUBST(RUNTIME) + AC_SUBST(CSC) +diff -uraN webkit-sharp-0.3.orig/doc/Makefile.am webkit-sharp-0.3/doc/Makefile.am +--- webkit-sharp-0.3.orig/doc/Makefile.am 2009-10-21 21:54:23.000000000 +0200 ++++ webkit-sharp-0.3/doc/Makefile.am 2009-12-17 14:45:28.796583031 +0100 +@@ -1,6 +1,6 @@ + if ENABLE_MONODOC + TARGETS = $(ASSEMBLY_NAME)-docs.source $(ASSEMBLY_NAME)-docs.zip $(ASSEMBLY_NAME)-docs.tree +-docsdir = $(prefix)/lib/monodoc/sources ++docsdir = $(libdir)/monodoc/sources + docs_DATA = $(TARGETS) + else + TARGETS = +diff -uraN webkit-sharp-0.3.orig/doc/Makefile.in webkit-sharp-0.3/doc/Makefile.in +--- webkit-sharp-0.3.orig/doc/Makefile.in 2009-10-21 21:54:35.000000000 +0200 ++++ webkit-sharp-0.3/doc/Makefile.in 2009-12-17 14:45:28.795583126 +0100 +@@ -186,7 +186,7 @@ + @ENABLE_MONODOC_FALSE@TARGETS = + @ENABLE_MONODOC_TRUE@TARGETS = $(ASSEMBLY_NAME)-docs.source $(ASSEMBLY_NAME)-docs.zip $(ASSEMBLY_NAME)-docs.tree + @ENABLE_MONODOC_FALSE@docsdir = $(datadir) +-@ENABLE_MONODOC_TRUE@docsdir = $(prefix)/lib/monodoc/sources ++@ENABLE_MONODOC_TRUE@docsdir = $(libdir)/monodoc/sources + @ENABLE_MONODOC_FALSE@docs_DATA = + @ENABLE_MONODOC_TRUE@docs_DATA = $(TARGETS) + ASSEMBLIES = ../sources/$(ASSEMBLY_NAME).dll diff --git a/webkit-sharp.spec b/webkit-sharp.spec new file mode 100644 index 0000000..b8cad78 --- /dev/null +++ b/webkit-sharp.spec @@ -0,0 +1,82 @@ +%define debug_package %{nil} + +Name: webkit-sharp +Version: 0.3 +Release: 1%{?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-0.3-libdir.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: webkitgtk +BuildRequires: webkitgtk-devel +BuildRequires: mono-devel +BuildRequires: gtk-sharp2-devel +BuildRequires: gtk-sharp2-gapi +BuildRequires: monodoc-devel + +ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 armv4l sparcv9 alpha s390 s390x + +%description +WebKit-sharp is .NET bindings for the WebKit rendering engine. + +%package devel +Summary: Development files for WebKit-sharp +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +Development files for WebKit-sharp + +%prep +%setup -q + +# patch for libdir madness +%patch0 -p1 -b .libdir + +%build +%configure +# parallel build fails in mock +make + +%install +%{__rm} -rf %{buildroot} +make DESTDIR=%{buildroot} install + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc COPYING README +%{_libdir}/mono/ + +%files devel +%defattr(-,root,root,-) +%{_libdir}/pkgconfig/webkit-sharp-1.0.pc +%{_libdir}/monodoc/sources/webkit-sharp* + +%changelog +* Thu Dec 17 2009 Paul Lange - 0.3-1 +- Update to version 0.3 + +* Mon Oct 26 2009 Dennis Gilmore - 0.2-6 +- build for sparcv9 s390 s390x + +* Mon Jul 27 2009 Fedora Release Engineering - 0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sun Jun 21 2009 Paul Lange - 0.2-4 +- Fix supported archs + +* 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