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