From 233cdcf278e26906527338bb6135f901f3893e97 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 27 Feb 2009 00:16:29 +0000 Subject: [PATCH 1/4] Initialize branch F-9 for webkit-sharp --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..1c26f78 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-9 From e74c56c38b57bbfaf3b14517543aa8641517bb86 Mon Sep 17 00:00:00 2001 From: dnielsen Date: Fri, 27 Feb 2009 00:47:32 +0000 Subject: [PATCH 2/4] Initial import --- .cvsignore | 1 + import.log | 1 + sources | 1 + webkit-sharp-libdir.patch | 44 +++++++++++++++++++++++++++ webkit-sharp.spec | 64 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 111 insertions(+) create mode 100644 import.log create mode 100644 webkit-sharp-libdir.patch create mode 100644 webkit-sharp.spec diff --git a/.cvsignore b/.cvsignore index e69de29..80ad2d4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +webkit-sharp-0.2.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..a76ce7e --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +webkit-sharp-0_2-1_fc9:F-9:webkit-sharp-0.2-1.fc9.src.rpm:1235695616 diff --git a/sources b/sources index e69de29..bf5d40b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8041fba941b7299e432380c86b6dddf8 webkit-sharp-0.2.tar.bz2 diff --git a/webkit-sharp-libdir.patch b/webkit-sharp-libdir.patch new file mode 100644 index 0000000..3213262 --- /dev/null +++ b/webkit-sharp-libdir.patch @@ -0,0 +1,44 @@ +diff -uraN webkit-sharp-0.2.orig/configure webkit-sharp-0.2/configure +--- webkit-sharp-0.2.orig/configure 2009-02-25 00:04:00.736633894 +0100 ++++ webkit-sharp-0.2/configure 2009-02-25 00:05:52.899631057 +0100 +@@ -739,7 +739,7 @@ + dvidir='${docdir}' + pdfdir='${docdir}' + psdir='${docdir}' +-libdir='${exec_prefix}/lib' ++libdir='${libdir}' + localedir='${datarootdir}/locale' + mandir='${datarootdir}/man' + +@@ -3120,7 +3120,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.2.orig/doc/Makefile.am webkit-sharp-0.2/doc/Makefile.am +--- webkit-sharp-0.2.orig/doc/Makefile.am 2009-02-25 00:04:00.739634718 +0100 ++++ webkit-sharp-0.2/doc/Makefile.am 2009-02-25 00:06:39.538635541 +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.2.orig/doc/Makefile.in webkit-sharp-0.2/doc/Makefile.in +--- webkit-sharp-0.2.orig/doc/Makefile.in 2009-02-25 00:04:00.741634382 +0100 ++++ webkit-sharp-0.2/doc/Makefile.in 2009-02-25 00:07:41.637410066 +0100 +@@ -168,7 +168,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..465fa12 --- /dev/null +++ b/webkit-sharp.spec @@ -0,0 +1,64 @@ +%define debug_package %{nil} + +Name: webkit-sharp +Version: 0.2 +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-libdir.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: WebKit-gtk-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. + +%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 webkit-sharp-libdir.patch + +%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 +* Sat Feb 21 2009 David Nielsen - 0.2-1 +- Initial package From 426dc4b42e1fbb8f2cea37759ef6958e82617a95 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:15:58 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8c911e6..5d02245 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ 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 +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)) From 04be85933d8fbc324be198ed0f113be4278d7122 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:14:28 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log 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 5d02245..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 $$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/branch b/branch deleted file mode 100644 index 1c26f78..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-9 diff --git a/import.log b/import.log deleted file mode 100644 index a76ce7e..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -webkit-sharp-0_2-1_fc9:F-9:webkit-sharp-0.2-1.fc9.src.rpm:1235695616