]>
Commit | Line | Data |
---|---|---|
83c17f84 | 1 | # TODO: optflags |
484a5132 | 2 | %define snap r30053 |
093f5867 PZ |
3 | Summary: Port of WebKit embeddable web component to GTK+ |
4 | Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+ | |
5 | Name: gtk-webkit | |
0ebd4838 | 6 | Version: 1.0.0 |
a61df8bf | 7 | Release: 0.%{snap}.2 |
093f5867 PZ |
8 | License: BSD-like |
9 | Group: X11/Libraries | |
489d25fa | 10 | Source0: http://nightly.webkit.org/files/trunk/src/WebKit-%{snap}.tar.bz2 |
484a5132 | 11 | # Source0-md5: 96fa8c968ded68a4934ee9c1afac8a35 |
093f5867 PZ |
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 | |
9625fa13 | 28 | BuildRequires: qt4-qmake >= 4.3.3-3 |
093f5867 PZ |
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 | |
489d25fa | 57 | %setup -q -n WebKit-%{snap} |
093f5867 PZ |
58 | |
59 | %build | |
489d25fa | 60 | WebKitTools/Scripts/build-webkit --gtk \ |
a61df8bf | 61 | --qmakearg=WEBKIT_INC_DIR=%{_includedir}/webkit \ |
10bd17a6 | 62 | --qmakearg=WEBKIT_LIB_DIR=%{_libdir} \ |
9625fa13 | 63 | --qmake=qmake-qt4 |
093f5867 PZ |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
83c17f84 JB |
67 | |
68 | %{__make} -C WebKitBuild/Release install \ | |
093f5867 PZ |
69 | INSTALL_ROOT=$RPM_BUILD_ROOT |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %post -p /sbin/ldconfig | |
75 | %postun -p /sbin/ldconfig | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
489d25fa | 79 | %attr(755,root,root) %{_libdir}/libWebKitGtk.so.*.*.* |
093f5867 PZ |
80 | |
81 | %files devel | |
82 | %defattr(644,root,root,755) | |
489d25fa PZ |
83 | %attr(755,root,root) %{_libdir}/libWebKitGtk.so |
84 | %{_libdir}/libWebKitGtk.prl | |
a61df8bf | 85 | %{_includedir}/webkit |
489d25fa | 86 | %{_pkgconfigdir}/WebKitGtk.pc |