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