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