]>
Commit | Line | Data |
---|---|---|
5b0923bc | 1 | %include /usr/lib/rpm/macros.mono |
2 | Summary: WebKit# - A Mono WebKit binding | |
c4366a6a | 3 | Summary(pl.UTF-8): WebKit# - wiązanie WebKit dla Mono |
5b0923bc | 4 | Name: dotnet-webkit-sharp |
ad899780 MB |
5 | Version: 0.3 |
6 | Release: 1 | |
5b0923bc | 7 | License: X11/MIT |
8 | Group: Libraries | |
e008b577 | 9 | Source0: http://ftp.novell.com/pub/mono/sources/webkit-sharp/webkit-sharp-%{version}.tar.bz2 |
ad899780 | 10 | # Source0-md5: 21482f9d5eafb0ef4acc6e790482f934 |
5b0923bc | 11 | URL: http://www.mono-project.com/ |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
14 | BuildRequires: dotnet-gtk-sharp2-devel >= 1.9.3 | |
ad899780 | 15 | BuildRequires: gtk-webkit-devel >= 1.1.15 |
5b0923bc | 16 | BuildRequires: mono-csharp >= 1.1.0 |
17 | BuildRequires: monodoc >= 1.0 | |
18 | BuildRequires: pkgconfig | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | WebKit is a web content engine, derived from KHTML and KJS from KDE, | |
23 | and used primarily in Apple's Safari browser. It is made to be | |
24 | embedded in other applications, such as mail readers, or web browsers. | |
25 | ||
26 | This package provides Mono bindings for WebKit libraries. | |
27 | ||
28 | %description -l pl.UTF-8 | |
c4366a6a | 29 | WebKit to silnik przeglądarki internetowej, wywodzący się z projektów |
30 | KHTML i KJS dla platformy KDE, używany głównie w przeglądarce Safari | |
31 | firmy Apple. Stworzony został aby móc osadzać go w innych aplikacjach, | |
32 | takich jak czytniki poczty czy przeglądarki stron internetowych. | |
33 | ||
34 | Ten pakiet dostarcza dowiązań Mono do bibliotek WebKit. | |
5b0923bc | 35 | |
36 | %package devel | |
37 | Summary: WebKit# development files | |
38 | Summary(pl.UTF-8): Pliki programistyczne WebKit# | |
39 | Group: Development/Libraries | |
40 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
41 | ||
42 | %description devel | |
43 | WebKit# development files. | |
44 | ||
45 | %description devel -l pl.UTF-8 | |
46 | Pliki programistyczne WebKit#. | |
47 | ||
48 | %prep | |
e008b577 | 49 | %setup -q -n webkit-sharp-%{version} |
5b0923bc | 50 | |
51 | %build | |
52 | %{__aclocal} | |
53 | %{__autoconf} | |
54 | %{__automake} | |
55 | %configure | |
56 | %{__make} -j1 | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
4a3449ca | 60 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
5b0923bc | 61 | |
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT \ | |
fcdcdc10 | 64 | docsdir=%{_libdir}/monodoc/sources \ |
5b0923bc | 65 | pkgconfigdir=%{_pkgconfigdir} |
66 | ||
4a3449ca | 67 | install samples/*.cs $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
68 | ||
5b0923bc | 69 | %clean |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %doc AUTHORS ChangeLog | |
75 | %{_prefix}/lib/mono/gac/webkit-sharp | |
76 | ||
77 | %files devel | |
78 | %defattr(644,root,root,755) | |
79 | %{_prefix}/lib/mono/webkit-sharp | |
80 | %{_pkgconfigdir}/* | |
81 | %{_libdir}/monodoc/sources/* | |
4a3449ca | 82 | %{_examplesdir}/%{name}-%{version} |