]>
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 | 5 | Version: 0.3 |
03533f2b | 6 | Release: 4 |
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 |
8ffe0579 | 11 | Patch0: %{name}-pc.patch |
5b0923bc | 12 | URL: http://www.mono-project.com/ |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: dotnet-gtk-sharp2-devel >= 1.9.3 | |
ad899780 | 16 | BuildRequires: gtk-webkit-devel >= 1.1.15 |
5b0923bc | 17 | BuildRequires: mono-csharp >= 1.1.0 |
ee834e7f | 18 | BuildRequires: monodoc >= 2.6 |
5b0923bc | 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 | |
c4366a6a | 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. | |
5b0923bc | 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} | |
ee834e7f | 42 | Requires: monodoc >= 2.6 |
5b0923bc | 43 | |
44 | %description devel | |
45 | WebKit# development files. | |
46 | ||
47 | %description devel -l pl.UTF-8 | |
48 | Pliki programistyczne WebKit#. | |
49 | ||
50 | %prep | |
e008b577 | 51 | %setup -q -n webkit-sharp-%{version} |
8ffe0579 | 52 | %patch0 -p1 |
5b0923bc | 53 | |
54 | %build | |
55 | %{__aclocal} | |
56 | %{__autoconf} | |
57 | %{__automake} | |
58 | %configure | |
59 | %{__make} -j1 | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
4a3449ca | 63 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
5b0923bc | 64 | |
65 | %{__make} install \ | |
412e88c3 | 66 | DESTDIR=$RPM_BUILD_ROOT |
5b0923bc | 67 | |
4a3449ca | 68 | install samples/*.cs $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
69 | ||
5b0923bc | 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 | |
412e88c3 MB |
81 | %{_pkgconfigdir}/webkit-sharp-1.0.pc |
82 | %{_prefix}/lib/monodoc/sources/webkit-sharp-docs* | |
4a3449ca | 83 | %{_examplesdir}/%{name}-%{version} |