]>
Commit | Line | Data |
---|---|---|
e7e4b306 | 1 | # |
395735ed | 2 | # Conditional build: |
7108e619 ER |
3 | %bcond_with bootstrap # disable features to able to build without installed qt5 |
4 | # -- build targets | |
7b72fe56 | 5 | %bcond_without doc # Documentation |
6b264034 | 6 | %bcond_with jit # QML just-in-time compiler |
0be0a93b | 7 | %bcond_with openvg # OpenVG scenegraph plugin |
00526c46 | 8 | %bcond_without qm # QM translations |
dffafefb | 9 | |
7108e619 | 10 | %if %{with bootstrap} |
de82433f | 11 | %undefine with_doc |
7108e619 | 12 | %undefine with_qm |
7108e619 ER |
13 | %endif |
14 | ||
bae5e48d JP |
15 | # requires sse2 on x86 |
16 | %ifarch pentium4 %{x8664} aarch64 | |
6b264034 | 17 | %define with_jit 1 |
9e26daa7 JP |
18 | %endif |
19 | ||
dffafefb | 20 | %define orgname qtdeclarative |
00526c46 | 21 | %define qtbase_ver %{version} |
96bb2929 JB |
22 | %define qttools_linguist_ver 5.5 |
23 | %define qttools_assistant_ver 5.9 | |
bb4fb35f JB |
24 | Summary: The Qt5 Declarative libraries |
25 | Summary(pl.UTF-8): Biblioteki Qt5 Declarative | |
dffafefb | 26 | Name: qt5-%{orgname} |
fa8ada75 | 27 | Version: 5.15.8 |
3c5593b2 | 28 | Release: 1 |
f3312357 | 29 | License: LGPL v2.1 or LGPL v3 with Qt Company LGPL Exception v1.1 |
dffafefb | 30 | Group: X11/Libraries |
9938f3eb | 31 | Source0: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-opensource-src-%{version}.tar.xz |
fa8ada75 | 32 | # Source0-md5: c49c80f75fd1a9ae68c599b405725e9c |
9938f3eb | 33 | Source1: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/qttranslations-everywhere-opensource-src-%{version}.tar.xz |
fa8ada75 | 34 | # Source1-md5: 31c6a9079102b037ef3d831e0b507699 |
0be0a93b JB |
35 | URL: https://www.qt.io/ |
36 | %{?with_openvg:BuildRequires: EGL-devel} | |
395735ed | 37 | BuildRequires: OpenGL-devel |
0be0a93b | 38 | %{?with_openvg:BuildRequires: OpenVG-devel} |
395735ed JB |
39 | BuildRequires: Qt5Core-devel >= %{qtbase_ver} |
40 | BuildRequires: Qt5Gui-devel >= %{qtbase_ver} | |
41 | BuildRequires: Qt5Network-devel >= %{qtbase_ver} | |
42 | BuildRequires: Qt5Sql-devel >= %{qtbase_ver} | |
43 | BuildRequires: Qt5Test-devel >= %{qtbase_ver} | |
44 | BuildRequires: Qt5Widgets-devel >= %{qtbase_ver} | |
7b72fe56 | 45 | %if %{with doc} |
96bb2929 | 46 | BuildRequires: qt5-assistant >= %{qttools_assistant_ver} |
395735ed JB |
47 | %endif |
48 | BuildRequires: qt5-build >= %{qtbase_ver} | |
96bb2929 | 49 | %{?with_qm:BuildRequires: qt5-linguist >= %{qttools_linguist_ver}} |
395735ed | 50 | BuildRequires: qt5-qmake >= %{qtbase_ver} |
98244b45 | 51 | BuildRequires: rpm-build >= 4.6 |
d48e133e | 52 | BuildRequires: rpmbuild(macros) >= 2.016 |
06f64f71 ER |
53 | BuildRequires: tar >= 1:1.22 |
54 | BuildRequires: xz | |
d8e27435 | 55 | # qml: Core Gui Qml Widgets |
25430150 JB |
56 | # qmlcachegen: Core |
57 | # qmleasing: Core Gui Qml Quick Widgets | |
58 | # qmlformat: Core | |
d8e27435 | 59 | # qmlimportscanner: Core |
25430150 | 60 | # qmllint: Core |
d8e27435 | 61 | # qmlmin: Core |
25430150 JB |
62 | # qmlplugindump: Core Gui Qml Widgets |
63 | # qmlpreview: Core Network | |
64 | # qmlprofiler: Core Network | |
d8e27435 | 65 | # qmlscene: Core Gui Qml Quick Widgets |
25430150 JB |
66 | # qmltestrunner: Core QuickTest |
67 | # qmltyperegistrar: Core | |
d8e27435 JB |
68 | Requires: Qt5Core >= %{qtbase_ver} |
69 | Requires: Qt5Gui >= %{qtbase_ver} | |
70 | Requires: Qt5Network >= %{qtbase_ver} | |
71 | Requires: Qt5Qml = %{version}-%{release} | |
72 | Requires: Qt5Quick = %{version}-%{release} | |
73 | Requires: Qt5Widgets >= %{qtbase_ver} | |
dffafefb WF |
74 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
75 | ||
dffafefb | 76 | %define specflags -fno-strict-aliasing |
bb4fb35f | 77 | %define qt5dir %{_libdir}/qt5 |
dffafefb WF |
78 | |
79 | %description | |
bb4fb35f JB |
80 | Qt is a cross-platform application and UI framework. Using Qt, you can |
81 | write web-enabled applications once and deploy them across desktop, | |
82 | mobile and embedded systems without rewriting the source code. | |
83 | ||
84 | This package contains Qt5 Declarative libraries. | |
85 | ||
86 | %description -l pl.UTF-8 | |
87 | Qt to wieloplatformowy szkielet aplikacji i interfejsów użytkownika. | |
88 | Przy użyciu Qt można pisać aplikacje powiązane z WWW i wdrażać je w | |
89 | systemach biurkowych, przenośnych i wbudowanych bez przepisywania kodu | |
90 | źródłowego. | |
91 | ||
92 | Ten pakiet zawiera biblioteki Qt5 Declarative. | |
dffafefb | 93 | |
d8e27435 JB |
94 | %package -n Qt5Qml |
95 | Summary: Qt5 Qml libraries | |
96 | Summary(pl.UTF-8): Biblioteki Qt5 Qml | |
97 | Group: Libraries | |
98 | # Qt5Qml: Core Network | |
25430150 JB |
99 | # Qt5QmlModels: Core Qml |
100 | # Qt5QmlWorkerScript: Core Network Qml | |
d8e27435 JB |
101 | Requires: Qt5Core >= %{qtbase_ver} |
102 | Requires: Qt5Network >= %{qtbase_ver} | |
103 | ||
104 | %description -n Qt5Qml | |
105 | The Qt5 QML module provides a framework for developing applications | |
106 | and libraries with the QML language. It defines and implements the | |
107 | language and engine infrastructure, and provides an API to enable | |
108 | application developers to extend the QML language with custom types | |
109 | and integrate QML code with JavaScript and C++. The Qt5 QML module | |
110 | provides both a QML API and a C++ API. | |
111 | ||
112 | %description -n Qt5Qml -l pl.UTF-8 | |
113 | Moduł Qt5 Qml dostarcza szkielet do tworzenia aplikacji i bibliotek | |
114 | przy użyciu języka QML. Moduł definiuje i implementuje język oraz | |
115 | silnik, a także udostąpnia API pozwalające programistom rozszerzać | |
116 | język QML o własne typy oraz integrować kod w języku QML z | |
117 | JavaScriptem i C++. Moduł Qt5 QML udostępnia API zarówno dla języka | |
118 | QML, jak i C++. | |
119 | ||
120 | %package -n Qt5Qml-devel | |
121 | Summary: Qt5 Qml libraries - development files | |
122 | Summary(pl.UTF-8): Biblioteki Qt5 Qml - pliki programistyczne | |
123 | Group: Development/Libraries | |
124 | # Qt5Qml: Core Network | |
25430150 JB |
125 | # Qt5QmlModels: Core Network Qml |
126 | # Qt5QmlWorkerScript: Core Network Qml | |
127 | # Qt5PacketProtocol.a: Core | |
128 | # Qt5QmlDebug.a: Core Network PacketProtocol Qml | |
129 | # Qt5QmlDevTools.a: Core | |
d8e27435 JB |
130 | Requires: Qt5Core-devel >= %{qtbase_ver} |
131 | Requires: Qt5Network-devel >= %{qtbase_ver} | |
132 | Requires: Qt5Qml = %{version}-%{release} | |
f981dbea | 133 | Obsoletes: qt5-qtdeclarative-devel < 5.2.1-1 |
d8e27435 JB |
134 | |
135 | %description -n Qt5Qml-devel | |
136 | Qt5 Qml libraries - development files. | |
137 | ||
138 | %description -n Qt5Qml-devel -l pl.UTF-8 | |
139 | Biblioteki Qt5 Qml - pliki programistyczne. | |
140 | ||
141 | %package -n Qt5Quick | |
142 | Summary: Qt5 Quick libraries | |
143 | Summary(pl.UTF-8): Biblioteki Qt5 Quick | |
144 | Group: X11/Libraries | |
25430150 JB |
145 | # Qt5Quick: Core Gui Network Qml QmlModels |
146 | # Qt5QuickParticles: Core Gui Qml Quick GL | |
147 | # Qt5QuickShapes: Core Gui Qml Quick | |
148 | # Qt5QuickTest: Core Gui Qml Quick Test Widgets | |
149 | # Qt5QuickWidgets: Core Gui Qml Quick Widgets | |
d8e27435 JB |
150 | Requires: Qt5Core >= %{qtbase_ver} |
151 | Requires: Qt5Gui >= %{qtbase_ver} | |
152 | Requires: Qt5Network >= %{qtbase_ver} | |
153 | Requires: Qt5Qml = %{version}-%{release} | |
154 | Requires: Qt5Test >= %{qtbase_ver} | |
155 | Requires: Qt5Widgets >= %{qtbase_ver} | |
156 | ||
157 | %description -n Qt5Quick | |
158 | The Qt5 Quick module is the standard library for writing QML | |
159 | applications. While the Qt5 QML module provides the QML engine and | |
160 | language infrastructure, the Qt5 Quick module provides all the basic | |
161 | types necessary for creating user interfaces with QML. It provides a | |
162 | visual canvas and includes types for creating and animating visual | |
163 | components, receiving user input, creating data models and views and | |
164 | delayed object instantiation. | |
165 | ||
166 | The Qt5 Quick module provides both a QML API which supplies QML types | |
167 | for creating user interfaces with the QML language, and a C++ API for | |
168 | extending QML applications with C++ code. | |
169 | ||
170 | %description -n Qt5Quick -l pl.UTF-8 | |
171 | Moduł Qt5 Quick to biblioteka standardowa do pisania aplikacji QML. | |
172 | Sam moduł Qt5 QML dostarcza silnik i infrastrukturę języka, natomiast | |
173 | moduł Qt5 Quick udostępnia wszystkie podstawowe typy niezbędne do | |
174 | tworzenia interfejsu użytkownika przy użyciu języka QML. Udostępnia | |
175 | graficzne "płótno", zawiera typy do tworzenia i animowania komponentów | |
176 | graficznych, odczytu wejścia od użytkownika, tworzenia modeli i | |
177 | widoków danych oraz opóźnionych instancji obiektów. | |
178 | ||
179 | Moduł Qt5 Quick dostarcza API zarówno dla języka QML, zapewniające | |
180 | typy QML do tworzenia interfejsów użytkownika w języku QML, jak i dla | |
181 | języka C++ do rozszerzania aplikacji QML przy użyciu kodu w C++. | |
182 | ||
183 | %package -n Qt5Quick-devel | |
184 | Summary: Qt5 Qml libraries - development files | |
185 | Summary(pl.UTF-8): Biblioteki Qt5 Qml - pliki programistyczne | |
dffafefb | 186 | Group: X11/Development/Libraries |
25430150 JB |
187 | # Qt5Quick: Core Gui Network Qml QmlModels |
188 | # Qt5QuickParticles: Core Gui Network Qml QmlModels Quick | |
189 | # Qt5QuickShapes: Core Gui Network Qml QmlModels Quick | |
190 | # Qt5QuickTest: Core Gui Test Widgets | |
191 | # Qt5QuickWidgets: Core Gui Network Qml QmlModels Quick Test Widgets | |
7f55d923 JB |
192 | Requires: Qt5Core-devel >= %{qtbase_ver} |
193 | Requires: Qt5Gui-devel >= %{qtbase_ver} | |
194 | Requires: Qt5Network-devel >= %{qtbase_ver} | |
d8e27435 JB |
195 | Requires: Qt5Qml-devel = %{version}-%{release} |
196 | Requires: Qt5Quick = %{version}-%{release} | |
7f55d923 | 197 | Requires: Qt5Widgets-devel >= %{qtbase_ver} |
6d459d02 | 198 | Requires: qt5-qtdeclarative >= %{qtbase_ver} |
d8e27435 JB |
199 | |
200 | %description -n Qt5Quick-devel | |
201 | Qt5 Qml libraries - development files. | |
202 | ||
203 | %description -n Qt5Quick-devel -l pl.UTF-8 | |
204 | Biblioteki Qt5 Qml - pliki programistyczne. | |
dffafefb | 205 | |
3329af2e | 206 | %package doc |
e7e4b306 JB |
207 | Summary: Qt5 Declarative documentation in HTML format |
208 | Summary(pl.UTF-8): Dokumentacja do bibliotek Qt5 Declarative w formacie HTML | |
3329af2e | 209 | Group: Documentation |
bb4fb35f | 210 | Requires: qt5-doc-common >= %{qtbase_ver} |
ced516d7 | 211 | BuildArch: noarch |
3329af2e WF |
212 | |
213 | %description doc | |
e7e4b306 | 214 | Qt5 Declarative documentation in HTML format. |
bb4fb35f JB |
215 | |
216 | %description doc -l pl.UTF-8 | |
e7e4b306 JB |
217 | Dokumentacja do bibliotek Qt5 Declarative w formacie HTML. |
218 | ||
219 | %package doc-qch | |
220 | Summary: Qt5 Declarative documentation in QCH format | |
221 | Summary(pl.UTF-8): Dokumentacja do bibliotek Qt5 Declarative w formacie QCH | |
222 | Group: Documentation | |
223 | Requires: qt5-doc-common >= %{qtbase_ver} | |
ced516d7 | 224 | BuildArch: noarch |
e7e4b306 JB |
225 | |
226 | %description doc-qch | |
227 | Qt5 Declarative documentation in QCH format. | |
228 | ||
229 | %description doc-qch -l pl.UTF-8 | |
230 | Dokumentacja do bibliotek Qt5 Declarative w formacie QCH. | |
3329af2e | 231 | |
dffafefb WF |
232 | %package examples |
233 | Summary: Qt5 Declarative examples | |
e7e4b306 | 234 | Summary(pl.UTF-8): Przykłady do bibliotek Qt5 Declarative |
dffafefb | 235 | Group: X11/Development/Libraries |
ced516d7 | 236 | BuildArch: noarch |
dffafefb WF |
237 | |
238 | %description examples | |
bb4fb35f JB |
239 | Qt5 Declarative examples. |
240 | ||
241 | %description examples -l pl.UTF-8 | |
e7e4b306 | 242 | Przykłady do bibliotek Qt5 Declarative. |
dffafefb WF |
243 | |
244 | %prep | |
1a388717 | 245 | %setup -q -n %{orgname}-everywhere-src-%{version} %{?with_qm:-a1} |
dffafefb | 246 | |
0be0a93b JB |
247 | %if %{without openvg} |
248 | %{__sed} -i '/openvg/d' src/plugins/scenegraph/scenegraph.pro | |
249 | %endif | |
250 | ||
dffafefb | 251 | %build |
d48e133e | 252 | %{qmake_qt5} -- \ |
9e26daa7 | 253 | %{!?with_jit:-no}-feature-qml-jit |
0be0a93b | 254 | |
dffafefb | 255 | %{__make} |
de82433f | 256 | |
7b72fe56 | 257 | %{?with_doc:%{__make} docs} |
dffafefb | 258 | |
00526c46 | 259 | %if %{with qm} |
1a388717 | 260 | cd qttranslations-everywhere-src-%{version} |
d48e133e | 261 | %{qmake_qt5} |
00526c46 JB |
262 | %{__make} |
263 | cd .. | |
264 | %endif | |
265 | ||
dffafefb WF |
266 | %install |
267 | rm -rf $RPM_BUILD_ROOT | |
395735ed JB |
268 | install -d $RPM_BUILD_ROOT%{_bindir} |
269 | ||
3329af2e WF |
270 | %{__make} install \ |
271 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
272 | ||
de82433f | 273 | %if %{with doc} |
7b72fe56 | 274 | %{__make} install_docs \ |
dffafefb | 275 | INSTALL_ROOT=$RPM_BUILD_ROOT |
de82433f | 276 | %endif |
dffafefb | 277 | |
00526c46 | 278 | %if %{with qm} |
1a388717 | 279 | %{__make} -C qttranslations-everywhere-src-%{version} install \ |
00526c46 JB |
280 | INSTALL_ROOT=$RPM_BUILD_ROOT |
281 | # keep only qtdeclarative | |
33c8f168 | 282 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/qt5/translations/{assistant,designer,linguist,qt,qtbase,qtconnectivity,qtlocation,qtmultimedia,qtquickcontrols,qtquickcontrols2,qtserialport,qtscript,qtwebengine,qtwebsockets,qtxmlpatterns}_*.qm |
00526c46 JB |
283 | %endif |
284 | ||
395735ed JB |
285 | # kill unnecessary -L%{_libdir} from *.la, *.prl, *.pc |
286 | %{__sed} -i -e "s,-L%{_libdir} \?,,g" \ | |
287 | $RPM_BUILD_ROOT%{_libdir}/*.{la,prl} \ | |
288 | $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc | |
289 | ||
290 | # useless symlinks | |
1a388717 | 291 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt5*.so.5.?? |
bb4fb35f JB |
292 | # actually drop *.la, follow policy of not packaging them when *.pc exist |
293 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt5*.la | |
294 | ||
395735ed | 295 | # symlinks in system bin dir |
3c5593b2 | 296 | for f in qml qmlcachegen qmlimportscanner qmlmin qmlplugindump qmlpreview qmlprofiler qmlscene qmltestrunner qmltime qmleasing qmllint qmlformat qmltyperegistrar; do |
395735ed JB |
297 | ln -sf ../%{_lib}/qt5/bin/$f $RPM_BUILD_ROOT%{_bindir}/${f}-qt5 |
298 | done | |
299 | ||
dffafefb WF |
300 | # Prepare some files list |
301 | ifecho() { | |
395735ed | 302 | r="$RPM_BUILD_ROOT$2" |
dffafefb WF |
303 | if [ -d "$r" ]; then |
304 | echo "%%dir $2" >> $1.files | |
305 | elif [ -x "$r" ] ; then | |
306 | echo "%%attr(755,root,root) $2" >> $1.files | |
307 | elif [ -f "$r" ]; then | |
308 | echo "$2" >> $1.files | |
309 | else | |
310 | echo "Error generation $1 files list!" | |
311 | echo "$r: no such file or directory!" | |
312 | return 1 | |
313 | fi | |
314 | } | |
395735ed JB |
315 | ifecho_tree() { |
316 | ifecho $1 $2 | |
317 | for f in `find $RPM_BUILD_ROOT$2 -printf "%%P "`; do | |
318 | ifecho $1 $2/$f | |
319 | done | |
320 | } | |
dffafefb WF |
321 | |
322 | echo "%defattr(644,root,root,755)" > examples.files | |
395735ed JB |
323 | ifecho_tree examples %{_examplesdir}/qt5/qml |
324 | ifecho_tree examples %{_examplesdir}/qt5/qmltest | |
325 | ifecho_tree examples %{_examplesdir}/qt5/quick | |
dffafefb | 326 | |
de82433f | 327 | # find_lang --with-qm supports only PLD qt3/qt4 specific %{_localedir}/*/LC_MESSAGES layout |
00526c46 JB |
328 | find_qt5_qm() |
329 | { | |
330 | name="$1" | |
331 | find $RPM_BUILD_ROOT%{_datadir}/qt5/translations -name "${name}_*.qm" | \ | |
332 | sed -e "s:^$RPM_BUILD_ROOT::" \ | |
333 | -e 's:\(.*/'$name'_\)\([a-z][a-z][a-z]\?\)\(_[A-Z][A-Z]\)\?\(\.qm\)$:%lang(\2\3) \1\2\3\4:' | |
334 | } | |
335 | ||
336 | echo '%defattr(644,root,root,755)' > qtdeclarative.lang | |
337 | %if %{with qm} | |
338 | find_qt5_qm qtdeclarative >> qtdeclarative.lang | |
339 | %endif | |
340 | ||
dffafefb WF |
341 | %clean |
342 | rm -rf $RPM_BUILD_ROOT | |
343 | ||
d8e27435 JB |
344 | %post -n Qt5Qml -p /sbin/ldconfig |
345 | %postun -n Qt5Qml -p /sbin/ldconfig | |
346 | ||
347 | %post -n Qt5Quick -p /sbin/ldconfig | |
348 | %postun -n Qt5Quick -p /sbin/ldconfig | |
dffafefb WF |
349 | |
350 | %files | |
351 | %defattr(644,root,root,755) | |
1a388717 | 352 | %attr(755,root,root) %{_bindir}/qmlcachegen-qt5 |
2e85cf37 | 353 | %attr(755,root,root) %{_bindir}/qmleasing-qt5 |
0a3e7830 | 354 | %attr(755,root,root) %{_bindir}/qmlformat-qt5 |
395735ed | 355 | %attr(755,root,root) %{_bindir}/qmlimportscanner-qt5 |
2e85cf37 | 356 | %attr(755,root,root) %{_bindir}/qmllint-qt5 |
395735ed JB |
357 | %attr(755,root,root) %{_bindir}/qmlmin-qt5 |
358 | %attr(755,root,root) %{_bindir}/qmlplugindump-qt5 | |
33c8f168 | 359 | %attr(755,root,root) %{_bindir}/qmlpreview-qt5 |
395735ed | 360 | %attr(755,root,root) %{_bindir}/qmlprofiler-qt5 |
2e85cf37 | 361 | %attr(755,root,root) %{_bindir}/qml-qt5 |
395735ed JB |
362 | %attr(755,root,root) %{_bindir}/qmlscene-qt5 |
363 | %attr(755,root,root) %{_bindir}/qmltestrunner-qt5 | |
3c5593b2 | 364 | %attr(755,root,root) %{_bindir}/qmltime-qt5 |
0a3e7830 | 365 | %attr(755,root,root) %{_bindir}/qmltyperegistrar-qt5 |
395735ed | 366 | %attr(755,root,root) %{qt5dir}/bin/qml |
1a388717 | 367 | %attr(755,root,root) %{qt5dir}/bin/qmlcachegen |
2e85cf37 | 368 | %attr(755,root,root) %{qt5dir}/bin/qmleasing |
0a3e7830 | 369 | %attr(755,root,root) %{qt5dir}/bin/qmlformat |
395735ed | 370 | %attr(755,root,root) %{qt5dir}/bin/qmlimportscanner |
2e85cf37 | 371 | %attr(755,root,root) %{qt5dir}/bin/qmllint |
395735ed JB |
372 | %attr(755,root,root) %{qt5dir}/bin/qmlmin |
373 | %attr(755,root,root) %{qt5dir}/bin/qmlplugindump | |
33c8f168 | 374 | %attr(755,root,root) %{qt5dir}/bin/qmlpreview |
395735ed JB |
375 | %attr(755,root,root) %{qt5dir}/bin/qmlprofiler |
376 | %attr(755,root,root) %{qt5dir}/bin/qmlscene | |
377 | %attr(755,root,root) %{qt5dir}/bin/qmltestrunner | |
3c5593b2 | 378 | %attr(755,root,root) %{qt5dir}/bin/qmltime |
0a3e7830 | 379 | %attr(755,root,root) %{qt5dir}/bin/qmltyperegistrar |
d8e27435 | 380 | |
00526c46 | 381 | %files -n Qt5Qml -f qtdeclarative.lang |
d8e27435 | 382 | %defattr(644,root,root,755) |
1a388717 | 383 | %doc LICENSE.GPL3-EXCEPT |
d8e27435 JB |
384 | %attr(755,root,root) %{_libdir}/libQt5Qml.so.*.*.* |
385 | %attr(755,root,root) %ghost %{_libdir}/libQt5Qml.so.5 | |
9e26daa7 JP |
386 | %attr(755,root,root) %{_libdir}/libQt5QmlModels.so.*.*.* |
387 | %attr(755,root,root) %ghost %{_libdir}/libQt5QmlModels.so.5 | |
388 | %attr(755,root,root) %{_libdir}/libQt5QmlWorkerScript.so.*.*.* | |
389 | %attr(755,root,root) %ghost %{_libdir}/libQt5QmlWorkerScript.so.5 | |
d8e27435 JB |
390 | |
391 | # loaded from src/qml/debugger/{qqmldebugserver,qqmlinspectorservice}.cpp | |
395735ed | 392 | %dir %{qt5dir}/plugins/qmltooling |
e7e4b306 | 393 | # R: Core Network Qml |
de82433f | 394 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_debugger.so |
25430150 | 395 | # R: Core Network Qml |
de82433f | 396 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_local.so |
25430150 | 397 | # R: Core Qml |
1a388717 | 398 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_messages.so |
25430150 | 399 | # R: Core Qml |
de82433f | 400 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_native.so |
25430150 | 401 | # R: Core Qml |
1a388717 | 402 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_nativedebugger.so |
25430150 | 403 | # R: Core Qml |
de82433f | 404 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_profiler.so |
25430150 | 405 | # R: Core Qml |
de82433f | 406 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_server.so |
25430150 | 407 | # R: Core Network Qml |
395735ed | 408 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_tcp.so |
d8e27435 | 409 | |
395735ed JB |
410 | %dir %{qt5dir}/qml |
411 | %dir %{qt5dir}/qml/Qt | |
412 | %dir %{qt5dir}/qml/Qt/labs | |
9e26daa7 | 413 | %dir %{qt5dir}/qml/Qt/labs/animation |
25430150 | 414 | # R: Core Qml |
9e26daa7 JP |
415 | %attr(755,root,root) %{qt5dir}/qml/Qt/labs/animation/liblabsanimationplugin.so |
416 | %{qt5dir}/qml/Qt/labs/animation/plugins.qmltypes | |
417 | %{qt5dir}/qml/Qt/labs/animation/qmldir | |
418 | ||
395735ed | 419 | %dir %{qt5dir}/qml/Qt/labs/folderlistmodel |
e7e4b306 | 420 | # R: Core Qml |
395735ed JB |
421 | %attr(755,root,root) %{qt5dir}/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.so |
422 | %{qt5dir}/qml/Qt/labs/folderlistmodel/plugins.qmltypes | |
423 | %{qt5dir}/qml/Qt/labs/folderlistmodel/qmldir | |
33c8f168 JP |
424 | |
425 | %dir %{qt5dir}/qml/Qt/labs/qmlmodels | |
426 | %{qt5dir}/qml/Qt/labs/qmlmodels/plugins.qmltypes | |
427 | %{qt5dir}/qml/Qt/labs/qmlmodels/qmldir | |
25430150 | 428 | # R: Core Qml QmlModels |
33c8f168 | 429 | %attr(755,root,root) %{qt5dir}/qml/Qt/labs/qmlmodels/liblabsmodelsplugin.so |
1a388717 | 430 | |
395735ed | 431 | %dir %{qt5dir}/qml/Qt/labs/settings |
e7e4b306 | 432 | # R: Core Qml |
395735ed JB |
433 | %attr(755,root,root) %{qt5dir}/qml/Qt/labs/settings/libqmlsettingsplugin.so |
434 | %{qt5dir}/qml/Qt/labs/settings/plugins.qmltypes | |
435 | %{qt5dir}/qml/Qt/labs/settings/qmldir | |
1a388717 | 436 | |
395735ed | 437 | %dir %{qt5dir}/qml/QtQml |
25430150 | 438 | # R: Core Qml QmlModels |
9e26daa7 | 439 | %attr(755,root,root) %{qt5dir}/qml/QtQml/libqmlplugin.so |
395735ed | 440 | %dir %{qt5dir}/qml/QtQml/Models.2 |
25430150 | 441 | # R: Core Qml QmlModels |
395735ed | 442 | %attr(755,root,root) %{qt5dir}/qml/QtQml/Models.2/libmodelsplugin.so |
b7c915ec | 443 | %{qt5dir}/qml/QtQml/Models.2/plugins.qmltypes |
395735ed | 444 | %{qt5dir}/qml/QtQml/Models.2/qmldir |
d8e27435 | 445 | |
9e26daa7 | 446 | %dir %{qt5dir}/qml/QtQml/StateMachine |
25430150 | 447 | # R: Core Qml |
2e85cf37 JR |
448 | %attr(755,root,root) %{qt5dir}/qml/QtQml/StateMachine/libqtqmlstatemachine.so |
449 | %{qt5dir}/qml/QtQml/StateMachine/plugins.qmltypes | |
450 | %{qt5dir}/qml/QtQml/StateMachine/qmldir | |
451 | ||
9e26daa7 | 452 | %dir %{qt5dir}/qml/QtQml/WorkerScript.2 |
25430150 | 453 | # R: Core Qml QmlWorkerScript |
9e26daa7 JP |
454 | %attr(755,root,root) %{qt5dir}/qml/QtQml/WorkerScript.2/libworkerscriptplugin.so |
455 | %{qt5dir}/qml/QtQml/WorkerScript.2/plugins.qmltypes | |
456 | %{qt5dir}/qml/QtQml/WorkerScript.2/qmldir | |
457 | ||
de82433f JR |
458 | %{qt5dir}/qml/QtQml/plugins.qmltypes |
459 | %{qt5dir}/qml/QtQml/qmldir | |
460 | %{qt5dir}/qml/builtins.qmltypes | |
461 | ||
d8e27435 JB |
462 | %files -n Qt5Qml-devel |
463 | %defattr(644,root,root,755) | |
464 | %attr(755,root,root) %{_libdir}/libQt5Qml.so | |
9e26daa7 JP |
465 | %attr(755,root,root) %{_libdir}/libQt5QmlModels.so |
466 | %attr(755,root,root) %{_libdir}/libQt5QmlWorkerScript.so | |
d8e27435 | 467 | # static-only |
de82433f | 468 | %{_libdir}/libQt5PacketProtocol.a |
de82433f | 469 | %{_libdir}/libQt5QmlDebug.a |
d8e27435 | 470 | %{_libdir}/libQt5QmlDevTools.a |
25430150 | 471 | %{_libdir}/libQt5PacketProtocol.prl |
d8e27435 | 472 | %{_libdir}/libQt5Qml.prl |
25430150 | 473 | %{_libdir}/libQt5QmlDebug.prl |
d8e27435 | 474 | %{_libdir}/libQt5QmlDevTools.prl |
9e26daa7 JP |
475 | %{_libdir}/libQt5QmlModels.prl |
476 | %{_libdir}/libQt5QmlWorkerScript.prl | |
0a3e7830 JP |
477 | %{_libdir}/metatypes/qt5qml_metatypes.json |
478 | %{_libdir}/metatypes/qt5qmlmodels_metatypes.json | |
479 | %{_libdir}/metatypes/qt5qmlworkerscript_metatypes.json | |
d8e27435 | 480 | %{_includedir}/qt5/QtQml |
de82433f | 481 | %{_includedir}/qt5/QtQmlDebug |
9e26daa7 JP |
482 | %{_includedir}/qt5/QtQmlModels |
483 | %{_includedir}/qt5/QtQmlWorkerScript | |
de82433f | 484 | %{_includedir}/qt5/QtPacketProtocol |
d8e27435 | 485 | %{_pkgconfigdir}/Qt5Qml.pc |
9e26daa7 JP |
486 | %{_pkgconfigdir}/Qt5QmlModels.pc |
487 | %{_pkgconfigdir}/Qt5QmlWorkerScript.pc | |
7a299fc1 | 488 | %{_libdir}/cmake/Qt5PacketProtocol |
d8e27435 | 489 | %{_libdir}/cmake/Qt5Qml |
7a299fc1 JP |
490 | %{_libdir}/cmake/Qt5QmlDebug |
491 | %{_libdir}/cmake/Qt5QmlDevTools | |
9e26daa7 JP |
492 | %{_libdir}/cmake/Qt5QmlImportScanner |
493 | %{_libdir}/cmake/Qt5QmlModels | |
494 | %{_libdir}/cmake/Qt5QmlWorkerScript | |
7a299fc1 JP |
495 | %{_libdir}/cmake/Qt5QuickParticles |
496 | %{_libdir}/cmake/Qt5QuickShapes | |
1a388717 | 497 | %{qt5dir}/mkspecs/features/qmlcache.prf |
0a3e7830 | 498 | %{qt5dir}/mkspecs/features/qmltypes.prf |
de82433f | 499 | %{qt5dir}/mkspecs/modules/qt_lib_packetprotocol_private.pri |
d8e27435 JB |
500 | %{qt5dir}/mkspecs/modules/qt_lib_qml.pri |
501 | %{qt5dir}/mkspecs/modules/qt_lib_qml_private.pri | |
de82433f | 502 | %{qt5dir}/mkspecs/modules/qt_lib_qmldebug_private.pri |
d8e27435 | 503 | %{qt5dir}/mkspecs/modules/qt_lib_qmldevtools_private.pri |
9e26daa7 JP |
504 | %{qt5dir}/mkspecs/modules/qt_lib_qmlmodels.pri |
505 | %{qt5dir}/mkspecs/modules/qt_lib_qmlmodels_private.pri | |
d8e27435 JB |
506 | %{qt5dir}/mkspecs/modules/qt_lib_qmltest.pri |
507 | %{qt5dir}/mkspecs/modules/qt_lib_qmltest_private.pri | |
9e26daa7 JP |
508 | %{qt5dir}/mkspecs/modules/qt_lib_qmlworkerscript.pri |
509 | %{qt5dir}/mkspecs/modules/qt_lib_qmlworkerscript_private.pri | |
d8e27435 JB |
510 | |
511 | %files -n Qt5Quick | |
512 | %defattr(644,root,root,755) | |
513 | %attr(755,root,root) %{_libdir}/libQt5Quick.so.*.*.* | |
514 | %attr(755,root,root) %ghost %{_libdir}/libQt5Quick.so.5 | |
515 | %attr(755,root,root) %{_libdir}/libQt5QuickParticles.so.*.*.* | |
516 | %attr(755,root,root) %ghost %{_libdir}/libQt5QuickParticles.so.5 | |
33c8f168 JP |
517 | %attr(755,root,root) %{_libdir}/libQt5QuickShapes.so.*.*.* |
518 | %attr(755,root,root) %ghost %{_libdir}/libQt5QuickShapes.so.5 | |
d8e27435 JB |
519 | %attr(755,root,root) %{_libdir}/libQt5QuickTest.so.*.*.* |
520 | %attr(755,root,root) %ghost %{_libdir}/libQt5QuickTest.so.5 | |
595bacf4 JB |
521 | %attr(755,root,root) %{_libdir}/libQt5QuickWidgets.so.*.*.* |
522 | %attr(755,root,root) %ghost %{_libdir}/libQt5QuickWidgets.so.5 | |
d8e27435 | 523 | |
25430150 JB |
524 | # R: Core Gui Qml Quick |
525 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_inspector.so | |
d8e27435 | 526 | # R: Core Gui Qml Quick |
33c8f168 | 527 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_preview.so |
25430150 | 528 | # R: Core Qml Quick |
de82433f | 529 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_quickprofiler.so |
d8e27435 | 530 | |
0be0a93b JB |
531 | %if %{with openvg} |
532 | %dir %{qt5dir}/plugins/scenegraph | |
533 | # R: Core Gui Quick EGL OpenVG | |
534 | %attr(755,root,root) %{qt5dir}/plugins/scenegraph/libqsgopenvgbackend.so | |
535 | %endif | |
536 | ||
25430150 JB |
537 | %dir %{qt5dir}/qml/Qt/labs/sharedimage |
538 | # R: Core Gui Qml Quick | |
539 | %attr(755,root,root) %{qt5dir}/qml/Qt/labs/sharedimage/libsharedimageplugin.so | |
540 | %{qt5dir}/qml/Qt/labs/sharedimage/plugins.qmltypes | |
541 | %{qt5dir}/qml/Qt/labs/sharedimage/qmldir | |
542 | ||
543 | %dir %{qt5dir}/qml/Qt/labs/wavefrontmesh | |
544 | # R: Core Gui Qml Quick | |
545 | %attr(755,root,root) %{qt5dir}/qml/Qt/labs/wavefrontmesh/libqmlwavefrontmeshplugin.so | |
546 | %{qt5dir}/qml/Qt/labs/wavefrontmesh/plugins.qmltypes | |
547 | %{qt5dir}/qml/Qt/labs/wavefrontmesh/qmldir | |
548 | ||
0a3e7830 JP |
549 | %dir %{qt5dir}/qml/Qt/test |
550 | %dir %{qt5dir}/qml/Qt/test/qtestroot | |
551 | %{qt5dir}/qml/Qt/test/qtestroot/plugins.qmltypes | |
552 | %{qt5dir}/qml/Qt/test/qtestroot/qmldir | |
553 | ||
395735ed | 554 | %dir %{qt5dir}/qml/QtQuick |
00526c46 | 555 | |
de82433f | 556 | %dir %{qt5dir}/qml/QtQuick/Layouts |
25430150 JB |
557 | # R: Core Gui Qml Quick |
558 | %attr(755,root,root) %{qt5dir}/qml/QtQuick/Layouts/libqquicklayoutsplugin.so | |
de82433f JR |
559 | %{qt5dir}/qml/QtQuick/Layouts/plugins.qmltypes |
560 | %{qt5dir}/qml/QtQuick/Layouts/qmldir | |
561 | ||
395735ed | 562 | %dir %{qt5dir}/qml/QtQuick/LocalStorage |
e7e4b306 | 563 | # R: Core Qml Sql |
395735ed JB |
564 | %attr(755,root,root) %{qt5dir}/qml/QtQuick/LocalStorage/libqmllocalstorageplugin.so |
565 | %{qt5dir}/qml/QtQuick/LocalStorage/plugins.qmltypes | |
566 | %{qt5dir}/qml/QtQuick/LocalStorage/qmldir | |
00526c46 | 567 | |
395735ed | 568 | %dir %{qt5dir}/qml/QtQuick/Particles.2 |
e7e4b306 | 569 | # R: Core Qml QuickParticles |
395735ed JB |
570 | %attr(755,root,root) %{qt5dir}/qml/QtQuick/Particles.2/libparticlesplugin.so |
571 | %{qt5dir}/qml/QtQuick/Particles.2/plugins.qmltypes | |
572 | %{qt5dir}/qml/QtQuick/Particles.2/qmldir | |
00526c46 | 573 | |
1a388717 | 574 | %dir %{qt5dir}/qml/QtQuick/Shapes |
25430150 | 575 | # R: Core Qml QuickShapes |
1a388717 AM |
576 | %attr(755,root,root) %{qt5dir}/qml/QtQuick/Shapes/libqmlshapesplugin.so |
577 | %{qt5dir}/qml/QtQuick/Shapes/plugins.qmltypes | |
578 | %{qt5dir}/qml/QtQuick/Shapes/qmldir | |
579 | ||
395735ed | 580 | %dir %{qt5dir}/qml/QtQuick/Window.2 |
25430150 | 581 | # R: Core Gui Qml Quick |
395735ed JB |
582 | %attr(755,root,root) %{qt5dir}/qml/QtQuick/Window.2/libwindowplugin.so |
583 | %{qt5dir}/qml/QtQuick/Window.2/plugins.qmltypes | |
584 | %{qt5dir}/qml/QtQuick/Window.2/qmldir | |
00526c46 | 585 | |
395735ed | 586 | %dir %{qt5dir}/qml/QtQuick.2 |
25430150 | 587 | # R: Core Qml QmlModels QmlWorkerScript Quick |
395735ed JB |
588 | %attr(755,root,root) %{qt5dir}/qml/QtQuick.2/libqtquick2plugin.so |
589 | %{qt5dir}/qml/QtQuick.2/plugins.qmltypes | |
590 | %{qt5dir}/qml/QtQuick.2/qmldir | |
00526c46 | 591 | |
395735ed | 592 | %dir %{qt5dir}/qml/QtTest |
25430150 | 593 | # R: Core Gui Qml Quick QuickTest Widgets Test |
395735ed JB |
594 | %attr(755,root,root) %{qt5dir}/qml/QtTest/libqmltestplugin.so |
595 | %{qt5dir}/qml/QtTest/plugins.qmltypes | |
596 | %{qt5dir}/qml/QtTest/qmldir | |
597 | %{qt5dir}/qml/QtTest/testlogger.js | |
598 | %{qt5dir}/qml/QtTest/*.qml | |
dffafefb | 599 | |
d8e27435 | 600 | %files -n Qt5Quick-devel |
dffafefb | 601 | %defattr(644,root,root,755) |
dffafefb WF |
602 | %attr(755,root,root) %{_libdir}/libQt5Quick.so |
603 | %attr(755,root,root) %{_libdir}/libQt5QuickParticles.so | |
33c8f168 | 604 | %attr(755,root,root) %{_libdir}/libQt5QuickShapes.so |
dffafefb | 605 | %attr(755,root,root) %{_libdir}/libQt5QuickTest.so |
595bacf4 | 606 | %attr(755,root,root) %{_libdir}/libQt5QuickWidgets.so |
dffafefb WF |
607 | %{_libdir}/libQt5Quick.prl |
608 | %{_libdir}/libQt5QuickParticles.prl | |
33c8f168 | 609 | %{_libdir}/libQt5QuickShapes.prl |
dffafefb | 610 | %{_libdir}/libQt5QuickTest.prl |
595bacf4 | 611 | %{_libdir}/libQt5QuickWidgets.prl |
0a3e7830 JP |
612 | %{_libdir}/metatypes/qt5quick_metatypes.json |
613 | %{_libdir}/metatypes/qt5quickparticles_metatypes.json | |
614 | %{_libdir}/metatypes/qt5quickshapes_metatypes.json | |
615 | %{_libdir}/metatypes/qt5quicktest_metatypes.json | |
dffafefb WF |
616 | %{_includedir}/qt5/QtQuick |
617 | %{_includedir}/qt5/QtQuickParticles | |
33c8f168 | 618 | %{_includedir}/qt5/QtQuickShapes |
dffafefb | 619 | %{_includedir}/qt5/QtQuickTest |
595bacf4 | 620 | %{_includedir}/qt5/QtQuickWidgets |
395735ed | 621 | %{_pkgconfigdir}/Qt5Quick.pc |
395735ed | 622 | %{_pkgconfigdir}/Qt5QuickTest.pc |
595bacf4 | 623 | %{_pkgconfigdir}/Qt5QuickWidgets.pc |
d8e27435 | 624 | %{_libdir}/cmake/Qt5Quick |
1a388717 | 625 | %{_libdir}/cmake/Qt5QuickCompiler |
d8e27435 | 626 | %{_libdir}/cmake/Qt5QuickTest |
595bacf4 | 627 | %{_libdir}/cmake/Qt5QuickWidgets |
1a388717 | 628 | %{qt5dir}/mkspecs/features/qtquickcompiler.prf |
395735ed JB |
629 | %{qt5dir}/mkspecs/modules/qt_lib_quick.pri |
630 | %{qt5dir}/mkspecs/modules/qt_lib_quick_private.pri | |
631 | %{qt5dir}/mkspecs/modules/qt_lib_quickparticles_private.pri | |
33c8f168 | 632 | %{qt5dir}/mkspecs/modules/qt_lib_quickshapes_private.pri |
595bacf4 JB |
633 | %{qt5dir}/mkspecs/modules/qt_lib_quickwidgets.pri |
634 | %{qt5dir}/mkspecs/modules/qt_lib_quickwidgets_private.pri | |
dffafefb | 635 | |
de82433f | 636 | %if %{with doc} |
3329af2e WF |
637 | %files doc |
638 | %defattr(644,root,root,755) | |
395735ed | 639 | %{_docdir}/qt5-doc/qtqml |
9e26daa7 JP |
640 | %{_docdir}/qt5-doc/qtqmlmodels |
641 | %{_docdir}/qt5-doc/qtqmltest | |
642 | %{_docdir}/qt5-doc/qtqmlworkerscript | |
395735ed | 643 | %{_docdir}/qt5-doc/qtquick |
395735ed | 644 | |
e7e4b306 JB |
645 | %files doc-qch |
646 | %defattr(644,root,root,755) | |
395735ed | 647 | %{_docdir}/qt5-doc/qtqml.qch |
9e26daa7 JP |
648 | %{_docdir}/qt5-doc/qtqmlmodels.qch |
649 | %{_docdir}/qt5-doc/qtqmltest.qch | |
650 | %{_docdir}/qt5-doc/qtqmlworkerscript.qch | |
395735ed | 651 | %{_docdir}/qt5-doc/qtquick.qch |
395735ed | 652 | %endif |
3329af2e | 653 | |
dffafefb | 654 | %files examples -f examples.files |
595bacf4 | 655 | %defattr(644,root,root,755) |
395735ed JB |
656 | # XXX: dir shared with qt5-qtbase-examples |
657 | %dir %{_examplesdir}/qt5 |