3 # - update descs (this is dor gtk3)
4 # - cleanup/update deps
7 %bcond_with doc # build with tests
9 %include /usr/lib/rpm/macros.mono
10 Summary: C# bindings for WebKitGTK+ 3.0 using GObject Introspection
11 Summary(pl.UTF-8): WebKit# - wiązanie WebKit dla Mono
12 Name: dotnet-webkitgtk-sharp
17 Source0: https://github.com/xDarkice/webkitgtk-sharp/releases/download/%{version}/webkitgtk-sharp-%{version}.tar.gz
18 # Source0-md5: 259d1b85975a93b878fa1bdc4254e83f
19 Patch0: pkgconfig.patch
20 URL: https://github.com/xDarkice/webkitgtk-sharp/
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: dotnet-gtk-sharp3
24 BuildRequires: dotnet-soup-sharp
25 BuildRequires: gtk-webkit3-devel
26 BuildRequires: mono-csharp >= 1.1.0
27 BuildRequires: monodoc >= 2.6
28 BuildRequires: pkgconfig
29 BuildRequires: sed >= 4.0
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 WebKit is a web content engine, derived from KHTML and KJS from KDE,
34 and used primarily in Apple's Safari browser. It is made to be
35 embedded in other applications, such as mail readers, or web browsers.
37 This package provides Mono bindings for WebKit libraries.
39 %description -l pl.UTF-8
40 WebKit to silnik przeglądarki internetowej, wywodzący się z projektów
41 KHTML i KJS dla platformy KDE, używany głównie w przeglądarce Safari
42 firmy Apple. Stworzony został aby móc osadzać go w innych aplikacjach,
43 takich jak czytniki poczty czy przeglądarki stron internetowych.
45 Ten pakiet dostarcza dowiązań Mono do bibliotek WebKit.
48 Summary: WebKit# development files
49 Summary(pl.UTF-8): Pliki programistyczne WebKit#
50 Group: Development/Libraries
51 Requires: %{name} = %{version}-%{release}
52 Requires: monodoc >= 2.6
55 WebKit# development files.
57 %description devel -l pl.UTF-8
58 Pliki programistyczne WebKit#.
61 %setup -q -n webkitgtk-sharp-%{version}
64 %{__sed} -i -e '/SUBDIRS/ s/doc//' Makefile.am
73 %{?with_doc:%{__make} -C doc}
76 rm -rf $RPM_BUILD_ROOT
78 DESTDIR=$RPM_BUILD_ROOT
80 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libwebkitgtksharpglue-*.la
83 rm -rf $RPM_BUILD_ROOT
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog
88 %{_prefix}/lib/mono/gac/webkitgtk-sharp
89 %attr(755,root,root) %{_libdir}/libwebkitgtksharpglue-1.10.2.so
90 # -devel or runtime resource?
91 %{_datadir}/gapi-3.0/webkitgtk-sharp-api.xml
94 %defattr(644,root,root,755)
95 %{_prefix}/lib/mono/webkitgtk-sharp
96 %{_pkgconfigdir}/webkitgtk-sharp-3.0.pc
98 %{?with_doc:%{_prefix}/lib/monodoc/sources/webkit-sharp-docs*}