]> git.pld-linux.org Git - packages/dotnet-webkit-sharp.git/blob - dotnet-webkit-sharp.spec
- package samples
[packages/dotnet-webkit-sharp.git] / dotnet-webkit-sharp.spec
1 %define snap    105457
2
3 %include        /usr/lib/rpm/macros.mono
4 Summary:        WebKit# - A Mono WebKit binding
5 Summary(pl.UTF-8):      WebKit# - wiązanie WebKit dla Mozilli
6 Name:           dotnet-webkit-sharp
7 Version:        0.2
8 Release:        0.%{snap}.2
9 License:        X11/MIT
10 Group:          Libraries
11 Source0:        %{name}-%{version}-%{snap}.tar.bz2
12 # Source0-md5:  0e529b41b394e4188ae5b8b19b0914e4
13 URL:            http://www.mono-project.com/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  dotnet-gtk-sharp2-devel >= 1.9.3
17 BuildRequires:  gtk-webkit-devel
18 BuildRequires:  mono-csharp >= 1.1.0
19 BuildRequires:  monodoc >= 1.0
20 BuildRequires:  pkgconfig
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 WebKit is a web content engine, derived from KHTML and KJS from KDE,
25 and used primarily in Apple's Safari browser. It is made to be
26 embedded in other applications, such as mail readers, or web browsers.
27
28 This package provides Mono bindings for WebKit libraries.
29
30 %description -l pl.UTF-8
31
32 %package devel
33 Summary:        WebKit# development files
34 Summary(pl.UTF-8):      Pliki programistyczne WebKit#
35 Group:          Development/Libraries
36 Requires:       %{name} = %{epoch}:%{version}-%{release}
37
38 %description devel
39 WebKit# development files.
40
41 %description devel -l pl.UTF-8
42 Pliki programistyczne WebKit#.
43
44 %prep
45 %setup -q
46
47 %build
48 %{__aclocal}
49 %{__autoconf}
50 %{__automake}
51 %configure
52 %{__make} -j1
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT \
60         monodocdir=%{_libdir}/monodoc/sources \
61         pkgconfigdir=%{_pkgconfigdir}
62
63 install samples/*.cs $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog
71 %{_prefix}/lib/mono/gac/webkit-sharp
72
73 %files devel
74 %defattr(644,root,root,755)
75 %{_prefix}/lib/mono/webkit-sharp
76 %{_pkgconfigdir}/*
77 %{_libdir}/monodoc/sources/*
78 %{_examplesdir}/%{name}-%{version}
This page took 0.074055 seconds and 4 git commands to generate.