]> git.pld-linux.org Git - packages/dotnet-webkitgtk-sharp.git/blob - dotnet-webkitgtk-sharp.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/dotnet-webkitgtk-sharp.git] / dotnet-webkitgtk-sharp.spec
1 Summary:        C# bindings for WebKitGTK+ 3.0 using GObject Introspection
2 Summary(pl.UTF-8):      Wiązania C# do biblioteki WebKitGTK+ 3.0 wykorzystujące GObject Introspection
3 Name:           dotnet-webkitgtk-sharp
4 Version:        2.0.0
5 Release:        1
6 License:        LGPL v3
7 Group:          Libraries
8 Source0:        https://github.com/xDarkice/webkitgtk-sharp/releases/download/%{version}/webkitgtk-sharp-%{version}.tar.gz
9 # Source0-md5:  259d1b85975a93b878fa1bdc4254e83f
10 Patch0:         pkgconfig.patch
11 URL:            https://github.com/xDarkice/webkitgtk-sharp/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  dotnet-gtk-sharp3-devel >= 2.99.2
15 BuildRequires:  dotnet-soup-sharp-devel
16 BuildRequires:  gtk-webkit3-devel >= 2.0
17 BuildRequires:  libtool >= 2:2
18 BuildRequires:  mono-csharp >= 1.1.0
19 BuildRequires:  mono-devel
20 BuildRequires:  monodoc >= 2.6
21 BuildRequires:  pkgconfig
22 BuildRequires:  rpmbuild(monoautodeps)
23 Requires:       gtk-webkit3 >= 2.0
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
31 This package provides Mono bindings for WebKitGTK+ 3.0 libraries.
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
39 Ten pakiet dostarcza dowiązań Mono do bibliotek WebKitGTK+ 3.0.
40
41 %package devel
42 Summary:        WebKitGTK# 3 development files
43 Summary(pl.UTF-8):      Pliki programistyczne WebKitGTK# 3
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46 Requires:       monodoc >= 2.6
47
48 %description devel
49 WebKitGTK# 3 development files.
50
51 %description devel -l pl.UTF-8
52 Pliki programistyczne WebKitGTK# 3.
53
54 %prep
55 %setup -q -n webkitgtk-sharp-%{version}
56 %patch0 -p1
57
58 install -d doc/en
59
60 %build
61 %{__libtoolize}
62 %{__aclocal} -I m4
63 %{__autoconf}
64 %{__automake}
65 %configure \
66         --disable-static
67 %{__make}
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
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libwebkitgtksharpglue-1.10.2.so
85 %{_prefix}/lib/mono/gac/webkitgtk-sharp
86
87 %files devel
88 %defattr(644,root,root,755)
89 %{_prefix}/lib/mono/webkitgtk-sharp
90 %{_datadir}/gapi-3.0/webkitgtk-sharp-api.xml
91 %{_pkgconfigdir}/webkitgtk-sharp-3.0.pc
92 %{_prefix}/lib/monodoc/sources/webkitgtk-sharp-docs.*
This page took 0.066884 seconds and 4 git commands to generate.