]>
Commit | Line | Data |
---|---|---|
093f5867 PZ |
1 | %define snap 20070810 |
2 | Summary: Port of WebKit embeddable web component to GTK+ | |
3 | Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+ | |
4 | Name: gtk-webkit | |
5 | Version: 0.0 | |
6 | Release: 0.%{snap}.1 | |
7 | License: BSD-like | |
8 | Group: X11/Libraries | |
9 | Source0: webkit-svn.tar.bz2 | |
10 | # Source0-md5: f021365830e08bf10b3edb7d5a15bf3c | |
11 | Patch0: %{name}-qmake.patch | |
12 | URL: http://www.webkit.org/ | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: bison | |
16 | BuildRequires: curl-devel >= 7.11.0 | |
17 | BuildRequires: flex | |
18 | BuildRequires: fontconfig-devel >= 1.0.0 | |
19 | BuildRequires: gperf | |
20 | BuildRequires: libicu-devel | |
21 | BuildRequires: libjpeg-devel | |
22 | BuildRequires: libpng-devel | |
23 | BuildRequires: librsvg-devel >= 2.2.0 | |
24 | BuildRequires: libtool >= 2:1.5 | |
25 | BuildRequires: libxslt-devel | |
26 | BuildRequires: pkgconfig | |
27 | BuildRequires: qt4-qmake | |
28 | BuildRequires: sqlite3-devel | |
29 | BuildRequires: xorg-lib-libXft-devel >= 2.0.0 | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | webkit is a port of the WebKit embeddable web component to GTK+. | |
34 | ||
35 | %description -l pl.UTF-8 | |
36 | webkit to port osadzalnego komponentu WWW WebKit do GTK+. | |
37 | ||
38 | %package devel | |
39 | Summary: Development files for webkit | |
40 | Summary(pl.UTF-8): Pliki programistyczne webkit | |
41 | Group: X11/Development/Libraries | |
42 | Requires: curl-devel >= 7.11.0 | |
43 | Requires: fontconfig-devel >= 1.0.0 | |
44 | Requires: gtk-webcore-nrcore-libs-devel >= 0.5.3 | |
45 | Requires: librsvg-devel >= 2.2.0 | |
46 | Requires: xorg-lib-libXft-devel >= 2.0.0 | |
47 | ||
48 | %description devel | |
49 | Development files for webkit. | |
50 | ||
51 | %description devel -l pl.UTF-8 | |
52 | Pliki programistyczne webkit. | |
53 | ||
54 | %prep | |
55 | %setup -q -n webkit | |
56 | %patch0 -p1 | |
57 | ||
58 | %build | |
59 | WebKitTools/Scripts/build-webkit --gdk | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | cd WebKitBuild/Release | |
64 | %{__make} install \ | |
65 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %post -p /sbin/ldconfig | |
71 | %postun -p /sbin/ldconfig | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
75 | %attr(755,root,root) %{_libdir}/libWebKitGdk.so.*.*.* | |
76 | ||
77 | %files devel | |
78 | %defattr(644,root,root,755) | |
79 | %attr(755,root,root) %{_libdir}/libWebKitGdk.so | |
80 | %{_libdir}/libWebKitGdk.prl | |
81 | %{_includedir}/qt4/WebKitGtk | |
82 | %{_pkgconfigdir}/WebKitGdk.pc |