]>
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 | |
8a5c1de2 | 24 | BuildRequires: libstdc++-devel |
093f5867 PZ |
25 | BuildRequires: libtool >= 2:1.5 |
26 | BuildRequires: libxslt-devel | |
27 | BuildRequires: pkgconfig | |
28 | BuildRequires: qt4-qmake | |
29 | BuildRequires: sqlite3-devel | |
30 | BuildRequires: xorg-lib-libXft-devel >= 2.0.0 | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | webkit is a port of the WebKit embeddable web component to GTK+. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | webkit to port osadzalnego komponentu WWW WebKit do GTK+. | |
38 | ||
39 | %package devel | |
40 | Summary: Development files for webkit | |
41 | Summary(pl.UTF-8): Pliki programistyczne webkit | |
42 | Group: X11/Development/Libraries | |
721db7ac | 43 | Requires: %{name} = %{version}-%{release} |
093f5867 PZ |
44 | Requires: curl-devel >= 7.11.0 |
45 | Requires: fontconfig-devel >= 1.0.0 | |
093f5867 | 46 | Requires: librsvg-devel >= 2.2.0 |
8a5c1de2 | 47 | Requires: libstdc++-devel |
093f5867 PZ |
48 | Requires: xorg-lib-libXft-devel >= 2.0.0 |
49 | ||
50 | %description devel | |
51 | Development files for webkit. | |
52 | ||
53 | %description devel -l pl.UTF-8 | |
54 | Pliki programistyczne webkit. | |
55 | ||
56 | %prep | |
57 | %setup -q -n webkit | |
58 | %patch0 -p1 | |
59 | ||
60 | %build | |
61 | WebKitTools/Scripts/build-webkit --gdk | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | cd WebKitBuild/Release | |
66 | %{__make} install \ | |
67 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
77 | %attr(755,root,root) %{_libdir}/libWebKitGdk.so.*.*.* | |
78 | ||
79 | %files devel | |
80 | %defattr(644,root,root,755) | |
81 | %attr(755,root,root) %{_libdir}/libWebKitGdk.so | |
82 | %{_libdir}/libWebKitGdk.prl | |
83 | %{_includedir}/qt4/WebKitGtk | |
84 | %{_pkgconfigdir}/WebKitGdk.pc |