Package libwebkitgtk4: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 | %set_verify_elf_method textrel=relaxed %define _gtk_docdir %_datadir/gtk-doc/html %define _libexecdir %_prefix/libexec %define api_ver 4.0 %define gtk_ver 3.0 %define oname webkit %define _name webkitgtk %def_disable gtkdoc %def_disable gnu_ld %def_disable media_stream %def_enable x11 %def_enable wayland Name: libwebkitgtk4 Version: 2.10.5 Release: alt1 Summary: Web browser engine Group: System/Libraries License: %bsd %lgpl2plus Url: http://www.webkitgtk.org/ Source: %url/releases/%_name-%version.tar.xz # fc Patch12: webkitgtk-2.8.4-youtube.patch BuildPreReq: rpm-build-licenses Requires: gst-plugins-base1.0 gst-plugins-good1.0 gst-plugins-bad1.0 gst-libav Requires: hyphen-en hyphen-ru BuildRequires: gcc-c++ cmake ccache libicu-devel bison perl-Switch zlib-devel BuildRequires: chrpath BuildRequires: flex >= 2.5.33 BuildRequires: gperf libjpeg-devel libpng-devel libwebp-devel BuildRequires: libxml2-devel >= 2.6 BuildRequires: libXt-devel BuildRequires: libgtk+3-devel >= 3.4.0 libepoxy-devel BuildRequires: libgail3-devel >= 3.0 BuildRequires: libenchant-devel >= 0.22 BuildRequires: libsqlite3-devel >= 3.0 BuildRequires: libxslt-devel >= 1.1.7 BuildRequires: gstreamer1.0-devel >= 1.0.3 gst-plugins1.0-devel >= 1.0.3 gst-plugins-bad1.0-devel BuildRequires: librsvg-devel >= 2.2.0 BuildRequires: gtk-doc >= 1.10 BuildRequires: libsoup-devel >= 2.40.0 BuildRequires: libsecret-devel BuildRequires: libpango-devel >= 1.21.0 libcairo-devel >= 1.10 libcairo-gobject-devel BuildRequires: fontconfig-devel >= 2.4 libfreetype-devel libharfbuzz-devel BuildRequires: libgio-devel >= 2.25.0 BuildRequires: python-modules-json BuildRequires: ruby ruby-stdlibs BuildRequires: libGL-devel libXcomposite-devel libXdamage-devel BuildRequires: gobject-introspection-devel >= 0.9.5 libgtk+3-gir-devel libsoup-gir-devel BuildRequires: geoclue2-devel BuildRequires: libenchant-devel libhyphen-devel BuildRequires: libat-spi2-core-devel at-spi2-atk-devel BuildRequires: libgtk+2-devel libpixman-devel libexpat-devel BuildRequires: libXdmcp-devel libxshmfence-devel libXxf86vm-devel BuildRequires: libXinerama-devel libXi-devel libXrandr-devel BuildRequires: libXcursor-devel libxkbcommon-devel %{?_enable_wayland:BuildRequires: libwayland-server-devel libwayland-cursor-devel libwayland-egl-devel} BuildRequires: libnotify-devel libgnutls-devel libnettle-devel BuildRequires: libtasn1-devel libp11-kit-devel libgcrypt-devel # for battery status BuildRequires: libupower-devel %{?_enable_media_stream:BuildRequires: libopenwebrtc-devel} %description WebKit is an open source web browser engine. The GTK+ port of WebKit is intended to provide a browser component primarily for users of the portable GTK+ UI toolkit on platforms like Linux. %package -n libwebkit2gtk Summary: WebKit2 is a new API layer for WebKit Group: System/Libraries Provides: %name = %version-%release Requires: libjavascriptcoregtk4 = %version-%release %description -n libwebkit2gtk WebKit2 is a new API layer for WebKit designed from the ground up to support a split process model, where the web content (JavaScript, HTML, layout, etc) lives in a separate process from the application UI. This model is very similar to what Google Chrome offers, with the major difference being that we have built the process split model directly into the framework, allowing other clients of WebKit to use it. %package -n libwebkit2gtk-devel Summary: Development files for WebKit GTK+ port Group: Development/GNOME and GTK+ Provides: %name-devel = %version-%release Requires: libwebkit2gtk = %version-%release Requires: libjavascriptcoregtk4-devel = %version-%release %description -n libwebkit2gtk-devel The GTK+ port of WebKit is intended to provide a browser component primarily for users of the portable GTK+ UI toolkit on platforms like Linux. This package contains development headers. %package -n libwebkit2gtk-devel-doc Summary: Development documentation for WebKit2GTK Group: Development/Documentation BuildArch: noarch Conflicts: libwebkit2gtk < %version-%release %description -n libwebkit2gtk-devel-doc The GTK+ port of WebKit is intended to provide a browser component primarily for users of the portable GTK+ UI toolkit on platforms like Linux. This package provides development documentation for WebKit2GTK. %package -n libjavascriptcoregtk4 Summary: GTK+3 version of the JavaScriptCore engine Group: System/Libraries %description -n libjavascriptcoregtk4 This package provides GTK+3 version of the JavaScriptCore engine from WebKit package. %package -n libjavascriptcoregtk4-devel Summary: Development files for JavaScriptCore library Group: Development/GNOME and GTK+ Requires: libjavascriptcoregtk4 = %version-%release %description -n libjavascriptcoregtk4-devel This package provides development files for GTK+3 version of the JavaScriptCore engine. %package -n jsc4 Summary: JavaScriptCore shell for WebKit GTK+ Group: Development/GNOME and GTK+ Requires: libjavascriptcoregtk4 = %version-%release Conflicts: jsc %description -n jsc4 jsc is a shell for JavaScriptCore, WebKit's JavaScript engine. It allows you to interact with the JavaScript engine directly. %package -n libwebkit2gtk-gir Summary: GObject introspection data for the Webkit2GTK library Group: System/Libraries Requires: libwebkit2gtk = %version-%release Requires: libjavascriptcoregtk4 = %version-%release Requires: libjavascriptcoregtk4-gir = %version-%release %description -n libwebkit2gtk-gir GObject introspection data for the Webkit2GTK library %package -n libwebkit2gtk-gir-devel Summary: GObject introspection devel data for the Webkit2GTK library Group: Development/Other BuildArch: noarch Requires: libwebkit2gtk-gir = %version-%release Requires: libjavascriptcoregtk4-gir = %version-%release Requires: libjavascriptcoregtk4-devel = %version-%release Requires: libjavascriptcoregtk4-gir-devel = %version-%release %description -n libwebkit2gtk-gir-devel GObject introspection devel data for the Webkit2GTK library %package -n libjavascriptcoregtk4-gir Summary: GObject introspection data for the JavaScriptCore library Group: System/Libraries Requires: libjavascriptcoregtk4 = %version-%release %description -n libjavascriptcoregtk4-gir GObject introspection data for the JavaScriptCore library %package -n libjavascriptcoregtk4-gir-devel Summary: GObject introspection devel data for the JavaScriptCore library Group: Development/GNOME and GTK+ BuildArch: noarch Requires: libjavascriptcoregtk4-gir = %version-%release Requires: libjavascriptcoregtk4-devel = %version-%release %description -n libjavascriptcoregtk4-gir-devel GObject introspection devel data for the JavaScriptCore library %prep %setup -n %_name-%version %patch12 -p1 # Remove bundled libraries rm -rf Source/ThirdParty/leveldb/ rm -rf Source/ThirdParty/gtest/ rm -rf Source/ThirdParty/qunit/ %build # Decrease debuginfo verbosity and use linker flags to reduce memory consumption %{?_disable_gnu_ld:%define optflags_debug -g1} %{?_disable_gnu_ld:%add_optflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads} %ifarch %ix86 %add_optflags -D_FILE_OFFSET_BITS=64 %endif %cmake \ -DPORT=GTK \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_MINIBROWSER=ON \ -DENABLE_TOUCH_EVENTS:BOOL=ON \ -DENABLE_TOUCH_ICON_LOADING:BOOL=ON \ -DENABLE_TOUCH_SLIDER:BOOL=ON \ %{?_enable_gtkdoc:-DENABLE_GTKDOC:BOOL=ON} \ %{?_enable_x11:-DENABLE_X11_TARGET:BOOL=ON} \ %{?_enable_wayland:-DENABLE_WAYLAND_TARGET:BOOL=ON} \ %{?_disable_gnu_ld:-DUSE_LD_GOLD:BOOL=OFF} \ %{?_enable_media_stream:-DENABLE_MEDIA_STREAM:BOOL=ON} \ #-DENABLE_FTPDIR:BOOL=ON \ #-DENABLE_TELEPHONE_NUMBER_DETECTION:BOOL=ON \ #-DENABLE_BATTERY_STATUS:BOOL=ON \ #-DENABLE_DEVICE_ORIENTATION:BOOL=ON \ #-DENABLE_ORIENTATION_EVENTS:BOOL=ON %cmake_build VERBOSE=1 %install %cmakeinstall_std %find_lang WebKit2GTK-%api_ver %files -n libwebkit2gtk -f WebKit2GTK-%api_ver.lang %_libdir/libwebkit2gtk-%api_ver.so.* %dir %_libexecdir/webkit2gtk-%api_ver %_libexecdir/webkit2gtk-%api_ver/WebKitNetworkProcess %_libexecdir/webkit2gtk-%api_ver/WebKitPluginProcess %_libexecdir/webkit2gtk-%api_ver/WebKitPluginProcess2 %_libexecdir/webkit2gtk-%api_ver/WebKitWebProcess %_libexecdir/webkit2gtk-%api_ver/WebKitDatabaseProcess %dir %_libdir/webkit2gtk-%api_ver %dir %_libdir/webkit2gtk-%api_ver/injected-bundle %_libdir/webkit2gtk-%api_ver/injected-bundle/libwebkit2gtkinjectedbundle.so %doc NEWS %files -n libwebkit2gtk-devel %_bindir/MiniBrowser %_libdir/libwebkit2gtk-%api_ver.so %dir %_includedir/webkitgtk-%api_ver %_includedir/webkitgtk-%api_ver/webkit2 %_includedir/webkitgtk-%api_ver/webkitdom %_pkgconfigdir/webkit2gtk-%api_ver.pc %_pkgconfigdir/webkit2gtk-web-extension-%api_ver.pc %if_enabled gtkdoc %files -n libwebkit2gtk-devel-doc %_gtk_docdir/* %endif %files -n libjavascriptcoregtk4 %_libdir/libjavascriptcoregtk-%api_ver.so.* %files -n libjavascriptcoregtk4-devel %_includedir/webkitgtk-%api_ver/JavaScriptCore %_libdir/libjavascriptcoregtk-%api_ver.so %_pkgconfigdir/javascriptcoregtk-%api_ver.pc %files -n jsc4 %_bindir/jsc* %files -n libwebkit2gtk-gir %_typelibdir/WebKit2-%api_ver.typelib %_typelibdir/WebKit2WebExtension-%api_ver.typelib %files -n libwebkit2gtk-gir-devel %_girdir/WebKit2-%api_ver.gir %_girdir/WebKit2WebExtension-%api_ver.gir %files -n libjavascriptcoregtk4-gir %_typelibdir/JavaScriptCore-%api_ver.typelib %files -n libjavascriptcoregtk4-gir-devel %_girdir/JavaScriptCore-%api_ver.gir %changelog * Thu Jan 21 2016 Yuri N. Sedunov <aris@altlinux.org> 2.10.5-alt1 - 2.10.5 (CVE-2015-7096, CVE-2015-7098) * Wed Nov 11 2015 Yuri N. Sedunov <aris@altlinux.org> 2.10.4-alt1 - 2.10.4 * Tue Oct 27 2015 Yuri N. Sedunov <aris@altlinux.org> 2.10.3-alt1 - 2.10.3 * Thu Oct 15 2015 Yuri N. Sedunov <aris@altlinux.org> 2.10.2-alt1 - 2.10.2 * Wed Oct 14 2015 Yuri N. Sedunov <aris@altlinux.org> 2.10.1-alt1 - 2.10.1 * Mon Sep 21 2015 Yuri N. Sedunov <aris@altlinux.org> 2.10.0-alt1 - 2.10.0 * Fri Aug 07 2015 Yuri N. Sedunov <aris@altlinux.org> 2.8.5-alt1 - 2.8.5 * Wed Jul 08 2015 Yuri N. Sedunov <aris@altlinux.org> 2.8.4-alt1 - 2.8.4 * Sun Jun 07 2015 Yuri N. Sedunov <aris@altlinux.org> 2.8.3-alt3 - fixed BWO #145385 * Tue May 19 2015 Yuri N. Sedunov <aris@altlinux.org> 2.8.3-alt2 - fixed build with gcc-5 (fc patch) * Fri May 15 2015 Yuri N. Sedunov <aris@altlinux.org> 2.8.3-alt1 - 2.8.3 * Tue May 12 2015 Yuri N. Sedunov <aris@altlinux.org> 2.8.2-alt1 - 2.8.2 * Sun Apr 19 2015 Yuri N. Sedunov <aris@altlinux.org> 2.8.1-alt2 - packaged MiniBrowser in -devel subpackage * Mon Apr 13 2015 Yuri N. Sedunov <aris@altlinux.org> 2.8.1-alt1 - 2.8.1 * Tue Mar 24 2015 Yuri N. Sedunov <aris@altlinux.org> 2.8.0-alt1 - 2.8.0 * Thu Jan 15 2015 Yuri N. Sedunov <aris@altlinux.org> 2.6.5-alt1 - 2.6.5 * Wed Nov 26 2014 Yuri N. Sedunov <aris@altlinux.org> 2.6.4-alt2 - enabled touch (slider/icon loading) support * Fri Nov 21 2014 Yuri N. Sedunov <aris@altlinux.org> 2.6.4-alt1 - 2.6.4 * Wed Nov 12 2014 Yuri N. Sedunov <aris@altlinux.org> 2.6.3-alt1 - 2.6.3 * Wed Oct 22 2014 Yuri N. Sedunov <aris@altlinux.org> 2.6.2-alt1 - 2.6.2 * Mon Oct 13 2014 Yuri N. Sedunov <aris@altlinux.org> 2.6.1-alt1 - 2.6.1 * Tue Oct 07 2014 Yuri N. Sedunov <aris@altlinux.org> 2.6.0-alt2 - libwebkitgtk4* subpackages renamed to libwebkit2gtk* * Thu Sep 25 2014 Yuri N. Sedunov <aris@altlinux.org> 2.6.0-alt1 - 2.6.0 * Fri Sep 19 2014 Yuri N. Sedunov <aris@altlinux.org> 2.5.90-alt1 - 2.5.90 * Sat Aug 23 2014 Yuri N. Sedunov <aris@altlinux.org> 2.5.3-alt1 - first build for Sisyphus |