Compare commits

..

3 commits

Author SHA1 Message Date
Paul Whalen
1de1b2b0f0 Added arm macro to ExclusiveArch 2011-06-03 14:05:28 -04:00
Fedora Release Engineering
15e8c08242 dist-git conversion 2010-07-29 15:14:26 +00:00
Jesse Keating
f34f6eb731 Initialize branch F-13 for webkit-sharp 2010-02-17 03:26:35 +00:00
5 changed files with 135 additions and 1 deletions

1
.gitignore vendored Normal file
View file

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

View file

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

1
sources Normal file
View file

@ -0,0 +1 @@
21482f9d5eafb0ef4acc6e790482f934 webkit-sharp-0.3.tar.bz2

View file

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

85
webkit-sharp.spec Normal file
View file

@ -0,0 +1,85 @@
%define debug_package %{nil}
Name: webkit-sharp
Version: 0.3
Release: 2%{?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 %{arm} 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
* Fri Jun 03 2011 Paul Whalen <paul.whalen@senecac.on.ca> - 0.3-2
- Added arm macro to ExclusiveArch
* Thu Dec 17 2009 Paul Lange <palango@gmx.de> - 0.3-1
- Update to version 0.3
* 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