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