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