]>
Commit | Line | Data |
---|---|---|
59db1c91 | 1 | Summary: C# bindings for WebKitGTK+ 3.0 using GObject Introspection |
a63a8384 | 2 | Summary(pl.UTF-8): Wiązania C# do biblioteki WebKitGTK+ 3.0 wykorzystujące GObject Introspection |
59db1c91 ER |
3 | Name: dotnet-webkitgtk-sharp |
4 | Version: 2.0.0 | |
a63a8384 | 5 | Release: 1 |
817a33b5 | 6 | License: LGPL v3 |
59db1c91 ER |
7 | Group: Libraries |
8 | Source0: https://github.com/xDarkice/webkitgtk-sharp/releases/download/%{version}/webkitgtk-sharp-%{version}.tar.gz | |
9 | # Source0-md5: 259d1b85975a93b878fa1bdc4254e83f | |
bfacb223 | 10 | Patch0: pkgconfig.patch |
59db1c91 | 11 | URL: https://github.com/xDarkice/webkitgtk-sharp/ |
a63a8384 | 12 | BuildRequires: autoconf >= 2.50 |
59db1c91 | 13 | BuildRequires: automake |
12e3b3e5 ER |
14 | BuildRequires: dotnet-gtk-sharp3-devel >= 2.99.2 |
15 | BuildRequires: dotnet-soup-sharp-devel | |
16 | BuildRequires: gtk-webkit3-devel >= 2.0 | |
a63a8384 | 17 | BuildRequires: libtool >= 2:2 |
59db1c91 | 18 | BuildRequires: mono-csharp >= 1.1.0 |
12e3b3e5 | 19 | BuildRequires: mono-devel |
59db1c91 ER |
20 | BuildRequires: monodoc >= 2.6 |
21 | BuildRequires: pkgconfig | |
a63a8384 JB |
22 | BuildRequires: rpmbuild(monoautodeps) |
23 | Requires: gtk-webkit3 >= 2.0 | |
59db1c91 ER |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | WebKit is a web content engine, derived from KHTML and KJS from KDE, | |
28 | and used primarily in Apple's Safari browser. It is made to be | |
29 | embedded in other applications, such as mail readers, or web browsers. | |
30 | ||
a63a8384 | 31 | This package provides Mono bindings for WebKitGTK+ 3.0 libraries. |
59db1c91 ER |
32 | |
33 | %description -l pl.UTF-8 | |
34 | WebKit to silnik przeglądarki internetowej, wywodzący się z projektów | |
35 | KHTML i KJS dla platformy KDE, używany głównie w przeglądarce Safari | |
36 | firmy Apple. Stworzony został aby móc osadzać go w innych aplikacjach, | |
37 | takich jak czytniki poczty czy przeglądarki stron internetowych. | |
38 | ||
a63a8384 | 39 | Ten pakiet dostarcza dowiązań Mono do bibliotek WebKitGTK+ 3.0. |
59db1c91 ER |
40 | |
41 | %package devel | |
a63a8384 JB |
42 | Summary: WebKitGTK# 3 development files |
43 | Summary(pl.UTF-8): Pliki programistyczne WebKitGTK# 3 | |
59db1c91 | 44 | Group: Development/Libraries |
bfacb223 | 45 | Requires: %{name} = %{version}-%{release} |
59db1c91 ER |
46 | Requires: monodoc >= 2.6 |
47 | ||
48 | %description devel | |
a63a8384 | 49 | WebKitGTK# 3 development files. |
59db1c91 ER |
50 | |
51 | %description devel -l pl.UTF-8 | |
a63a8384 | 52 | Pliki programistyczne WebKitGTK# 3. |
59db1c91 ER |
53 | |
54 | %prep | |
55 | %setup -q -n webkitgtk-sharp-%{version} | |
bfacb223 | 56 | %patch0 -p1 |
59db1c91 | 57 | |
a63a8384 | 58 | install -d doc/en |
59db1c91 ER |
59 | |
60 | %build | |
a63a8384 | 61 | %{__libtoolize} |
817a33b5 | 62 | %{__aclocal} -I m4 |
59db1c91 ER |
63 | %{__autoconf} |
64 | %{__automake} | |
65 | %configure \ | |
66 | --disable-static | |
67 | %{__make} | |
59db1c91 ER |
68 | |
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | %{__make} install \ | |
72 | DESTDIR=$RPM_BUILD_ROOT | |
73 | ||
74 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libwebkitgtksharpglue-*.la | |
75 | ||
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
a63a8384 JB |
79 | %post -p /sbin/ldconfig |
80 | %postun -p /sbin/ldconfig | |
81 | ||
59db1c91 ER |
82 | %files |
83 | %defattr(644,root,root,755) | |
59db1c91 | 84 | %attr(755,root,root) %{_libdir}/libwebkitgtksharpglue-1.10.2.so |
a63a8384 | 85 | %{_prefix}/lib/mono/gac/webkitgtk-sharp |
59db1c91 ER |
86 | |
87 | %files devel | |
88 | %defattr(644,root,root,755) | |
89 | %{_prefix}/lib/mono/webkitgtk-sharp | |
a63a8384 | 90 | %{_datadir}/gapi-3.0/webkitgtk-sharp-api.xml |
59db1c91 | 91 | %{_pkgconfigdir}/webkitgtk-sharp-3.0.pc |
a63a8384 | 92 | %{_prefix}/lib/monodoc/sources/webkitgtk-sharp-docs.* |