]>
Commit | Line | Data |
---|---|---|
8dd13544 | 1 | # TODO: review configure options: |
106993d1 JB |
2 | # - ENABLE_WEBXR (experimental; BR: OpenXR >= 1.0.9, openxr.pc)? |
3 | # - ENABLE_ENCRYPTED_MEDIA, ENABLE_THUNDER (experimental; https://github.com/rdkcentral/Thunder)? | |
8dd13544 | 4 | # - FTL_JIT on !x86_64? |
106993d1 | 5 | # - WEB_RTC (experimental; BR: gstreamer-plugins-bad-devel (webrtc component) >= 1.20, openssl-devel) |
8dd13544 | 6 | # - WEB_RTC+MEDIA_STREAM (BR: openwebrtc) |
5527eb16 | 7 | # - SPEECH_SYNTHESIS? (experimental; BR: flite-devel >= 2.2) |
635cda56 | 8 | # - ENABLE_WPE_PLATFORM? (BR: libinput-devel >= 1.19.0 wayland-devel >= 1.20 wayland-protocols >= 1.24 xorg-lib-libxkbcommon-devel >= 0.4.0) |
8dd13544 | 9 | # |
19d9948d JB |
10 | # Conditional build: |
11 | %bcond_without libsoup2 # libWPEWebKit-1.0 (libsoup2 based) variant | |
5527eb16 JB |
12 | %bcond_without libsoup3 # libWPEWebKit-1.1/2.0 (libsoup3 based) variants (HTTP/2 support) |
13 | %bcond_without api_1_1 # libWPEWebKit-1.1 (libsoup3 based) variant | |
14 | %bcond_without api_2_0 # libWPEWebKit-2.0 (libsoup3 based) variant | |
96cad270 | 15 | %bcond_with lowmem # try to reduce build memory usage by adjusting gcc gc |
19d9948d | 16 | # |
5527eb16 JB |
17 | %if %{without libsoup3} |
18 | %undefine with_api_1_1 | |
19 | %undefine with_api_2_0 | |
20 | %endif | |
8dd13544 JB |
21 | # it's not possible to build this with debuginfo on 32bit archs due to |
22 | # memory constraints during linking | |
23 | %ifarch %{ix86} x32 | |
24 | %define _enable_debug_packages 0 | |
25 | %endif | |
26 | Summary: Port of WebKit embeddable web component to WPE | |
27 | Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do WPE | |
28 | Name: wpe-webkit | |
635cda56 JB |
29 | # NOTE: 2.44.x is stable, 2.45.x devel |
30 | Version: 2.44.0 | |
5527eb16 | 31 | Release: 1 |
8dd13544 JB |
32 | License: BSD-like |
33 | Group: X11/Libraries | |
34 | Source0: https://wpewebkit.org/releases/wpewebkit-%{version}.tar.xz | |
635cda56 | 35 | # Source0-md5: fd82ff4f25456630fecef0e8cd0f0a22 |
8dd13544 | 36 | Patch0: %{name}-x32.patch |
19d9948d | 37 | Patch2: %{name}-driver-version-suffix.patch |
a720d7cd | 38 | Patch3: parallel-gir.patch |
8dd13544 JB |
39 | URL: https://wpewebkit.org/ |
40 | BuildRequires: /usr/bin/ld.gold | |
41 | BuildRequires: EGL-devel | |
635cda56 | 42 | BuildRequires: Mesa-libgbm-devel |
8dd13544 JB |
43 | BuildRequires: OpenGLESv2-devel |
44 | BuildRequires: at-spi2-atk-devel >= 2.5.3 | |
45 | BuildRequires: atk-devel >= 1:2.16.0 | |
46 | BuildRequires: bubblewrap >= 0.3.1 | |
47 | BuildRequires: cairo-devel >= 1.16.0 | |
106993d1 | 48 | BuildRequires: cmake >= 3.20 |
8dd13544 JB |
49 | BuildRequires: docbook-dtd412-xml |
50 | BuildRequires: fontconfig-devel >= 2.13.0 | |
51 | BuildRequires: freetype-devel >= 1:2.9.0 | |
106993d1 | 52 | BuildRequires: gi-docgen |
5527eb16 | 53 | BuildRequires: glib2-devel >= 1:2.70.0 |
8dd13544 | 54 | BuildRequires: glibc-misc |
b1f7f127 | 55 | BuildRequires: gobject-introspection-devel |
8dd13544 | 56 | BuildRequires: gperf >= 3.0.1 |
f470cff3 JB |
57 | BuildRequires: gstreamer-devel >= 1.14.0 |
58 | BuildRequires: gstreamer-gl-devel >= 1.14.0 | |
106993d1 JB |
59 | # codecparsers,mpegts |
60 | BuildRequires: gstreamer-plugins-bad-devel >= 1.14.0 | |
8dd13544 | 61 | # app,audio,fft,pbutils,tag,video |
f470cff3 | 62 | BuildRequires: gstreamer-plugins-base-devel >= 1.14.0 |
5527eb16 | 63 | BuildRequires: gstreamer-transcoder-devel >= 1.20 |
8dd13544 JB |
64 | BuildRequires: harfbuzz-devel >= 1.4.2 |
65 | BuildRequires: harfbuzz-icu-devel >= 1.4.2 | |
f470cff3 | 66 | BuildRequires: lcms2-devel >= 2 |
5527eb16 | 67 | BuildRequires: libavif-devel >= 0.9.0 |
635cda56 JB |
68 | BuildRequires: libdrm-devel |
69 | BuildRequires: libepoxy-devel >= 1.5.4 | |
8dd13544 | 70 | BuildRequires: libgcrypt-devel >= 1.7.0 |
f470cff3 | 71 | BuildRequires: libicu-devel >= 61.2 |
8dd13544 | 72 | BuildRequires: libjpeg-devel |
c98be25f | 73 | BuildRequires: libjxl-devel >= 0.7.0 |
8dd13544 JB |
74 | BuildRequires: libpng-devel |
75 | BuildRequires: libseccomp-devel | |
19d9948d JB |
76 | %{?with_libsoup2:BuildRequires: libsoup-devel >= 2.54} |
77 | %{?with_libsoup3:BuildRequires: libsoup3-devel >= 3.0} | |
c98be25f | 78 | BuildRequires: libstdc++-devel >= 6:10.2 |
8dd13544 JB |
79 | BuildRequires: libtasn1-devel |
80 | BuildRequires: libwebp-devel | |
106993d1 | 81 | BuildRequires: libwpe-devel >= 1.14.0 |
8dd13544 JB |
82 | BuildRequires: libxml2-devel >= 1:2.8.0 |
83 | BuildRequires: libxslt-devel >= 1.1.7 | |
84 | BuildRequires: openjpeg2-devel >= 2.2.0 | |
85 | BuildRequires: perl-base >= 1:5.10.0 | |
86 | BuildRequires: pkgconfig | |
8dd13544 | 87 | BuildRequires: python >= 1:2.7.0 |
a525c447 | 88 | BuildRequires: rpm-build >= 4.6 |
8dd13544 | 89 | BuildRequires: rpmbuild(macros) >= 1.699 |
5527eb16 JB |
90 | BuildRequires: ruby >= 1:2.5 |
91 | BuildRequires: ruby-modules >= 1:2.5 | |
8dd13544 | 92 | BuildRequires: sqlite3-devel >= 3 |
71af4dc4 | 93 | BuildRequires: systemd-devel |
8dd13544 | 94 | BuildRequires: tar >= 1:1.22 |
635cda56 | 95 | BuildRequires: udev-devel |
5527eb16 | 96 | BuildRequires: unifdef |
106993d1 | 97 | BuildRequires: wpebackend-fdo-devel >= 1.9.0 |
8dd13544 JB |
98 | BuildRequires: woff2-devel >= 1.0.2 |
99 | BuildRequires: xdg-dbus-proxy | |
8dd13544 JB |
100 | BuildRequires: xz |
101 | BuildRequires: zlib-devel | |
102 | Requires: at-spi2-atk-libs >= 2.5.3 | |
103 | Requires: atk >= 1:2.16.0 | |
104 | Requires: cairo >= 1.16.0 | |
105 | Requires: fontconfig-libs >= 2.13.0 | |
106 | Requires: freetype >= 1:2.9.0 | |
5527eb16 | 107 | Requires: glib2 >= 1:2.70.0 |
8dd13544 JB |
108 | Requires: gstreamer >= 1.2.3 |
109 | Requires: gstreamer-plugins-base >= 1.2.3 | |
110 | Requires: harfbuzz >= 1.4.2 | |
635cda56 | 111 | Requires: libepoxy >= 1.5.4 |
8dd13544 | 112 | Requires: libgcrypt >= 1.7.0 |
c98be25f | 113 | Requires: libjxl >= 0.7.0 |
8dd13544 | 114 | Requires: libsoup >= 2.54.0 |
106993d1 | 115 | Requires: libwpe >= 1.14.0 |
8dd13544 JB |
116 | Requires: libxml2 >= 1:2.8.0 |
117 | Requires: libxslt >= 1.1.7 | |
118 | Requires: openjpeg2 >= 2.2.0 | |
119 | Requires: woff2 >= 1.0.2 | |
106993d1 | 120 | Requires: wpebackend-fdo >= 1.9.0 |
8dd13544 JB |
121 | # Source/JavaScriptCore/CMakeLists.txt /WTF_CPU_ |
122 | ExclusiveArch: %{ix86} %{x8664} x32 %{arm} aarch64 hppa mips ppc ppc64 ppc64le s390 s390x sh4 | |
123 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
124 | ||
d08b385a JR |
125 | %define _enable_debug_packages 0 |
126 | ||
8dd13544 JB |
127 | %description |
128 | wpe-webkit is a port of the WebKit embeddable web component to WPE. | |
129 | ||
130 | WPE (Webkit Port for Embedded) is the reference WebKit port for | |
131 | embedded and low-consumption computer devices. | |
132 | ||
133 | %description -l pl.UTF-8 | |
134 | wpe-webkit to port osadzalnego komponentu WWW WebKit do WPE. | |
135 | ||
136 | WPE (Webkit Port for Embedded) to wzorcowy port biblioteki WebKit dla | |
137 | urządzeń komputerowych wbudowanych oraz o niskim poborze energii. | |
138 | ||
139 | %package devel | |
140 | Summary: Development files for WebKit for WPE | |
141 | Summary(pl.UTF-8): Pliki programistyczne komponentu WebKit dla WPE | |
142 | Group: X11/Development/Libraries | |
143 | Requires: %{name} = %{version}-%{release} | |
5527eb16 | 144 | Requires: glib2-devel >= 1:2.70.0 |
8dd13544 | 145 | Requires: libsoup-devel >= 2.54.0 |
c98be25f | 146 | Requires: libstdc++-devel >= 6:10.2 |
106993d1 | 147 | Requires: libwpe-devel >= 1.14.0 |
8dd13544 JB |
148 | |
149 | %description devel | |
150 | Development files for WebKit for WPE. | |
151 | ||
152 | %description devel -l pl.UTF-8 | |
153 | Pliki programistyczne komponentu WebKit dla WPE. | |
154 | ||
155 | %package apidocs | |
19d9948d JB |
156 | Summary: API documentation for WebKit WPE port |
157 | Summary(pl.UTF-8): Dokumentacja API portu WebKitu do WPE | |
8dd13544 | 158 | Group: Documentation |
8dd13544 | 159 | BuildArch: noarch |
8dd13544 JB |
160 | |
161 | %description apidocs | |
19d9948d | 162 | API documentation for WebKit WPE port. |
8dd13544 JB |
163 | |
164 | %description apidocs -l pl.UTF-8 | |
19d9948d JB |
165 | Dokumentacja API portu WebKitu do WPE. |
166 | ||
167 | %package -n wpe-webkit1.1 | |
168 | Summary: Port of WebKit embeddable web component to WPE with HTTP/2 support | |
169 | Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do WPE z obsługą HTTP/2 | |
170 | Group: X11/Libraries | |
171 | Requires: at-spi2-atk-libs >= 2.5.3 | |
172 | Requires: atk >= 1:2.16.0 | |
173 | Requires: cairo >= 1.16.0 | |
174 | Requires: fontconfig-libs >= 2.13.0 | |
175 | Requires: freetype >= 1:2.9.0 | |
176 | Requires: glib2 >= 1:2.67.1 | |
177 | Requires: gstreamer >= 1.2.3 | |
178 | Requires: gstreamer-plugins-base >= 1.2.3 | |
179 | Requires: harfbuzz >= 1.4.2 | |
635cda56 | 180 | Requires: libepoxy >= 1.5.4 |
19d9948d | 181 | Requires: libgcrypt >= 1.7.0 |
c98be25f | 182 | Requires: libjxl >= 0.7.0 |
19d9948d JB |
183 | Requires: libsoup3 >= 3.0.0 |
184 | Requires: libwpe >= 1.14.0 | |
185 | Requires: libxml2 >= 1:2.8.0 | |
186 | Requires: libxslt >= 1.1.7 | |
187 | Requires: openjpeg2 >= 2.2.0 | |
188 | Requires: woff2 >= 1.0.2 | |
189 | Requires: wpebackend-fdo >= 1.9.0 | |
190 | ||
191 | %description -n wpe-webkit1.1 | |
192 | wpe-webkit1.1 is a port of the WebKit embeddable web component to WPE | |
193 | with HTTP/2 (libsoup 3) support. | |
194 | ||
195 | WPE (Webkit Port for Embedded) is the reference WebKit port for | |
196 | embedded and low-consumption computer devices. | |
197 | ||
198 | %description -n wpe-webkit1.1 -l pl.UTF-8 | |
199 | wpe-webkit1.1 to port osadzalnego komponentu WWW WebKit do WPE z | |
200 | obsługą HTTP/2 (libsoup 3). | |
201 | ||
202 | WPE (Webkit Port for Embedded) to wzorcowy port biblioteki WebKit dla | |
203 | urządzeń komputerowych wbudowanych oraz o niskim poborze energii. | |
204 | ||
205 | %package -n wpe-webkit1.1-devel | |
206 | Summary: Development files for WebKit for WPE with HTTP/2 support | |
207 | Summary(pl.UTF-8): Pliki programistyczne komponentu WebKit dla WPE z obsługą HTTP/2 | |
208 | Group: X11/Development/Libraries | |
19d9948d JB |
209 | Requires: glib2-devel >= 1:2.67.1 |
210 | Requires: libsoup3-devel >= 3.0.0 | |
c98be25f | 211 | Requires: libstdc++-devel >= 6:10.2 |
19d9948d | 212 | Requires: libwpe-devel >= 1.14.0 |
5527eb16 | 213 | Requires: wpe-webkit1.1 = %{version}-%{release} |
19d9948d JB |
214 | |
215 | %description -n wpe-webkit1.1-devel | |
216 | Development files for WebKit for WPE with HTTP/2 support. | |
217 | ||
218 | %description -n wpe-webkit1.1-devel -l pl.UTF-8 | |
219 | Pliki programistyczne komponentu WebKit dla WPE z obsługą HTTP/2. | |
220 | ||
221 | %package -n wpe-webkit1.1-apidocs | |
222 | Summary: API documentation for WebKit WPE port with HTTP/2 support | |
223 | Summary(pl.UTF-8): Dokumentacja API portu WebKitu do WPE z obsługą HTTP/2 | |
224 | Group: Documentation | |
19d9948d JB |
225 | BuildArch: noarch |
226 | ||
227 | %description -n wpe-webkit1.1-apidocs | |
228 | API documentation for WebKit WPE port with HTTP/2 support. | |
229 | ||
230 | %description -n wpe-webkit1.1-apidocs -l pl.UTF-8 | |
231 | Dokumentacja API portu WebKitu do WPE z obsługą HTTP/2. | |
8dd13544 | 232 | |
5527eb16 JB |
233 | %package -n wpe-webkit2 |
234 | Summary: Port of WebKit embeddable web component to WPE with HTTP/2 support | |
235 | Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do WPE z obsługą HTTP/2 | |
236 | Group: X11/Libraries | |
237 | Requires: at-spi2-atk-libs >= 2.5.3 | |
238 | Requires: atk >= 1:2.16.0 | |
239 | Requires: cairo >= 1.16.0 | |
240 | Requires: fontconfig-libs >= 2.13.0 | |
241 | Requires: freetype >= 1:2.9.0 | |
242 | Requires: glib2 >= 1:2.70.0 | |
243 | Requires: gstreamer >= 1.2.3 | |
244 | Requires: gstreamer-plugins-base >= 1.2.3 | |
245 | Requires: harfbuzz >= 1.4.2 | |
635cda56 | 246 | Requires: libepoxy >= 1.5.4 |
5527eb16 | 247 | Requires: libgcrypt >= 1.7.0 |
c98be25f | 248 | Requires: libjxl >= 0.7.0 |
5527eb16 JB |
249 | Requires: libsoup3 >= 3.0.0 |
250 | Requires: libwpe >= 1.14.0 | |
251 | Requires: libxml2 >= 1:2.8.0 | |
252 | Requires: libxslt >= 1.1.7 | |
253 | Requires: openjpeg2 >= 2.2.0 | |
254 | Requires: woff2 >= 1.0.2 | |
255 | Requires: wpebackend-fdo >= 1.9.0 | |
256 | ||
257 | %description -n wpe-webkit2 | |
258 | wpe-webkit2 is a port of the WebKit embeddable web component to WPE | |
259 | with HTTP/2 (libsoup 3) support. | |
260 | ||
261 | WPE (Webkit Port for Embedded) is the reference WebKit port for | |
262 | embedded and low-consumption computer devices. | |
263 | ||
264 | %description -n wpe-webkit2 -l pl.UTF-8 | |
265 | wpe-webkit2 to port osadzalnego komponentu WWW WebKit do WPE z | |
266 | obsługą HTTP/2 (libsoup 3). | |
267 | ||
268 | WPE (Webkit Port for Embedded) to wzorcowy port biblioteki WebKit dla | |
269 | urządzeń komputerowych wbudowanych oraz o niskim poborze energii. | |
270 | ||
271 | %package -n wpe-webkit2-devel | |
272 | Summary: Development files for WebKit for WPE with HTTP/2 support | |
273 | Summary(pl.UTF-8): Pliki programistyczne komponentu WebKit dla WPE z obsługą HTTP/2 | |
274 | Group: X11/Development/Libraries | |
275 | Requires: glib2-devel >= 1:2.70.0 | |
276 | Requires: libsoup3-devel >= 3.0.0 | |
c98be25f | 277 | Requires: libstdc++-devel >= 6:10.2 |
5527eb16 JB |
278 | Requires: libwpe-devel >= 1.14.0 |
279 | Requires: wpe-webkit2 = %{version}-%{release} | |
280 | ||
281 | %description -n wpe-webkit2-devel | |
282 | Development files for WebKit for WPE with HTTP/2 support. | |
283 | ||
284 | %description -n wpe-webkit2-devel -l pl.UTF-8 | |
285 | Pliki programistyczne komponentu WebKit dla WPE z obsługą HTTP/2. | |
286 | ||
287 | %package -n wpe-webkit2-apidocs | |
288 | Summary: API documentation for WebKit WPE port with HTTP/2 support | |
289 | Summary(pl.UTF-8): Dokumentacja API portu WebKitu do WPE z obsługą HTTP/2 | |
290 | Group: Documentation | |
5527eb16 JB |
291 | BuildArch: noarch |
292 | ||
293 | %description -n wpe-webkit2-apidocs | |
294 | API documentation for WebKit WPE port with HTTP/2 support. | |
295 | ||
296 | %description -n wpe-webkit2-apidocs -l pl.UTF-8 | |
297 | Dokumentacja API portu WebKitu do WPE z obsługą HTTP/2. | |
298 | ||
8dd13544 JB |
299 | %prep |
300 | %setup -q -n wpewebkit-%{version} | |
301 | %patch0 -p1 | |
19d9948d | 302 | %patch2 -p1 |
a720d7cd | 303 | %patch3 -p1 |
8dd13544 JB |
304 | |
305 | %build | |
96cad270 | 306 | %if %{with lowmem} |
635cda56 | 307 | CXXFLAGS="%{rpmcxxflags} -DNDEBUG --param ggc-min-expand=20 --param ggc-min-heapsize=65536" |
96cad270 | 308 | %endif |
5527eb16 | 309 | for kind in %{?with_libsoup2:soup2} %{?with_api_1_1:soup3-1.1} %{?with_api_2_0:soup3-2.0} ; do |
19d9948d | 310 | %cmake -B build-${kind} \ |
8dd13544 JB |
311 | -DENABLE_GEOLOCATION=ON \ |
312 | -DENABLE_GTKDOC=ON \ | |
313 | %ifarch x32 | |
314 | -DENABLE_C_LOOP=ON \ | |
315 | -DENABLE_JIT=OFF \ | |
316 | -DENABLE_SAMPLING_PROFILER=OFF \ | |
317 | %endif | |
318 | -DENABLE_VIDEO=ON \ | |
319 | -DENABLE_WEB_AUDIO=ON \ | |
320 | -DENABLE_WEBGL=ON \ | |
5527eb16 | 321 | $([ "$kind" = "soup3-1.1" ] && echo -DENABLE_WPE_1_1_API=ON) \ |
8dd13544 JB |
322 | %ifarch %{ix86} %{x8664} x32 |
323 | -DHAVE_SSE2_EXTENSIONS=ON \ | |
324 | %endif | |
325 | -DPORT=WPE \ | |
f470cff3 | 326 | -DSHOULD_INSTALL_JS_SHELL=ON \ |
635cda56 | 327 | -DUSE_LIBBACKTRACE=OFF \ |
19d9948d | 328 | $([ "$kind" = "soup2" ] && echo -DUSE_SOUP2=ON) |
8dd13544 | 329 | |
19d9948d JB |
330 | %{__make} -C build-${kind} |
331 | done | |
8dd13544 JB |
332 | |
333 | %install | |
334 | rm -rf $RPM_BUILD_ROOT | |
335 | ||
5527eb16 | 336 | for kind in %{?with_libsoup2:soup2} %{?with_api_1_1:soup3-1.1} %{?with_api_2_0:soup3-2.0} ; do |
19d9948d | 337 | %{__make} -C build-${kind} install \ |
8dd13544 | 338 | DESTDIR=$RPM_BUILD_ROOT |
19d9948d | 339 | done |
8dd13544 | 340 | |
635cda56 JB |
341 | install -d $RPM_BUILD_ROOT%{_gidocdir} |
342 | %{__mv} $RPM_BUILD_ROOT%{_docdir}/wpe-* $RPM_BUILD_ROOT%{_gidocdir} | |
8dd13544 JB |
343 | |
344 | %clean | |
345 | rm -rf $RPM_BUILD_ROOT | |
346 | ||
347 | %post -p /sbin/ldconfig | |
348 | %postun -p /sbin/ldconfig | |
349 | ||
19d9948d JB |
350 | %post -n wpe-webkit1.1 -p /sbin/ldconfig |
351 | %postun -n wpe-webkit1.1 -p /sbin/ldconfig | |
352 | ||
5527eb16 JB |
353 | %post -n wpe-webkit2 -p /sbin/ldconfig |
354 | %postun -n wpe-webkit2 -p /sbin/ldconfig | |
355 | ||
19d9948d | 356 | %if %{with libsoup2} |
8dd13544 JB |
357 | %files |
358 | %defattr(644,root,root,755) | |
359 | %doc NEWS | |
19d9948d | 360 | %attr(755,root,root) %{_bindir}/WPEWebDriver-1.0 |
8dd13544 | 361 | %attr(755,root,root) %{_libdir}/libWPEWebKit-1.0.so.*.*.* |
b272e763 | 362 | %attr(755,root,root) %ghost %{_libdir}/libWPEWebKit-1.0.so.3 |
106993d1 JB |
363 | %{_libdir}/girepository-1.0/WPEJavaScriptCore-1.0.typelib |
364 | %{_libdir}/girepository-1.0/WPEWebExtension-1.0.typelib | |
365 | %{_libdir}/girepository-1.0/WPEWebKit-1.0.typelib | |
8dd13544 JB |
366 | %if "%{_libexecdir}" != "%{_libdir}" |
367 | %dir %{_libexecdir}/wpe-webkit-1.0 | |
368 | %endif | |
369 | %attr(755,root,root) %{_libexecdir}/wpe-webkit-1.0/WPENetworkProcess | |
370 | %attr(755,root,root) %{_libexecdir}/wpe-webkit-1.0/WPEWebProcess | |
371 | %attr(755,root,root) %{_libexecdir}/wpe-webkit-1.0/jsc | |
372 | %dir %{_libdir}/wpe-webkit-1.0 | |
373 | %attr(755,root,root) %{_libdir}/wpe-webkit-1.0/libWPEWebInspectorResources.so | |
374 | %dir %{_libdir}/wpe-webkit-1.0/injected-bundle | |
375 | %attr(755,root,root) %{_libdir}/wpe-webkit-1.0/injected-bundle/libWPEInjectedBundle.so | |
376 | ||
377 | %files devel | |
378 | %defattr(644,root,root,755) | |
379 | %attr(755,root,root) %{_libdir}/libWPEWebKit-1.0.so | |
380 | %{_includedir}/wpe-webkit-1.0 | |
106993d1 JB |
381 | %{_datadir}/gir-1.0/WPEJavaScriptCore-1.0.gir |
382 | %{_datadir}/gir-1.0/WPEWebExtension-1.0.gir | |
383 | %{_datadir}/gir-1.0/WPEWebKit-1.0.gir | |
8dd13544 JB |
384 | %{_pkgconfigdir}/wpe-web-extension-1.0.pc |
385 | %{_pkgconfigdir}/wpe-webkit-1.0.pc | |
386 | ||
387 | %files apidocs | |
388 | %defattr(644,root,root,755) | |
635cda56 JB |
389 | %{_gidocdir}/wpe-javascriptcore-1.0 |
390 | %{_gidocdir}/wpe-web-extension-1.0 | |
391 | %{_gidocdir}/wpe-webkit-1.0 | |
19d9948d JB |
392 | %endif |
393 | ||
5527eb16 | 394 | %if %{with api_1_1} |
19d9948d JB |
395 | %files -n wpe-webkit1.1 |
396 | %defattr(644,root,root,755) | |
397 | %doc NEWS | |
398 | %attr(755,root,root) %{_bindir}/WPEWebDriver-1.1 | |
399 | %attr(755,root,root) %{_libdir}/libWPEWebKit-1.1.so.*.*.* | |
400 | %attr(755,root,root) %ghost %{_libdir}/libWPEWebKit-1.1.so.0 | |
401 | %{_libdir}/girepository-1.0/WPEJavaScriptCore-1.1.typelib | |
402 | %{_libdir}/girepository-1.0/WPEWebExtension-1.1.typelib | |
403 | %{_libdir}/girepository-1.0/WPEWebKit-1.1.typelib | |
404 | %if "%{_libexecdir}" != "%{_libdir}" | |
405 | %dir %{_libexecdir}/wpe-webkit-1.1 | |
406 | %endif | |
407 | %attr(755,root,root) %{_libexecdir}/wpe-webkit-1.1/WPENetworkProcess | |
408 | %attr(755,root,root) %{_libexecdir}/wpe-webkit-1.1/WPEWebProcess | |
409 | %attr(755,root,root) %{_libexecdir}/wpe-webkit-1.1/jsc | |
410 | %dir %{_libdir}/wpe-webkit-1.1 | |
411 | %attr(755,root,root) %{_libdir}/wpe-webkit-1.1/libWPEWebInspectorResources.so | |
412 | %dir %{_libdir}/wpe-webkit-1.1/injected-bundle | |
413 | %attr(755,root,root) %{_libdir}/wpe-webkit-1.1/injected-bundle/libWPEInjectedBundle.so | |
414 | ||
415 | %files -n wpe-webkit1.1-devel | |
416 | %defattr(644,root,root,755) | |
417 | %attr(755,root,root) %{_libdir}/libWPEWebKit-1.1.so | |
418 | %{_includedir}/wpe-webkit-1.1 | |
419 | %{_datadir}/gir-1.0/WPEJavaScriptCore-1.1.gir | |
420 | %{_datadir}/gir-1.0/WPEWebExtension-1.1.gir | |
421 | %{_datadir}/gir-1.0/WPEWebKit-1.1.gir | |
422 | %{_pkgconfigdir}/wpe-web-extension-1.1.pc | |
423 | %{_pkgconfigdir}/wpe-webkit-1.1.pc | |
424 | ||
425 | %files -n wpe-webkit1.1-apidocs | |
426 | %defattr(644,root,root,755) | |
635cda56 JB |
427 | %{_gidocdir}/wpe-javascriptcore-1.1 |
428 | %{_gidocdir}/wpe-web-extension-1.1 | |
429 | %{_gidocdir}/wpe-webkit-1.1 | |
19d9948d | 430 | %endif |
5527eb16 JB |
431 | |
432 | %if %{with api_2_0} | |
433 | %files -n wpe-webkit2 | |
434 | %defattr(644,root,root,755) | |
435 | %doc NEWS | |
436 | %attr(755,root,root) %{_bindir}/WPEWebDriver-2.0 | |
437 | %attr(755,root,root) %{_libdir}/libWPEWebKit-2.0.so.*.*.* | |
438 | %attr(755,root,root) %ghost %{_libdir}/libWPEWebKit-2.0.so.1 | |
439 | %{_libdir}/girepository-1.0/WPEJavaScriptCore-2.0.typelib | |
440 | %{_libdir}/girepository-1.0/WPEWebKit-2.0.typelib | |
441 | %{_libdir}/girepository-1.0/WPEWebProcessExtension-2.0.typelib | |
442 | %if "%{_libexecdir}" != "%{_libdir}" | |
443 | %dir %{_libexecdir}/wpe-webkit-2.0 | |
444 | %endif | |
445 | %attr(755,root,root) %{_libexecdir}/wpe-webkit-2.0/WPENetworkProcess | |
446 | %attr(755,root,root) %{_libexecdir}/wpe-webkit-2.0/WPEWebProcess | |
447 | %attr(755,root,root) %{_libexecdir}/wpe-webkit-2.0/jsc | |
448 | %dir %{_libdir}/wpe-webkit-2.0 | |
449 | %attr(755,root,root) %{_libdir}/wpe-webkit-2.0/libWPEWebInspectorResources.so | |
450 | %dir %{_libdir}/wpe-webkit-2.0/injected-bundle | |
451 | %attr(755,root,root) %{_libdir}/wpe-webkit-2.0/injected-bundle/libWPEInjectedBundle.so | |
452 | ||
453 | %files -n wpe-webkit2-devel | |
454 | %defattr(644,root,root,755) | |
455 | %attr(755,root,root) %{_libdir}/libWPEWebKit-2.0.so | |
456 | %{_includedir}/wpe-webkit-2.0 | |
457 | %{_datadir}/gir-1.0/WPEJavaScriptCore-2.0.gir | |
458 | %{_datadir}/gir-1.0/WPEWebKit-2.0.gir | |
459 | %{_datadir}/gir-1.0/WPEWebProcessExtension-2.0.gir | |
460 | %{_pkgconfigdir}/wpe-web-process-extension-2.0.pc | |
461 | %{_pkgconfigdir}/wpe-webkit-2.0.pc | |
462 | ||
463 | %files -n wpe-webkit2-apidocs | |
464 | %defattr(644,root,root,755) | |
635cda56 JB |
465 | %{_gidocdir}/wpe-javascriptcore-2.0 |
466 | %{_gidocdir}/wpe-web-process-extension-2.0 | |
467 | %{_gidocdir}/wpe-webkit-2.0 | |
5527eb16 | 468 | %endif |