diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a605ce9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +webkit-sharp-0.3.tar.bz2 +/webkit-sharp-0.3.tar.bz2 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/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-dllmap.patch b/webkit-sharp-0.3-dllmap.patch new file mode 100644 index 0000000..7ff5dde --- /dev/null +++ b/webkit-sharp-0.3-dllmap.patch @@ -0,0 +1,8 @@ +diff -up webkit-sharp-0.3/sources/webkit-sharp.dll.config.in.version webkit-sharp-0.3/sources/webkit-sharp.dll.config.in +--- webkit-sharp-0.3/sources/webkit-sharp.dll.config.in.version 2010-11-28 10:27:36.000000000 +0100 ++++ webkit-sharp-0.3/sources/webkit-sharp.dll.config.in 2010-11-28 10:27:47.000000000 +0100 +@@ -1,3 +1,3 @@ + +- ++ + diff --git a/webkit-sharp.spec b/webkit-sharp.spec new file mode 100644 index 0000000..b7de4e5 --- /dev/null +++ b/webkit-sharp.spec @@ -0,0 +1,105 @@ +%define debug_package %{nil} + +Name: webkit-sharp +Version: 0.3 +Release: 9%{?dist} +Summary: .NET bindings for WebKit +Group: Development/Languages +License: MIT +URL: http://www.mono-project.com/Main_Page +Source0: http://origin-download.mono-project.com/sources/webkit-sharp/%{name}-%{version}.tar.bz2 +# https://bugzilla.redhat.com/show_bug.cgi?id=658502 +Patch1: webkit-sharp-0.3-dllmap.patch +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 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 +# update for new webkit library name +%patch1 -p1 -b .dllmap +sed -i -e 's!@libdir@!${exec_prefix}/lib!g' sources/webkit-sharp.pc.in + +%build +%configure +# parallel build fails in mock +make + +%install +make DESTDIR=%{buildroot} install + +%files +%defattr(-,root,root,-) +%doc COPYING README +%{_prefix}/lib/mono/ + +%files devel +%defattr(-,root,root,-) +%{_libdir}/pkgconfig/webkit-sharp-1.0.pc +%{_prefix}/lib/monodoc/sources/webkit-sharp* + +%changelog +* Sat Jan 14 2012 Fedora Release Engineering - 0.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Oct 23 2011 Christian Krause - 0.3-8 +- Change paths for mono assemblies according to updated packaging + guidelines (http://fedoraproject.org/wiki/Packaging:Mono) + +* Fri Jun 03 2011 Paul Whalen - 0.3-7 +- Added arm macro to ExclusiveArch + +* Mon Mar 28 2011 Christian Krause - 0.3-6 +- Rebuilt against mono 2.10 +- Minor spec file cleanup + +* Mon Feb 07 2011 Fedora Release Engineering - 0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Nov 27 2010 Dan HorĂ¡k - 0.3-4 +- update dll mapping for new webkitgtk (#658502) +- sync ExclusiveArch list with mono + +* Sun Oct 31 2010 Christian Krause - 0.3-3 +- Rebuild again to create correct requires/provides capabilities + +* Sat Oct 09 2010 Paul F. Johnson 0.3-2 +- Rebuild for mono-2.8 + +* 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