]> git.pld-linux.org Git - packages/dotnet-webkitgtk-sharp.git/blame - dotnet-webkitgtk-sharp.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/dotnet-webkitgtk-sharp.git] / dotnet-webkitgtk-sharp.spec
CommitLineData
59db1c91 1Summary: C# bindings for WebKitGTK+ 3.0 using GObject Introspection
a63a8384 2Summary(pl.UTF-8): Wiązania C# do biblioteki WebKitGTK+ 3.0 wykorzystujące GObject Introspection
59db1c91
ER
3Name: dotnet-webkitgtk-sharp
4Version: 2.0.0
a63a8384 5Release: 1
817a33b5 6License: LGPL v3
59db1c91
ER
7Group: Libraries
8Source0: https://github.com/xDarkice/webkitgtk-sharp/releases/download/%{version}/webkitgtk-sharp-%{version}.tar.gz
9# Source0-md5: 259d1b85975a93b878fa1bdc4254e83f
bfacb223 10Patch0: pkgconfig.patch
59db1c91 11URL: https://github.com/xDarkice/webkitgtk-sharp/
a63a8384 12BuildRequires: autoconf >= 2.50
59db1c91 13BuildRequires: automake
12e3b3e5
ER
14BuildRequires: dotnet-gtk-sharp3-devel >= 2.99.2
15BuildRequires: dotnet-soup-sharp-devel
16BuildRequires: gtk-webkit3-devel >= 2.0
a63a8384 17BuildRequires: libtool >= 2:2
59db1c91 18BuildRequires: mono-csharp >= 1.1.0
12e3b3e5 19BuildRequires: mono-devel
59db1c91
ER
20BuildRequires: monodoc >= 2.6
21BuildRequires: pkgconfig
a63a8384
JB
22BuildRequires: rpmbuild(monoautodeps)
23Requires: gtk-webkit3 >= 2.0
59db1c91
ER
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27WebKit is a web content engine, derived from KHTML and KJS from KDE,
28and used primarily in Apple's Safari browser. It is made to be
29embedded in other applications, such as mail readers, or web browsers.
30
a63a8384 31This package provides Mono bindings for WebKitGTK+ 3.0 libraries.
59db1c91
ER
32
33%description -l pl.UTF-8
34WebKit to silnik przeglądarki internetowej, wywodzący się z projektów
35KHTML i KJS dla platformy KDE, używany głównie w przeglądarce Safari
36firmy Apple. Stworzony został aby móc osadzać go w innych aplikacjach,
37takich jak czytniki poczty czy przeglądarki stron internetowych.
38
a63a8384 39Ten pakiet dostarcza dowiązań Mono do bibliotek WebKitGTK+ 3.0.
59db1c91
ER
40
41%package devel
a63a8384
JB
42Summary: WebKitGTK# 3 development files
43Summary(pl.UTF-8): Pliki programistyczne WebKitGTK# 3
59db1c91 44Group: Development/Libraries
bfacb223 45Requires: %{name} = %{version}-%{release}
59db1c91
ER
46Requires: monodoc >= 2.6
47
48%description devel
a63a8384 49WebKitGTK# 3 development files.
59db1c91
ER
50
51%description devel -l pl.UTF-8
a63a8384 52Pliki programistyczne WebKitGTK# 3.
59db1c91
ER
53
54%prep
55%setup -q -n webkitgtk-sharp-%{version}
bfacb223 56%patch0 -p1
59db1c91 57
a63a8384 58install -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
70rm -rf $RPM_BUILD_ROOT
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
73
74%{__rm} $RPM_BUILD_ROOT%{_libdir}/libwebkitgtksharpglue-*.la
75
76%clean
77rm -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.*
This page took 0.064599 seconds and 4 git commands to generate.