]>
Commit | Line | Data |
---|---|---|
83c17f84 | 1 | # TODO: optflags |
093f5867 PZ |
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 | |
9d45f565 | 5 | Version: 1.1.7 |
34dd5330 | 6 | Release: 1 |
093f5867 PZ |
7 | License: BSD-like |
8 | Group: X11/Libraries | |
618d2705 | 9 | Source0: http://webkitgtk.org/webkit-%{version}.tar.gz |
9d45f565 | 10 | # Source0-md5: f681773e29898509741cd3bc293816f4 |
618d2705 | 11 | URL: http://webkitgtk.org/ |
093f5867 PZ |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
14 | BuildRequires: bison | |
15 | BuildRequires: curl-devel >= 7.11.0 | |
16 | BuildRequires: flex | |
17 | BuildRequires: fontconfig-devel >= 1.0.0 | |
618d2705 | 18 | BuildRequires: gnome-keyring-devel >= 2.26.0 |
69b139d9 | 19 | BuildRequires: gnome-vfs2-devel |
fb358f22 | 20 | BuildRequires: gperf |
69b139d9 SS |
21 | BuildRequires: gstreamer-devel >= 0.10 |
22 | BuildRequires: gstreamer-plugins-base-devel | |
ad571464 | 23 | BuildRequires: gtk-doc |
093f5867 PZ |
24 | BuildRequires: libicu-devel |
25 | BuildRequires: libjpeg-devel | |
26 | BuildRequires: libpng-devel | |
27 | BuildRequires: librsvg-devel >= 2.2.0 | |
209fb730 | 28 | BuildRequires: libsoup-devel >= 2.26.0 |
8a5c1de2 | 29 | BuildRequires: libstdc++-devel |
093f5867 PZ |
30 | BuildRequires: libtool >= 2:1.5 |
31 | BuildRequires: libxslt-devel | |
f90f156b | 32 | BuildRequires: pango-devel |
093f5867 | 33 | BuildRequires: pkgconfig |
093f5867 PZ |
34 | BuildRequires: sqlite3-devel |
35 | BuildRequires: xorg-lib-libXft-devel >= 2.0.0 | |
d3f90b4e | 36 | BuildRequires: xorg-lib-libXt-devel |
093f5867 PZ |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
38 | ||
39 | %description | |
40 | webkit is a port of the WebKit embeddable web component to GTK+. | |
41 | ||
42 | %description -l pl.UTF-8 | |
43 | webkit to port osadzalnego komponentu WWW WebKit do GTK+. | |
44 | ||
45 | %package devel | |
46 | Summary: Development files for webkit | |
47 | Summary(pl.UTF-8): Pliki programistyczne webkit | |
48 | Group: X11/Development/Libraries | |
721db7ac | 49 | Requires: %{name} = %{version}-%{release} |
093f5867 PZ |
50 | Requires: curl-devel >= 7.11.0 |
51 | Requires: fontconfig-devel >= 1.0.0 | |
217a1617 | 52 | Requires: libicu-devel |
093f5867 | 53 | Requires: librsvg-devel >= 2.2.0 |
8a5c1de2 | 54 | Requires: libstdc++-devel |
093f5867 PZ |
55 | Requires: xorg-lib-libXft-devel >= 2.0.0 |
56 | ||
57 | %description devel | |
58 | Development files for webkit. | |
59 | ||
60 | %description devel -l pl.UTF-8 | |
61 | Pliki programistyczne webkit. | |
62 | ||
63 | %prep | |
209fb730 | 64 | %setup -q -n webkit-%{version} |
093f5867 PZ |
65 | |
66 | %build | |
ad571464 | 67 | %{__gtkdocize} |
209fb730 | 68 | %{__aclocal} -I autotools |
7166e40b PZ |
69 | %{__libtoolize} |
70 | %{__autoheader} | |
71 | %{__automake} | |
72 | %{__autoconf} | |
bb1a4556 | 73 | %configure \ |
d4c376cd | 74 | --enable-dom-storage \ |
618d2705 | 75 | --enable-gnomekeyring \ |
d4c376cd | 76 | --enable-icon-database \ |
f90f156b | 77 | --enable-svg-experimental \ |
d4c376cd | 78 | --enable-svg-filters \ |
209fb730 | 79 | --enable-video |
7166e40b | 80 | %{__make} |
093f5867 PZ |
81 | |
82 | %install | |
83 | rm -rf $RPM_BUILD_ROOT | |
83c17f84 | 84 | |
7166e40b PZ |
85 | %{__make} install \ |
86 | DESTDIR=$RPM_BUILD_ROOT | |
093f5867 | 87 | |
9d45f565 PZ |
88 | %find_lang webkit |
89 | ||
093f5867 PZ |
90 | %clean |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %post -p /sbin/ldconfig | |
94 | %postun -p /sbin/ldconfig | |
95 | ||
9d45f565 | 96 | %files -f webkit.lang |
093f5867 | 97 | %defattr(644,root,root,755) |
0a5e205f | 98 | %attr(755,root,root) %{_bindir}/jsc |
737227e7 | 99 | %attr(755,root,root) %{_libdir}/libwebkit-1.0.so.*.*.* |
1806eaed | 100 | %attr(755,root,root) %ghost %{_libdir}/libwebkit-1.0.so.2 |
f6f1db2b | 101 | %dir %{_datadir}/webkit-1.0 |
9d45f565 | 102 | %{_datadir}/webkit-1.0/resources |
f6f1db2b | 103 | %{_datadir}/webkit-1.0/webinspector |
093f5867 PZ |
104 | |
105 | %files devel | |
106 | %defattr(644,root,root,755) | |
737227e7 PZ |
107 | %attr(755,root,root) %{_libdir}/libwebkit-1.0.so |
108 | %{_libdir}/libwebkit-1.0.la | |
109 | %{_includedir}/webkit-1.0 | |
7166e40b | 110 | %{_pkgconfigdir}/webkit-1.0.pc |