]>
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 | |
3a48f35a | 5 | Version: 1.1.15.3 |
957ed3e7 | 6 | Release: 1 |
093f5867 PZ |
7 | License: BSD-like |
8 | Group: X11/Libraries | |
618d2705 | 9 | Source0: http://webkitgtk.org/webkit-%{version}.tar.gz |
3a48f35a | 10 | # Source0-md5: 18736af3c751eb078fa3f4a7393cc864 |
618d2705 | 11 | URL: http://webkitgtk.org/ |
957ed3e7 | 12 | BuildRequires: autoconf >= 2.59 |
093f5867 PZ |
13 | BuildRequires: automake |
14 | BuildRequires: bison | |
957ed3e7 | 15 | BuildRequires: enchant-devel >= 0.22 |
093f5867 PZ |
16 | BuildRequires: flex |
17 | BuildRequires: fontconfig-devel >= 1.0.0 | |
957ed3e7 | 18 | BuildRequires: glib2-devel >= 1:2.22.0 |
fb358f22 | 19 | BuildRequires: gperf |
69b139d9 SS |
20 | BuildRequires: gstreamer-devel >= 0.10 |
21 | BuildRequires: gstreamer-plugins-base-devel | |
957ed3e7 MB |
22 | BuildRequires: gtk+2-devel >= 2:2.10.0 |
23 | BuildRequires: gtk-doc >= 1.10 | |
093f5867 PZ |
24 | BuildRequires: libicu-devel |
25 | BuildRequires: libjpeg-devel | |
26 | BuildRequires: libpng-devel | |
957ed3e7 | 27 | BuildRequires: libsoup-devel >= 2.28.0 |
8a5c1de2 | 28 | BuildRequires: libstdc++-devel |
093f5867 | 29 | BuildRequires: libtool >= 2:1.5 |
957ed3e7 | 30 | BuildRequires: libxml2-devel >= 1:2.6.30 |
093f5867 PZ |
31 | BuildRequires: libxslt-devel |
32 | BuildRequires: pkgconfig | |
093f5867 PZ |
33 | BuildRequires: sqlite3-devel |
34 | BuildRequires: xorg-lib-libXft-devel >= 2.0.0 | |
d3f90b4e | 35 | BuildRequires: xorg-lib-libXt-devel |
093f5867 PZ |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
38 | %description | |
39 | webkit is a port of the WebKit embeddable web component to GTK+. | |
40 | ||
41 | %description -l pl.UTF-8 | |
42 | webkit to port osadzalnego komponentu WWW WebKit do GTK+. | |
43 | ||
44 | %package devel | |
45 | Summary: Development files for webkit | |
46 | Summary(pl.UTF-8): Pliki programistyczne webkit | |
47 | Group: X11/Development/Libraries | |
721db7ac | 48 | Requires: %{name} = %{version}-%{release} |
093f5867 | 49 | Requires: fontconfig-devel >= 1.0.0 |
957ed3e7 MB |
50 | Requires: glib2-devel >= 1:2.22.0 |
51 | Requires: gtk+2-devel >= 2:2.10.0 | |
3a48f35a | 52 | Requires: libicu-devel |
957ed3e7 | 53 | Requires: libsoup-devel >= 2.28.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 AM |
74 | --enable-dom-storage \ |
75 | --enable-icon-database \ | |
209fb730 | 76 | --enable-video |
7166e40b | 77 | %{__make} |
093f5867 PZ |
78 | |
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
83c17f84 | 81 | |
7166e40b PZ |
82 | %{__make} install \ |
83 | DESTDIR=$RPM_BUILD_ROOT | |
093f5867 | 84 | |
9d45f565 PZ |
85 | %find_lang webkit |
86 | ||
093f5867 PZ |
87 | %clean |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %post -p /sbin/ldconfig | |
91 | %postun -p /sbin/ldconfig | |
92 | ||
9d45f565 | 93 | %files -f webkit.lang |
093f5867 | 94 | %defattr(644,root,root,755) |
0a5e205f | 95 | %attr(755,root,root) %{_bindir}/jsc |
737227e7 | 96 | %attr(755,root,root) %{_libdir}/libwebkit-1.0.so.*.*.* |
1806eaed | 97 | %attr(755,root,root) %ghost %{_libdir}/libwebkit-1.0.so.2 |
f6f1db2b | 98 | %dir %{_datadir}/webkit-1.0 |
01619705 | 99 | %{_datadir}/webkit-1.0/images |
9d45f565 | 100 | %{_datadir}/webkit-1.0/resources |
f6f1db2b | 101 | %{_datadir}/webkit-1.0/webinspector |
093f5867 PZ |
102 | |
103 | %files devel | |
104 | %defattr(644,root,root,755) | |
737227e7 PZ |
105 | %attr(755,root,root) %{_libdir}/libwebkit-1.0.so |
106 | %{_libdir}/libwebkit-1.0.la | |
107 | %{_includedir}/webkit-1.0 | |
7166e40b | 108 | %{_pkgconfigdir}/webkit-1.0.pc |