Compare commits

..

4 commits

Author SHA1 Message Date
Fedora Release Engineering
859ebacecd dist-git conversion 2010-07-29 15:14:27 +00:00
Bill Nottingham
3c47b3d3c4 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:15:58 +00:00
Dennis Gilmore
f47c9275e1 build for sparcv9 s390 s390x 2009-10-26 18:25:00 +00:00
Jesse Keating
3554652770 Initialize branch F-12 for webkit-sharp 2009-09-29 07:17:51 +00:00
6 changed files with 138 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
webkit-sharp-0.2.tar.bz2

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

1
sources Normal file
View file

@ -0,0 +1 @@
8041fba941b7299e432380c86b6dddf8 webkit-sharp-0.2.tar.bz2

10
webkit-dllmap-fix.patch Normal file
View file

@ -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 @@
<configuration>
- <dllmap dll="webkit-1.0" target="webkit-1.0@LIB_PREFIX@.1@LIB_SUFFIX@"/>
+ <dllmap dll="webkit-1.0" target="webkit-1.0@LIB_PREFIX@.2@LIB_SUFFIX@"/>
</configuration>

44
webkit-sharp-libdir.patch Normal file
View file

@ -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

82
webkit-sharp.spec Normal file
View file

@ -0,0 +1,82 @@
%define debug_package %{nil}
Name: webkit-sharp
Version: 0.2
Release: 6%{?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)
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 webkit-sharp-libdir.patch
#patch for updated webkit version
%patch1 -p1 -b webkit-dllmap-fix.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
* Mon Oct 26 2009 Dennis Gilmore <dennis@ausil.us> - 0.2-6
- build for sparcv9 s390 s390x
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sun Jun 21 2009 Paul Lange <palango@gmx.de> - 0.2-4
- Fix supported archs
* Sun Jun 14 2009 Paul Lange <palango@gmx.de> - 0.2-3
- Fix wrong webkitgtk link and missing dependency (#500654)
* Mon May 25 2009 Xavier Lamien <laxathom@fedoraproject.org> - 0.2-2
- Build arch ppc64.
* Sat Feb 21 2009 David Nielsen <gnomeuser@gmail.com> - 0.2-1
- Initial package