]>
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 | |
489922e9 | 5 | Version: 1.2.1 |
ebd32623 | 6 | Release: 4 |
093f5867 PZ |
7 | License: BSD-like |
8 | Group: X11/Libraries | |
618d2705 | 9 | Source0: http://webkitgtk.org/webkit-%{version}.tar.gz |
489922e9 | 10 | # Source0-md5: eb6f473d8d7be56ecd226e7dd55dcb9b |
618d2705 | 11 | URL: http://webkitgtk.org/ |
ebd32623 | 12 | Patch0: %{name}-icu44.patch |
957ed3e7 | 13 | BuildRequires: autoconf >= 2.59 |
093f5867 PZ |
14 | BuildRequires: automake |
15 | BuildRequires: bison | |
957ed3e7 | 16 | BuildRequires: enchant-devel >= 0.22 |
8cf2b70b MB |
17 | BuildRequires: flex >= 2.5.33 |
18 | BuildRequires: fontconfig-devel >= 2.4.0 | |
94f95ec8 | 19 | BuildRequires: gettext-devel |
6811ce15 | 20 | BuildRequires: gir-repository-devel |
957ed3e7 | 21 | BuildRequires: glib2-devel >= 1:2.22.0 |
46f0db60 | 22 | BuildRequires: glibc-misc |
8cf2b70b | 23 | BuildRequires: gobject-introspection-devel >= 0.6.2 |
fb358f22 | 24 | BuildRequires: gperf |
69b139d9 | 25 | BuildRequires: gstreamer-devel >= 0.10 |
8cf2b70b | 26 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.25 |
bfbcbc59 | 27 | BuildRequires: gtk+2-devel >= 2:2.20.0 |
957ed3e7 | 28 | BuildRequires: gtk-doc >= 1.10 |
ebd32623 | 29 | BuildRequires: libicu-devel >= 4.4.1 |
093f5867 PZ |
30 | BuildRequires: libjpeg-devel |
31 | BuildRequires: libpng-devel | |
8cf2b70b | 32 | BuildRequires: libsoup-devel >= 2.30.0 |
8a5c1de2 | 33 | BuildRequires: libstdc++-devel |
093f5867 | 34 | BuildRequires: libtool >= 2:1.5 |
957ed3e7 | 35 | BuildRequires: libxml2-devel >= 1:2.6.30 |
093f5867 PZ |
36 | BuildRequires: libxslt-devel |
37 | BuildRequires: pkgconfig | |
093f5867 PZ |
38 | BuildRequires: sqlite3-devel |
39 | BuildRequires: xorg-lib-libXft-devel >= 2.0.0 | |
d3f90b4e | 40 | BuildRequires: xorg-lib-libXt-devel |
fd966165 | 41 | Requires: gtk+2 >= 2:2.20.0 |
8cf2b70b | 42 | Requires: libsoup >= 2.30.0 |
bfbcbc59 | 43 | Conflicts: gir-repository < 0.6.5-7 |
093f5867 PZ |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
45 | ||
46 | %description | |
47 | webkit is a port of the WebKit embeddable web component to GTK+. | |
48 | ||
49 | %description -l pl.UTF-8 | |
50 | webkit to port osadzalnego komponentu WWW WebKit do GTK+. | |
51 | ||
52 | %package devel | |
8cf2b70b MB |
53 | Summary: Development files for WebKit |
54 | Summary(pl.UTF-8): Pliki programistyczne WebKit | |
093f5867 | 55 | Group: X11/Development/Libraries |
721db7ac | 56 | Requires: %{name} = %{version}-%{release} |
093f5867 | 57 | Requires: fontconfig-devel >= 1.0.0 |
957ed3e7 | 58 | Requires: glib2-devel >= 1:2.22.0 |
fd966165 | 59 | Requires: gtk+2-devel >= 2:2.20.0 |
3a48f35a | 60 | Requires: libicu-devel |
8cf2b70b | 61 | Requires: libsoup-devel >= 2.30.0 |
8a5c1de2 | 62 | Requires: libstdc++-devel |
093f5867 PZ |
63 | Requires: xorg-lib-libXft-devel >= 2.0.0 |
64 | ||
65 | %description devel | |
8cf2b70b | 66 | Development files for WebKit. |
093f5867 PZ |
67 | |
68 | %description devel -l pl.UTF-8 | |
8cf2b70b | 69 | Pliki programistyczne WebKit. |
093f5867 PZ |
70 | |
71 | %prep | |
209fb730 | 72 | %setup -q -n webkit-%{version} |
ebd32623 | 73 | %patch0 -p2 |
093f5867 PZ |
74 | |
75 | %build | |
ad571464 | 76 | %{__gtkdocize} |
209fb730 | 77 | %{__aclocal} -I autotools |
7166e40b PZ |
78 | %{__libtoolize} |
79 | %{__autoheader} | |
80 | %{__automake} | |
81 | %{__autoconf} | |
bb1a4556 | 82 | %configure \ |
8cf2b70b | 83 | --disable-silent-rules \ |
d4c376cd AM |
84 | --enable-dom-storage \ |
85 | --enable-icon-database \ | |
8cf2b70b | 86 | --enable-introspection \ |
209fb730 | 87 | --enable-video |
ebd32623 | 88 | |
7166e40b | 89 | %{__make} |
093f5867 PZ |
90 | |
91 | %install | |
92 | rm -rf $RPM_BUILD_ROOT | |
83c17f84 | 93 | |
7166e40b PZ |
94 | %{__make} install \ |
95 | DESTDIR=$RPM_BUILD_ROOT | |
093f5867 | 96 | |
9d45f565 PZ |
97 | %find_lang webkit |
98 | ||
093f5867 PZ |
99 | %clean |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %post -p /sbin/ldconfig | |
103 | %postun -p /sbin/ldconfig | |
104 | ||
9d45f565 | 105 | %files -f webkit.lang |
093f5867 | 106 | %defattr(644,root,root,755) |
0a5e205f | 107 | %attr(755,root,root) %{_bindir}/jsc |
737227e7 | 108 | %attr(755,root,root) %{_libdir}/libwebkit-1.0.so.*.*.* |
1806eaed | 109 | %attr(755,root,root) %ghost %{_libdir}/libwebkit-1.0.so.2 |
8cf2b70b MB |
110 | %{_libdir}/girepository-1.0/JSCore-1.0.typelib |
111 | %{_libdir}/girepository-1.0/WebKit-1.0.typelib | |
f6f1db2b | 112 | %dir %{_datadir}/webkit-1.0 |
01619705 | 113 | %{_datadir}/webkit-1.0/images |
9d45f565 | 114 | %{_datadir}/webkit-1.0/resources |
f6f1db2b | 115 | %{_datadir}/webkit-1.0/webinspector |
093f5867 PZ |
116 | |
117 | %files devel | |
118 | %defattr(644,root,root,755) | |
737227e7 PZ |
119 | %attr(755,root,root) %{_libdir}/libwebkit-1.0.so |
120 | %{_libdir}/libwebkit-1.0.la | |
8cf2b70b MB |
121 | %{_datadir}/gir-1.0/JSCore-1.0.gir |
122 | %{_datadir}/gir-1.0/WebKit-1.0.gir | |
737227e7 | 123 | %{_includedir}/webkit-1.0 |
7166e40b | 124 | %{_pkgconfigdir}/webkit-1.0.pc |