]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without doc # documentation | |
4 | %bcond_without system_libvpx # Build with system libvpx | |
5 | ||
6 | %define orgname qtwebengine | |
7 | %define qtbase_ver 5.15 | |
8 | %define qtdeclarative_ver 5.15 | |
9 | %define qtlocation_ver 5.15 | |
10 | %define qtsvg_ver 5.15 | |
11 | %define qttools_ver 5.15 | |
12 | %define qtwebchannel_ver 5.15 | |
13 | Summary: The Qt5 WebEngine library | |
14 | Summary(pl.UTF-8): Biblioteka Qt5 WebEngine | |
15 | Name: qt5-%{orgname} | |
16 | Version: 5.15.5 | |
17 | Release: 1 | |
18 | License: LGPL v3 or GPL v2 or GPL v3 or commercial | |
19 | Group: X11/Libraries | |
20 | Source0: qtwebengine-%{version}.tar.xz | |
21 | # Source0-md5: ef8a67c66f2e59d349c3590a3ef41615 | |
22 | Patch0: x32.patch | |
23 | Patch1: %{name}-gn-dynamic.patch | |
24 | Patch2: icu.patch | |
25 | Patch3: glibc-2.33.patch | |
26 | URL: https://www.qt.io/ | |
27 | BuildRequires: Mesa-khrplatform-devel | |
28 | BuildRequires: Qt5Core-devel >= %{qtbase_ver} | |
29 | BuildRequires: Qt5Designer-devel >= %{qttools_ver} | |
30 | BuildRequires: Qt5Gui-devel >= %{qtbase_ver} | |
31 | BuildRequires: Qt5Network-devel >= %{qtbase_ver} | |
32 | BuildRequires: Qt5Positioning-devel >= %{qtlocation_ver} | |
33 | BuildRequires: Qt5PrintSupport-devel >= %{qtbase_ver} | |
34 | BuildRequires: Qt5Qml-devel >= %{qtdeclarative_ver} | |
35 | BuildRequires: Qt5Quick-devel >= %{qtdeclarative_ver} | |
36 | BuildRequires: Qt5Svg-devel >= %{qtsvg_ver} | |
37 | BuildRequires: Qt5UiTools-devel >= %{qttools_ver} | |
38 | BuildRequires: Qt5WebChannel-devel >= %{qtwebchannel_ver} | |
39 | BuildRequires: Qt5Widgets-devel >= %{qtbase_ver} | |
40 | BuildRequires: alsa-lib-devel >= 1.0.10 | |
41 | BuildRequires: bison | |
42 | BuildRequires: dbus-devel | |
43 | BuildRequires: expat-devel | |
44 | # libavcodec libavformat libavutil | |
45 | BuildRequires: ffmpeg-devel | |
46 | BuildRequires: flex | |
47 | BuildRequires: fontconfig-devel | |
48 | BuildRequires: freetype-devel >= 1:2.4.2 | |
49 | BuildRequires: glib2-devel >= 1:2.32.0 | |
50 | BuildRequires: glibc-misc >= 6:2.17 | |
51 | BuildRequires: glibc-devel >= 6:2.17 | |
52 | BuildRequires: gperf | |
53 | BuildRequires: harfbuzz-devel >= 2.2.0 | |
54 | # webengine-system-jsoncpp disabled in src/core/config/linux.pri | |
55 | #BuildRequires: jsoncpp-devel | |
56 | BuildRequires: lcms2-devel | |
57 | BuildRequires: libdrm-devel | |
58 | BuildRequires: libevent-devel | |
59 | BuildRequires: libicu-devel >= 64 | |
60 | BuildRequires: libjpeg-devel | |
61 | BuildRequires: libpng-devel >= 2:1.6.0 | |
62 | BuildRequires: libstdc++-devel >= 6:5 | |
63 | %{?with_system_libvpx:BuildRequires: libvpx-devel >= 1.8.0} | |
64 | BuildRequires: libwebp-devel | |
65 | BuildRequires: libxcb-devel | |
66 | # need icu enabled to be accepted | |
67 | #BuildRequires: libxml2-devel >= 2 | |
68 | #BuildRequires: libxslt-devel | |
69 | BuildRequires: minizip-devel | |
70 | BuildRequires: ninja | |
71 | BuildRequires: nodejs | |
72 | BuildRequires: nspr-devel | |
73 | BuildRequires: nss-devel >= 3.26 | |
74 | BuildRequires: opus-devel >= 1.3.1 | |
75 | BuildRequires: pkgconfig | |
76 | # checked by qt part, but no longer used by current chromium | |
77 | #BuildRequires: poppler-cpp-devel | |
78 | # webengine-system-protobuf disabled in src/core/config/linux.pri | |
79 | #BuildRequires: protobuf-devel | |
80 | BuildRequires: pulseaudio-devel >= 0.9.10 | |
81 | BuildRequires: python >= 1:2.7.5 | |
82 | %if %{with doc} | |
83 | BuildRequires: qt5-assistant >= 5.15 | |
84 | %endif | |
85 | BuildRequires: qt5-build >= 5.15 | |
86 | BuildRequires: qt5-qmake >= 5.15 | |
87 | BuildRequires: qt5-qttools | |
88 | BuildRequires: re2-devel | |
89 | BuildRequires: rpmbuild(macros) >= 1.752 | |
90 | BuildRequires: snappy-devel | |
91 | BuildRequires: tar >= 1:1.22 | |
92 | BuildRequires: xorg-lib-libX11-devel | |
93 | BuildRequires: xorg-lib-libXScrnSaver-devel | |
94 | BuildRequires: xorg-lib-libXcomposite-devel | |
95 | BuildRequires: xorg-lib-libXcursor-devel | |
96 | BuildRequires: xorg-lib-libXdamage-devel | |
97 | BuildRequires: xorg-lib-libXext-devel | |
98 | BuildRequires: xorg-lib-libXfixes-devel | |
99 | BuildRequires: xorg-lib-libXi-devel | |
100 | BuildRequires: xorg-lib-libXrender-devel | |
101 | BuildRequires: xorg-lib-libXrandr-devel | |
102 | BuildRequires: xorg-lib-libXtst-devel | |
103 | BuildRequires: xorg-lib-libxkbcommon-devel | |
104 | BuildRequires: xz | |
105 | BuildRequires: zlib-devel | |
106 | BuildConflicts: Qt5WebEngine-devel | |
107 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
108 | ||
109 | %define specflags -fno-strict-aliasing | |
110 | %define qt5dir %{_libdir}/qt5 | |
111 | ||
112 | %define qt5bindir %(qtpaths-qt5 --binaries-dir) | |
113 | ||
114 | %description | |
115 | Qt is a cross-platform application and UI framework. Using Qt, you can | |
116 | write web-enabled applications once and deploy them across desktop, | |
117 | mobile and embedded systems without rewriting the source code. | |
118 | ||
119 | This package contains Qt5 WebEngine library. | |
120 | ||
121 | %description -l pl.UTF-8 | |
122 | Qt to wieloplatformowy szkielet aplikacji i interfejsów użytkownika. | |
123 | Przy użyciu Qt można pisać aplikacje powiązane z WWW i wdrażać je w | |
124 | systemach biurkowych, przenośnych i wbudowanych bez przepisywania kodu | |
125 | źródłowego. | |
126 | ||
127 | Ten pakiet zawiera bibliotekę Qt5 WebEngine. | |
128 | ||
129 | %package -n Qt5WebEngine | |
130 | Summary: The Qt5 WebEngine library | |
131 | Summary(pl.UTF-8): Biblioteka Qt5 WebEngine | |
132 | Group: Libraries | |
133 | %requires_ge_to Qt5Core Qt5Core-devel | |
134 | %requires_ge_to Qt5Gui Qt5Gui-devel | |
135 | %requires_ge_to Qt5Network Qt5Network-devel | |
136 | %requires_ge_to Qt5Positioning Qt5Positioning-devel | |
137 | %requires_ge_to Qt5Qml Qt5Qml-devel | |
138 | %requires_ge_to Qt5Quick Qt5Quick-devel | |
139 | %requires_ge_to Qt5WebChannel Qt5WebChannel-devel | |
140 | Requires: alsa-lib >= 1.0.10 | |
141 | Requires: freetype >= 1:2.4.2 | |
142 | Requires: harfbuzz >= 2.2.0 | |
143 | Requires: libicu >= 64 | |
144 | Requires: libpng >= 2:1.6.0 | |
145 | %{?with_system_libvpx:Requires: libvpx >= 1.8.0} | |
146 | Requires: nss >= 3.26 | |
147 | Requires: opus >= 1.3.1 | |
148 | Requires: pulseaudio-libs >= 0.9.10 | |
149 | ||
150 | %description -n Qt5WebEngine | |
151 | Qt5 WebEngine library provides seamless integration of C++ and QML | |
152 | applications with HTML/JavaScript clients. | |
153 | ||
154 | %description -n Qt5WebEngine -l pl.UTF-8 | |
155 | Biblioteka Qt5 WebEngine udostępnia integrację aplikacji C++ i QML z | |
156 | klientami w HTML-u/JavaScripcie. | |
157 | ||
158 | %package -n Qt5WebEngine-devel | |
159 | Summary: Qt5 WebEngine library - development files | |
160 | Summary(pl.UTF-8): Biblioteka Qt5 WebEngine - pliki programistyczne | |
161 | Group: Development/Libraries | |
162 | %requires_ge Qt5Core-devel | |
163 | %requires_ge Qt5Gui-devel | |
164 | %requires_ge Qt5Network-devel | |
165 | %requires_ge Qt5Positioning-devel | |
166 | %requires_ge Qt5PrintSupport-devel | |
167 | %requires_ge Qt5Qml-devel | |
168 | %requires_ge Qt5Quick-devel | |
169 | %requires_ge Qt5WebChannel-devel | |
170 | Requires: Qt5WebEngine = %{version}-%{release} | |
171 | %requires_ge Qt5Widgets-devel | |
172 | ||
173 | %description -n Qt5WebEngine-devel | |
174 | Qt5 WebEngine library - development files. | |
175 | ||
176 | %description -n Qt5WebEngine-devel -l pl.UTF-8 | |
177 | Biblioteka Qt5 WebEngine - pliki programistyczne. | |
178 | ||
179 | %package -n Qt5Pdf | |
180 | Summary: The Qt5 Pdf library | |
181 | Summary(pl.UTF-8): Biblioteka Qt5 Pdf | |
182 | Group: Libraries | |
183 | %requires_ge_to Qt5Core Qt5Core-devel | |
184 | %requires_ge_to Qt5Gui Qt5Gui-devel | |
185 | %requires_ge_to Qt5Network Qt5Network-devel | |
186 | %requires_ge_to Qt5Qml Qt5Qml-devel | |
187 | %requires_ge_to Qt5Quick Qt5Quick-devel | |
188 | %requires_ge_to Qt5Widgets Qt5Widgets-devel | |
189 | ||
190 | %description -n Qt5Pdf | |
191 | Qt5 Pdf module contains classes and functions for rendering PDF | |
192 | documents. | |
193 | ||
194 | %description -n Qt5Pdf -l pl.UTF-8 | |
195 | Moduł Qt5 Pdf zawiera klasy i funkcje do renderowania dokumentów PDF. | |
196 | ||
197 | %package -n Qt5Pdf-devel | |
198 | Summary: Qt5 Pdf library - development files | |
199 | Summary(pl.UTF-8): Biblioteka Qt5 Pdf - pliki programistyczne | |
200 | Group: Development/Libraries | |
201 | %requires_ge Qt5Core-devel | |
202 | %requires_ge Qt5Gui-devel | |
203 | Requires: Qt5Pdf = %{version}-%{release} | |
204 | %requires_ge Qt5Widgets-devel | |
205 | ||
206 | %description -n Qt5Pdf-devel | |
207 | Qt5 Pdf library - development files. | |
208 | ||
209 | %description -n Qt5Pdf-devel -l pl.UTF-8 | |
210 | Biblioteka Qt5 Pdf - pliki programistyczne. | |
211 | ||
212 | %package -n Qt5Designer-plugin-qwebengineview | |
213 | Summary: QWebEngineView plugin for Qt5 Designer | |
214 | Summary(pl.UTF-8): Wtyczka QWebEngineView dla Qt5 Designera | |
215 | Group: X11/Libraries | |
216 | %requires_ge_to Qt5Core Qt5Core-devel | |
217 | %requires_ge_to Qt5Gui Qt5Gui-devel | |
218 | %requires_ge_to Qt5Designer Qt5Designer-devel | |
219 | Requires: Qt5WebEngine = %{version}-%{release} | |
220 | %requires_ge_to Qt5Widgets Qt5Widgets-devel | |
221 | ||
222 | %description -n Qt5Designer-plugin-qwebengineview | |
223 | QWebEngineView plugin for Qt5 Designer. | |
224 | ||
225 | %description -n Qt5Designer-plugin-qwebengineview -l pl.UTF-8 | |
226 | Wtyczka QWebEngineView dla Qt5 Designera. | |
227 | ||
228 | %package doc | |
229 | Summary: Qt5 WebEngine documentation in HTML format | |
230 | Summary(pl.UTF-8): Dokumentacja do biblioteki Qt5 WebEngine w formacie HTML | |
231 | License: FDL v1.3 | |
232 | Group: Documentation | |
233 | %requires_ge_to qt5-doc-common Qt5Core-devel | |
234 | BuildArch: noarch | |
235 | ||
236 | %description doc | |
237 | Qt5 WebEngine documentation in HTML format. | |
238 | ||
239 | %description doc -l pl.UTF-8 | |
240 | Dokumentacja do biblioteki Qt5 WebEngine w formacie HTML. | |
241 | ||
242 | %package doc-qch | |
243 | Summary: Qt5 WebEngine documentation in QCH format | |
244 | Summary(pl.UTF-8): Dokumentacja do biblioteki Qt5 WebEngine w formacie QCH | |
245 | License: FDL v1.3 | |
246 | Group: Documentation | |
247 | %requires_ge_to qt5-doc-common Qt5Core-devel | |
248 | BuildArch: noarch | |
249 | ||
250 | %description doc-qch | |
251 | Qt5 WebEngine documentation in QCH format. | |
252 | ||
253 | %description doc-qch -l pl.UTF-8 | |
254 | Dokumentacja do biblioteki Qt5 WebEngine w formacie QCH. | |
255 | ||
256 | %package examples | |
257 | Summary: Qt5 WebEngine examples | |
258 | Summary(pl.UTF-8): Przykłady do biblioteki Qt5 WebEngine | |
259 | License: BSD or commercial | |
260 | Group: X11/Development/Libraries | |
261 | BuildArch: noarch | |
262 | ||
263 | %description examples | |
264 | Qt5 WebEngine examples. | |
265 | ||
266 | %description examples -l pl.UTF-8 | |
267 | Przykłady do biblioteki Qt5 WebEngine. | |
268 | ||
269 | %prep | |
270 | %setup -q -n qtwebengine | |
271 | %ifarch x32 | |
272 | %patch0 -p1 | |
273 | %endif | |
274 | %patch1 -p1 | |
275 | %patch2 -p1 | |
276 | %patch3 -p1 | |
277 | ||
278 | %{qt5bindir}/syncqt.pl -version %{version} | |
279 | ||
280 | %build | |
281 | %ifarch x32 | |
282 | export V8_TARGET_ARCH="x32" | |
283 | %endif | |
284 | qmake-qt5 CONFIG+=use_gold_linker -- \ | |
285 | -webengine-ffmpeg \ | |
286 | -webengine-icu \ | |
287 | -webengine-opus \ | |
288 | -webengine-proprietary-codecs \ | |
289 | -webengine-webp \ | |
290 | -webengine-webrtc | |
291 | ||
292 | %{?__jobs:NINJAJOBS="-j %__jobs"} \ | |
293 | %{__make} | |
294 | %{?with_doc:%{__make} docs} | |
295 | ||
296 | %install | |
297 | rm -rf $RPM_BUILD_ROOT | |
298 | ||
299 | %{__make} install \ | |
300 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
301 | ||
302 | %if %{with doc} | |
303 | %{__make} install_docs \ | |
304 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
305 | %endif | |
306 | ||
307 | # useless symlinks | |
308 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt5*.so.5.?? | |
309 | # actually drop *.la, follow policy of not packaging them when *.pc exist | |
310 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt5*.la | |
311 | # misnamed? | |
312 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/Qt5WebEngineCore.la | |
313 | ||
314 | # Prepare some files list | |
315 | ifecho() { | |
316 | r="$RPM_BUILD_ROOT$2" | |
317 | if [ -d "$r" ]; then | |
318 | echo "%%dir $2" >> $1.files | |
319 | elif [ -x "$r" ] ; then | |
320 | echo "%%attr(755,root,root) $2" >> $1.files | |
321 | elif [ -f "$r" ]; then | |
322 | echo "$2" >> $1.files | |
323 | else | |
324 | echo "Error generation $1 files list!" | |
325 | echo "$r: no such file or directory!" | |
326 | return 1 | |
327 | fi | |
328 | } | |
329 | ifecho_tree() { | |
330 | ifecho $1 $2 | |
331 | for f in `find $RPM_BUILD_ROOT$2 -printf "%%P "`; do | |
332 | ifecho $1 $2/$f | |
333 | done | |
334 | } | |
335 | ||
336 | echo "%defattr(644,root,root,755)" > examples.files | |
337 | ifecho_tree examples %{_examplesdir}/qt5/pdf | |
338 | ifecho_tree examples %{_examplesdir}/qt5/pdfwidgets | |
339 | ifecho_tree examples %{_examplesdir}/qt5/webengine | |
340 | ifecho_tree examples %{_examplesdir}/qt5/webenginewidgets | |
341 | ||
342 | %clean | |
343 | rm -rf $RPM_BUILD_ROOT | |
344 | ||
345 | %post -n Qt5WebEngine -p /sbin/ldconfig | |
346 | %postun -n Qt5WebEngine -p /sbin/ldconfig | |
347 | ||
348 | %post -n Qt5Pdf -p /sbin/ldconfig | |
349 | %postun -n Qt5Pdf -p /sbin/ldconfig | |
350 | ||
351 | %files -n Qt5WebEngine | |
352 | %defattr(644,root,root,755) | |
353 | %doc LICENSE.Chromium LICENSE.GPL3-EXCEPT dist/changes-* | |
354 | # R: Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Quick Qt5WebChannel Qt5WebEngineCore | |
355 | %attr(755,root,root) %{_libdir}/libQt5WebEngine.so.*.*.* | |
356 | %attr(755,root,root) %ghost %{_libdir}/libQt5WebEngine.so.5 | |
357 | # R: Qt5Core Qt5Gui Qt5Network Qt5Positioning Qt5Qml Qt5Quick Qt5WebChannel alsa-lib dbus-libs expat fontconfig freetype harfbuzz lcms2 libX11 libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrender libXrandr libXss libavcodec libavformat libavutil libevent libjpeg libicu libpng libvpx libwebp libxcb minizip nspr nss opus re2 snappy zlib | |
358 | %attr(755,root,root) %{_libdir}/libQt5WebEngineCore.so.*.*.* | |
359 | %attr(755,root,root) %ghost %{_libdir}/libQt5WebEngineCore.so.5 | |
360 | # R: Qt5Core Qt5Gui Qt5Network Qt5PrintSupport Qt5Quick Qt5QuickWidgets Qt5WebEngineCore Qt5Widgets | |
361 | %attr(755,root,root) %{_libdir}/libQt5WebEngineWidgets.so.*.*.* | |
362 | %attr(755,root,root) %ghost %{_libdir}/libQt5WebEngineWidgets.so.5 | |
363 | %dir %{qt5dir}/qml/QtWebEngine | |
364 | %{qt5dir}/qml/QtWebEngine/plugins.qmltypes | |
365 | %{qt5dir}/qml/QtWebEngine/qmldir | |
366 | %{qt5dir}/qml/QtWebEngine/Controls1Delegates | |
367 | %{qt5dir}/qml/QtWebEngine/Controls2Delegates | |
368 | # R: Qt5Core Qt5Qml Qt5Quick Qt5WebEngine Qt5WebEngineCore | |
369 | %attr(755,root,root) %{qt5dir}/qml/QtWebEngine/libqtwebengineplugin.so | |
370 | %dir %{_datadir}/qt5/resources | |
371 | %{_datadir}/qt5/resources/qtwebengine*.pak | |
372 | %dir %{_datadir}/qt5/translations/qtwebengine_locales | |
373 | %lang(am) %{_datadir}/qt5/translations/qtwebengine_locales/am.pak | |
374 | %lang(ar) %{_datadir}/qt5/translations/qtwebengine_locales/ar.pak | |
375 | %lang(bg) %{_datadir}/qt5/translations/qtwebengine_locales/bg.pak | |
376 | %lang(bn) %{_datadir}/qt5/translations/qtwebengine_locales/bn.pak | |
377 | %lang(ca) %{_datadir}/qt5/translations/qtwebengine_locales/ca.pak | |
378 | %lang(cs) %{_datadir}/qt5/translations/qtwebengine_locales/cs.pak | |
379 | %lang(da) %{_datadir}/qt5/translations/qtwebengine_locales/da.pak | |
380 | %lang(de) %{_datadir}/qt5/translations/qtwebengine_locales/de.pak | |
381 | %lang(el) %{_datadir}/qt5/translations/qtwebengine_locales/el.pak | |
382 | %lang(en) %{_datadir}/qt5/translations/qtwebengine_locales/en-GB.pak | |
383 | %lang(en) %{_datadir}/qt5/translations/qtwebengine_locales/en-US.pak | |
384 | %lang(es) %{_datadir}/qt5/translations/qtwebengine_locales/es.pak | |
385 | %lang(es_AR,es_BO,es_CL,es_CO,es_CR,es_CU,es_DO,es_EC,es_GT,es_HN,es_MX,es_NI,es_PA,es_PE,es_PR,es_PY,es_SV,es_UY,es_VE) %{_datadir}/qt5/translations/qtwebengine_locales/es-419.pak | |
386 | %lang(et) %{_datadir}/qt5/translations/qtwebengine_locales/et.pak | |
387 | %lang(fa) %{_datadir}/qt5/translations/qtwebengine_locales/fa.pak | |
388 | %lang(fi) %{_datadir}/qt5/translations/qtwebengine_locales/fi.pak | |
389 | %lang(fil) %{_datadir}/qt5/translations/qtwebengine_locales/fil.pak | |
390 | %lang(fr) %{_datadir}/qt5/translations/qtwebengine_locales/fr.pak | |
391 | %lang(gu) %{_datadir}/qt5/translations/qtwebengine_locales/gu.pak | |
392 | %lang(he) %{_datadir}/qt5/translations/qtwebengine_locales/he.pak | |
393 | %lang(hi) %{_datadir}/qt5/translations/qtwebengine_locales/hi.pak | |
394 | %lang(hr) %{_datadir}/qt5/translations/qtwebengine_locales/hr.pak | |
395 | %lang(hu) %{_datadir}/qt5/translations/qtwebengine_locales/hu.pak | |
396 | %lang(id) %{_datadir}/qt5/translations/qtwebengine_locales/id.pak | |
397 | %lang(it) %{_datadir}/qt5/translations/qtwebengine_locales/it.pak | |
398 | %lang(ja) %{_datadir}/qt5/translations/qtwebengine_locales/ja.pak | |
399 | %lang(kn) %{_datadir}/qt5/translations/qtwebengine_locales/kn.pak | |
400 | %lang(ko) %{_datadir}/qt5/translations/qtwebengine_locales/ko.pak | |
401 | %lang(lt) %{_datadir}/qt5/translations/qtwebengine_locales/lt.pak | |
402 | %lang(lv) %{_datadir}/qt5/translations/qtwebengine_locales/lv.pak | |
403 | %lang(ml) %{_datadir}/qt5/translations/qtwebengine_locales/ml.pak | |
404 | %lang(mr) %{_datadir}/qt5/translations/qtwebengine_locales/mr.pak | |
405 | %lang(ms) %{_datadir}/qt5/translations/qtwebengine_locales/ms.pak | |
406 | %lang(nb) %{_datadir}/qt5/translations/qtwebengine_locales/nb.pak | |
407 | %lang(nl) %{_datadir}/qt5/translations/qtwebengine_locales/nl.pak | |
408 | %lang(pl) %{_datadir}/qt5/translations/qtwebengine_locales/pl.pak | |
409 | %lang(pt_BR) %{_datadir}/qt5/translations/qtwebengine_locales/pt-BR.pak | |
410 | %lang(pt) %{_datadir}/qt5/translations/qtwebengine_locales/pt-PT.pak | |
411 | %lang(ro) %{_datadir}/qt5/translations/qtwebengine_locales/ro.pak | |
412 | %lang(ru) %{_datadir}/qt5/translations/qtwebengine_locales/ru.pak | |
413 | %lang(sk) %{_datadir}/qt5/translations/qtwebengine_locales/sk.pak | |
414 | %lang(sl) %{_datadir}/qt5/translations/qtwebengine_locales/sl.pak | |
415 | %lang(sr) %{_datadir}/qt5/translations/qtwebengine_locales/sr.pak | |
416 | %lang(sv) %{_datadir}/qt5/translations/qtwebengine_locales/sv.pak | |
417 | %lang(sw) %{_datadir}/qt5/translations/qtwebengine_locales/sw.pak | |
418 | %lang(ta) %{_datadir}/qt5/translations/qtwebengine_locales/ta.pak | |
419 | %lang(te) %{_datadir}/qt5/translations/qtwebengine_locales/te.pak | |
420 | %lang(th) %{_datadir}/qt5/translations/qtwebengine_locales/th.pak | |
421 | %lang(tr) %{_datadir}/qt5/translations/qtwebengine_locales/tr.pak | |
422 | %lang(uk) %{_datadir}/qt5/translations/qtwebengine_locales/uk.pak | |
423 | %lang(vi) %{_datadir}/qt5/translations/qtwebengine_locales/vi.pak | |
424 | %lang(zh_CN) %{_datadir}/qt5/translations/qtwebengine_locales/zh-CN.pak | |
425 | %lang(zh_TW) %{_datadir}/qt5/translations/qtwebengine_locales/zh-TW.pak | |
426 | # R: Qt5Core libevent libicu | |
427 | %attr(755,root,root) %{_libdir}/qt5/bin/qwebengine_convert_dict | |
428 | # R: Qt5Core Qt5WebEngineCore | |
429 | %attr(755,root,root) %{_libdir}/qt5/libexec/QtWebEngineProcess | |
430 | ||
431 | %files -n Qt5WebEngine-devel | |
432 | %defattr(644,root,root,755) | |
433 | %attr(755,root,root) %{_libdir}/libQt5WebEngine.so | |
434 | %attr(755,root,root) %{_libdir}/libQt5WebEngineCore.so | |
435 | %attr(755,root,root) %{_libdir}/libQt5WebEngineWidgets.so | |
436 | %{_libdir}/libQt5WebEngine.prl | |
437 | %{_libdir}/libQt5WebEngineCore.prl | |
438 | %{_libdir}/libQt5WebEngineWidgets.prl | |
439 | %{_includedir}/qt5/QtWebEngine | |
440 | %{_includedir}/qt5/QtWebEngineCore | |
441 | %{_includedir}/qt5/QtWebEngineWidgets | |
442 | %{_pkgconfigdir}/Qt5WebEngine.pc | |
443 | %{_pkgconfigdir}/Qt5WebEngineCore.pc | |
444 | %{_pkgconfigdir}/Qt5WebEngineWidgets.pc | |
445 | %{_libdir}/cmake/Qt5WebEngine | |
446 | %{_libdir}/cmake/Qt5WebEngineCore | |
447 | %{_libdir}/cmake/Qt5WebEngineWidgets | |
448 | %{qt5dir}/mkspecs/modules/qt_lib_webengine.pri | |
449 | %{qt5dir}/mkspecs/modules/qt_lib_webengine_private.pri | |
450 | %{_libdir}/qt5/mkspecs/modules/qt_lib_webenginecore.pri | |
451 | %{_libdir}/qt5/mkspecs/modules/qt_lib_webenginecore_private.pri | |
452 | %{_libdir}/qt5/mkspecs/modules/qt_lib_webenginecoreheaders_private.pri | |
453 | %{_libdir}/qt5/mkspecs/modules/qt_lib_webenginewidgets.pri | |
454 | %{_libdir}/qt5/mkspecs/modules/qt_lib_webenginewidgets_private.pri | |
455 | ||
456 | %files -n Qt5Designer-plugin-qwebengineview | |
457 | %defattr(644,root,root,755) | |
458 | # R: Qt5Core Qt5Gui Qt5WebEngineWidgets Qt5Widgets [+Qt5Designer by dir] | |
459 | %attr(755,root,root) %{_libdir}/qt5/plugins/designer/libqwebengineview.so | |
460 | %{_libdir}/cmake/Qt5Designer/Qt5Designer_QWebEngineViewPlugin.cmake | |
461 | ||
462 | %files -n Qt5Pdf | |
463 | %defattr(644,root,root,755) | |
464 | # R: Qt5Core Qt5Gui Qt5Network freetype libjpeg zlib | |
465 | %attr(755,root,root) %{_libdir}/libQt5Pdf.so.*.*.* | |
466 | %attr(755,root,root) %ghost %{_libdir}/libQt5Pdf.so.5 | |
467 | # R: Qt5Core Qt5Gui Qt5Pdf Qt5Widgets | |
468 | %attr(755,root,root) %{_libdir}/libQt5PdfWidgets.so.*.*.* | |
469 | %attr(755,root,root) %ghost %{_libdir}/libQt5PdfWidgets.so.5 | |
470 | %dir %{qt5dir}/qml/QtQuick/Pdf | |
471 | %{qt5dir}/qml/QtQuick/Pdf/plugins.qmltypes | |
472 | %{qt5dir}/qml/QtQuick/Pdf/qmldir | |
473 | %{qt5dir}/qml/QtQuick/Pdf/qml | |
474 | # R: Qt5Core Qt5Gui Qt5Pdf Qt5Qml Qt5Quick | |
475 | %attr(755,root,root) %{qt5dir}/qml/QtQuick/Pdf/libpdfplugin.so | |
476 | # R: Qt5Core Qt5Gui Qt5Pdf | |
477 | %attr(755,root,root) %{_libdir}/qt5/plugins/imageformats/libqpdf.so | |
478 | ||
479 | %files -n Qt5Pdf-devel | |
480 | %defattr(644,root,root,755) | |
481 | %attr(755,root,root) %{_libdir}/libQt5Pdf.so | |
482 | %attr(755,root,root) %{_libdir}/libQt5PdfWidgets.so | |
483 | %{_libdir}/libQt5Pdf.prl | |
484 | %{_libdir}/libQt5PdfWidgets.prl | |
485 | %{_includedir}/qt5/QtPdf | |
486 | %{_includedir}/qt5/QtPdfWidgets | |
487 | %{_pkgconfigdir}/Qt5Pdf.pc | |
488 | %{_pkgconfigdir}/Qt5PdfWidgets.pc | |
489 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QPdfPlugin.cmake | |
490 | %{_libdir}/cmake/Qt5Pdf | |
491 | %{_libdir}/cmake/Qt5PdfWidgets | |
492 | %{qt5dir}/mkspecs/modules/qt_lib_pdf.pri | |
493 | %{qt5dir}/mkspecs/modules/qt_lib_pdf_private.pri | |
494 | %{qt5dir}/mkspecs/modules/qt_lib_pdfwidgets.pri | |
495 | %{qt5dir}/mkspecs/modules/qt_lib_pdfwidgets_private.pri | |
496 | ||
497 | %if %{with doc} | |
498 | %files doc | |
499 | %defattr(644,root,root,755) | |
500 | %{_docdir}/qt5-doc/qtpdf | |
501 | %{_docdir}/qt5-doc/qtwebengine | |
502 | ||
503 | %files doc-qch | |
504 | %defattr(644,root,root,755) | |
505 | %{_docdir}/qt5-doc/qtpdf.qch | |
506 | %{_docdir}/qt5-doc/qtwebengine.qch | |
507 | %endif | |
508 | ||
509 | %files examples -f examples.files | |
510 | %defattr(644,root,root,755) | |
511 | # XXX: dir shared with qt5-qtbase-examples | |
512 | %dir %{_examplesdir}/qt5 |