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