]>
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 | |
de82433f | 5 | %bcond_without doc |
00526c46 JB |
6 | %bcond_without qch # documentation in QCH format |
7 | %bcond_without qm # QM translations | |
8 | %bcond_without qtxmlpatterns # XmlListModel plugin (Qt5XmlPatterns based) | |
dffafefb | 9 | |
7108e619 | 10 | %if %{with bootstrap} |
de82433f | 11 | %undefine with_doc |
7108e619 ER |
12 | %undefine with_qch |
13 | %undefine with_qm | |
14 | %undefine with_qtxmlpatterns | |
15 | %endif | |
16 | ||
dffafefb | 17 | %define orgname qtdeclarative |
00526c46 | 18 | %define qtbase_ver %{version} |
de82433f | 19 | %define qttools_ver 5.8 |
00526c46 | 20 | %define qtxmlpatterns_ver %{version} |
bb4fb35f JB |
21 | Summary: The Qt5 Declarative libraries |
22 | Summary(pl.UTF-8): Biblioteki Qt5 Declarative | |
dffafefb | 23 | Name: qt5-%{orgname} |
de82433f | 24 | Version: 5.8.0 |
8463f129 | 25 | Release: 1 |
d8e27435 | 26 | License: LGPL v2.1 with Digia Qt LGPL Exception v1.1 or GPL v3.0 |
dffafefb | 27 | Group: X11/Libraries |
de82433f JR |
28 | Source0: http://download.qt.io/official_releases/qt/5.8/%{version}/submodules/%{orgname}-opensource-src-%{version}.tar.xz |
29 | # Source0-md5: 4f55b3617abdff14706d02d761d5a0aa | |
30 | Source1: http://download.qt.io/official_releases/qt/5.8/%{version}/submodules/qttranslations-opensource-src-%{version}.tar.xz | |
31 | # Source1-md5: b6c6748a923b9639c7d018cfdb04caf4 | |
b7c915ec | 32 | URL: http://www.qt.io/ |
395735ed JB |
33 | BuildRequires: OpenGL-devel |
34 | BuildRequires: Qt5Core-devel >= %{qtbase_ver} | |
35 | BuildRequires: Qt5Gui-devel >= %{qtbase_ver} | |
36 | BuildRequires: Qt5Network-devel >= %{qtbase_ver} | |
37 | BuildRequires: Qt5Sql-devel >= %{qtbase_ver} | |
38 | BuildRequires: Qt5Test-devel >= %{qtbase_ver} | |
39 | BuildRequires: Qt5Widgets-devel >= %{qtbase_ver} | |
00526c46 | 40 | %{?with_qtxmlpatterns:BuildRequires: Qt5XmlPatterns-devel >= %{qtxmlpatterns_ver}} |
395735ed JB |
41 | %if %{with qch} |
42 | BuildRequires: qt5-assistant >= %{qttools_ver} | |
43 | %endif | |
44 | BuildRequires: qt5-build >= %{qtbase_ver} | |
00526c46 | 45 | %{?with_qm:BuildRequires: qt5-linguist >= %{qttools_ver}} |
395735ed | 46 | BuildRequires: qt5-qmake >= %{qtbase_ver} |
dffafefb | 47 | BuildRequires: rpmbuild(macros) >= 1.654 |
06f64f71 ER |
48 | BuildRequires: tar >= 1:1.22 |
49 | BuildRequires: xz | |
d8e27435 | 50 | # qml: Core Gui Qml Widgets |
d8e27435 JB |
51 | # qmlimportscanner: Core |
52 | # qmlmin: Core | |
53 | # qmlplugindump: Core Gui Qml Quick | |
54 | # qmlprofilter: Core Network | |
55 | # qmlscene: Core Gui Qml Quick Widgets | |
56 | # qmltestrunner: QuickTest | |
57 | Requires: Qt5Core >= %{qtbase_ver} | |
58 | Requires: Qt5Gui >= %{qtbase_ver} | |
59 | Requires: Qt5Network >= %{qtbase_ver} | |
60 | Requires: Qt5Qml = %{version}-%{release} | |
61 | Requires: Qt5Quick = %{version}-%{release} | |
62 | Requires: Qt5Widgets >= %{qtbase_ver} | |
dffafefb WF |
63 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
64 | ||
dffafefb | 65 | %define specflags -fno-strict-aliasing |
bb4fb35f | 66 | %define qt5dir %{_libdir}/qt5 |
dffafefb WF |
67 | |
68 | %description | |
bb4fb35f JB |
69 | Qt is a cross-platform application and UI framework. Using Qt, you can |
70 | write web-enabled applications once and deploy them across desktop, | |
71 | mobile and embedded systems without rewriting the source code. | |
72 | ||
73 | This package contains Qt5 Declarative libraries. | |
74 | ||
75 | %description -l pl.UTF-8 | |
76 | Qt to wieloplatformowy szkielet aplikacji i interfejsów użytkownika. | |
77 | Przy użyciu Qt można pisać aplikacje powiązane z WWW i wdrażać je w | |
78 | systemach biurkowych, przenośnych i wbudowanych bez przepisywania kodu | |
79 | źródłowego. | |
80 | ||
81 | Ten pakiet zawiera biblioteki Qt5 Declarative. | |
dffafefb | 82 | |
d8e27435 JB |
83 | %package -n Qt5Qml |
84 | Summary: Qt5 Qml libraries | |
85 | Summary(pl.UTF-8): Biblioteki Qt5 Qml | |
86 | Group: Libraries | |
87 | # Qt5Qml: Core Network | |
88 | Requires: Qt5Core >= %{qtbase_ver} | |
89 | Requires: Qt5Network >= %{qtbase_ver} | |
90 | ||
91 | %description -n Qt5Qml | |
92 | The Qt5 QML module provides a framework for developing applications | |
93 | and libraries with the QML language. It defines and implements the | |
94 | language and engine infrastructure, and provides an API to enable | |
95 | application developers to extend the QML language with custom types | |
96 | and integrate QML code with JavaScript and C++. The Qt5 QML module | |
97 | provides both a QML API and a C++ API. | |
98 | ||
99 | %description -n Qt5Qml -l pl.UTF-8 | |
100 | Moduł Qt5 Qml dostarcza szkielet do tworzenia aplikacji i bibliotek | |
101 | przy użyciu języka QML. Moduł definiuje i implementuje język oraz | |
102 | silnik, a także udostąpnia API pozwalające programistom rozszerzać | |
103 | język QML o własne typy oraz integrować kod w języku QML z | |
104 | JavaScriptem i C++. Moduł Qt5 QML udostępnia API zarówno dla języka | |
105 | QML, jak i C++. | |
106 | ||
107 | %package -n Qt5Qml-devel | |
108 | Summary: Qt5 Qml libraries - development files | |
109 | Summary(pl.UTF-8): Biblioteki Qt5 Qml - pliki programistyczne | |
110 | Group: Development/Libraries | |
111 | # Qt5Qml: Core Network | |
112 | # Qt5QmlDevTools: Core | |
113 | Requires: Qt5Core-devel >= %{qtbase_ver} | |
114 | Requires: Qt5Network-devel >= %{qtbase_ver} | |
115 | Requires: Qt5Qml = %{version}-%{release} | |
116 | Obsoletes: qt5-qtdeclarative-devel | |
117 | ||
118 | %description -n Qt5Qml-devel | |
119 | Qt5 Qml libraries - development files. | |
120 | ||
121 | %description -n Qt5Qml-devel -l pl.UTF-8 | |
122 | Biblioteki Qt5 Qml - pliki programistyczne. | |
123 | ||
124 | %package -n Qt5Quick | |
125 | Summary: Qt5 Quick libraries | |
126 | Summary(pl.UTF-8): Biblioteki Qt5 Quick | |
127 | Group: X11/Libraries | |
128 | # Qt5Quick: Core Gui Network Qml | |
129 | # Qt5QuickParticles: Core Gui Qml Quick | |
130 | # Qt5QuickTest: Gui Qml Quick Test Widgets | |
131 | Requires: Qt5Core >= %{qtbase_ver} | |
132 | Requires: Qt5Gui >= %{qtbase_ver} | |
133 | Requires: Qt5Network >= %{qtbase_ver} | |
134 | Requires: Qt5Qml = %{version}-%{release} | |
135 | Requires: Qt5Test >= %{qtbase_ver} | |
136 | Requires: Qt5Widgets >= %{qtbase_ver} | |
137 | ||
138 | %description -n Qt5Quick | |
139 | The Qt5 Quick module is the standard library for writing QML | |
140 | applications. While the Qt5 QML module provides the QML engine and | |
141 | language infrastructure, the Qt5 Quick module provides all the basic | |
142 | types necessary for creating user interfaces with QML. It provides a | |
143 | visual canvas and includes types for creating and animating visual | |
144 | components, receiving user input, creating data models and views and | |
145 | delayed object instantiation. | |
146 | ||
147 | The Qt5 Quick module provides both a QML API which supplies QML types | |
148 | for creating user interfaces with the QML language, and a C++ API for | |
149 | extending QML applications with C++ code. | |
150 | ||
151 | %description -n Qt5Quick -l pl.UTF-8 | |
152 | Moduł Qt5 Quick to biblioteka standardowa do pisania aplikacji QML. | |
153 | Sam moduł Qt5 QML dostarcza silnik i infrastrukturę języka, natomiast | |
154 | moduł Qt5 Quick udostępnia wszystkie podstawowe typy niezbędne do | |
155 | tworzenia interfejsu użytkownika przy użyciu języka QML. Udostępnia | |
156 | graficzne "płótno", zawiera typy do tworzenia i animowania komponentów | |
157 | graficznych, odczytu wejścia od użytkownika, tworzenia modeli i | |
158 | widoków danych oraz opóźnionych instancji obiektów. | |
159 | ||
160 | Moduł Qt5 Quick dostarcza API zarówno dla języka QML, zapewniające | |
161 | typy QML do tworzenia interfejsów użytkownika w języku QML, jak i dla | |
162 | języka C++ do rozszerzania aplikacji QML przy użyciu kodu w C++. | |
163 | ||
164 | %package -n Qt5Quick-devel | |
165 | Summary: Qt5 Qml libraries - development files | |
166 | Summary(pl.UTF-8): Biblioteki Qt5 Qml - pliki programistyczne | |
dffafefb | 167 | Group: X11/Development/Libraries |
d8e27435 JB |
168 | # Qt5Quick: Core Gui Network Qml |
169 | # Qt5QuickParticles: Core Gui Network Qml Quick | |
170 | # Qt5QuickTest: Core Gui Widgets | |
7f55d923 JB |
171 | Requires: Qt5Core-devel >= %{qtbase_ver} |
172 | Requires: Qt5Gui-devel >= %{qtbase_ver} | |
173 | Requires: Qt5Network-devel >= %{qtbase_ver} | |
d8e27435 JB |
174 | Requires: Qt5Qml-devel = %{version}-%{release} |
175 | Requires: Qt5Quick = %{version}-%{release} | |
7f55d923 | 176 | Requires: Qt5Widgets-devel >= %{qtbase_ver} |
d8e27435 JB |
177 | |
178 | %description -n Qt5Quick-devel | |
179 | Qt5 Qml libraries - development files. | |
180 | ||
181 | %description -n Qt5Quick-devel -l pl.UTF-8 | |
182 | Biblioteki Qt5 Qml - pliki programistyczne. | |
dffafefb | 183 | |
00526c46 JB |
184 | %package -n Qt5Quick-xmllistmodel |
185 | Summary: XmlListModel plugin for Qt5 Quick | |
186 | Summary(pl.UTF-8): Wtyczka XmlListModel dla Qt5 Quick | |
187 | Group: X11/Libraries | |
188 | Requires: Qt5Qml = %{version}-%{release} | |
189 | Requires: Qt5Quick = %{version}-%{release} | |
190 | Requires: Qt5XmlPatterns >= %{qtxmlpatterns_ver} | |
191 | ||
192 | %description -n Qt5Quick-xmllistmodel | |
193 | XmlListModel plugin for Qt5 Quick provides QML types for creating | |
194 | models from XML data. | |
195 | ||
196 | %description -n Qt5Quick-xmllistmodel -l pl.UTF-8 | |
197 | Wtyczka XmlListModel dla Qt5 Quick dostarcza typy QML do tworzenia | |
198 | modeli z danych XML. | |
199 | ||
3329af2e | 200 | %package doc |
e7e4b306 JB |
201 | Summary: Qt5 Declarative documentation in HTML format |
202 | Summary(pl.UTF-8): Dokumentacja do bibliotek Qt5 Declarative w formacie HTML | |
3329af2e | 203 | Group: Documentation |
bb4fb35f | 204 | Requires: qt5-doc-common >= %{qtbase_ver} |
26b61e36 ER |
205 | %if "%{_rpmversion}" >= "5" |
206 | BuildArch: noarch | |
207 | %endif | |
3329af2e WF |
208 | |
209 | %description doc | |
e7e4b306 | 210 | Qt5 Declarative documentation in HTML format. |
bb4fb35f JB |
211 | |
212 | %description doc -l pl.UTF-8 | |
e7e4b306 JB |
213 | Dokumentacja do bibliotek Qt5 Declarative w formacie HTML. |
214 | ||
215 | %package doc-qch | |
216 | Summary: Qt5 Declarative documentation in QCH format | |
217 | Summary(pl.UTF-8): Dokumentacja do bibliotek Qt5 Declarative w formacie QCH | |
218 | Group: Documentation | |
219 | Requires: qt5-doc-common >= %{qtbase_ver} | |
220 | %if "%{_rpmversion}" >= "5" | |
221 | BuildArch: noarch | |
222 | %endif | |
223 | ||
224 | %description doc-qch | |
225 | Qt5 Declarative documentation in QCH format. | |
226 | ||
227 | %description doc-qch -l pl.UTF-8 | |
228 | Dokumentacja do bibliotek Qt5 Declarative w formacie QCH. | |
3329af2e | 229 | |
dffafefb WF |
230 | %package examples |
231 | Summary: Qt5 Declarative examples | |
e7e4b306 | 232 | Summary(pl.UTF-8): Przykłady do bibliotek Qt5 Declarative |
dffafefb | 233 | Group: X11/Development/Libraries |
26b61e36 ER |
234 | %if "%{_rpmversion}" >= "5" |
235 | BuildArch: noarch | |
236 | %endif | |
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 | |
00526c46 | 245 | %setup -q -n %{orgname}-opensource-src-%{version} %{?with_qm:-a1} |
dffafefb WF |
246 | |
247 | %build | |
248 | qmake-qt5 | |
249 | %{__make} | |
de82433f JR |
250 | |
251 | %if %{with doc} | |
395735ed | 252 | %{__make} %{!?with_qch:html_}docs |
de82433f | 253 | %endif |
dffafefb | 254 | |
00526c46 JB |
255 | %if %{with qm} |
256 | cd qttranslations-opensource-src-%{version} | |
257 | qmake-qt5 | |
258 | %{__make} | |
259 | cd .. | |
260 | %endif | |
261 | ||
dffafefb WF |
262 | %install |
263 | rm -rf $RPM_BUILD_ROOT | |
395735ed JB |
264 | install -d $RPM_BUILD_ROOT%{_bindir} |
265 | ||
3329af2e WF |
266 | %{__make} install \ |
267 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
268 | ||
de82433f | 269 | %if %{with doc} |
395735ed | 270 | %{__make} install_%{!?with_qch:html_}docs \ |
dffafefb | 271 | INSTALL_ROOT=$RPM_BUILD_ROOT |
de82433f | 272 | %endif |
dffafefb | 273 | |
00526c46 JB |
274 | %if %{with qm} |
275 | %{__make} -C qttranslations-opensource-src-%{version} install \ | |
276 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
277 | # keep only qtdeclarative | |
b7c915ec | 278 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/qt5/translations/{assistant,designer,linguist,qmlviewer,qt,qtbase,qtconfig,qtconnectivity,qtlocation,qtmultimedia,qtquick1,qtquickcontrols,qtscript,qtwebsockets,qtxmlpatterns}_*.qm |
00526c46 JB |
279 | %endif |
280 | ||
395735ed JB |
281 | # kill unnecessary -L%{_libdir} from *.la, *.prl, *.pc |
282 | %{__sed} -i -e "s,-L%{_libdir} \?,,g" \ | |
283 | $RPM_BUILD_ROOT%{_libdir}/*.{la,prl} \ | |
284 | $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc | |
285 | ||
286 | # useless symlinks | |
287 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt5*.so.5.? | |
bb4fb35f JB |
288 | # actually drop *.la, follow policy of not packaging them when *.pc exist |
289 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt5*.la | |
290 | ||
395735ed | 291 | # symlinks in system bin dir |
b7c915ec | 292 | for f in qml qmlimportscanner qmlmin qmlplugindump qmlprofiler qmlscene qmltestrunner qmleasing qmllint ; do |
395735ed JB |
293 | ln -sf ../%{_lib}/qt5/bin/$f $RPM_BUILD_ROOT%{_bindir}/${f}-qt5 |
294 | done | |
295 | ||
dffafefb WF |
296 | # Prepare some files list |
297 | ifecho() { | |
395735ed | 298 | r="$RPM_BUILD_ROOT$2" |
dffafefb WF |
299 | if [ -d "$r" ]; then |
300 | echo "%%dir $2" >> $1.files | |
301 | elif [ -x "$r" ] ; then | |
302 | echo "%%attr(755,root,root) $2" >> $1.files | |
303 | elif [ -f "$r" ]; then | |
304 | echo "$2" >> $1.files | |
305 | else | |
306 | echo "Error generation $1 files list!" | |
307 | echo "$r: no such file or directory!" | |
308 | return 1 | |
309 | fi | |
310 | } | |
395735ed JB |
311 | ifecho_tree() { |
312 | ifecho $1 $2 | |
313 | for f in `find $RPM_BUILD_ROOT$2 -printf "%%P "`; do | |
314 | ifecho $1 $2/$f | |
315 | done | |
316 | } | |
dffafefb WF |
317 | |
318 | echo "%defattr(644,root,root,755)" > examples.files | |
395735ed JB |
319 | ifecho_tree examples %{_examplesdir}/qt5/qml |
320 | ifecho_tree examples %{_examplesdir}/qt5/qmltest | |
321 | ifecho_tree examples %{_examplesdir}/qt5/quick | |
dffafefb | 322 | |
de82433f | 323 | # find_lang --with-qm supports only PLD qt3/qt4 specific %{_localedir}/*/LC_MESSAGES layout |
00526c46 JB |
324 | find_qt5_qm() |
325 | { | |
326 | name="$1" | |
327 | find $RPM_BUILD_ROOT%{_datadir}/qt5/translations -name "${name}_*.qm" | \ | |
328 | sed -e "s:^$RPM_BUILD_ROOT::" \ | |
329 | -e 's:\(.*/'$name'_\)\([a-z][a-z][a-z]\?\)\(_[A-Z][A-Z]\)\?\(\.qm\)$:%lang(\2\3) \1\2\3\4:' | |
330 | } | |
331 | ||
332 | echo '%defattr(644,root,root,755)' > qtdeclarative.lang | |
333 | %if %{with qm} | |
334 | find_qt5_qm qtdeclarative >> qtdeclarative.lang | |
335 | %endif | |
336 | ||
dffafefb WF |
337 | %clean |
338 | rm -rf $RPM_BUILD_ROOT | |
339 | ||
d8e27435 JB |
340 | %post -n Qt5Qml -p /sbin/ldconfig |
341 | %postun -n Qt5Qml -p /sbin/ldconfig | |
342 | ||
343 | %post -n Qt5Quick -p /sbin/ldconfig | |
344 | %postun -n Qt5Quick -p /sbin/ldconfig | |
dffafefb WF |
345 | |
346 | %files | |
347 | %defattr(644,root,root,755) | |
2e85cf37 | 348 | %attr(755,root,root) %{_bindir}/qmleasing-qt5 |
395735ed | 349 | %attr(755,root,root) %{_bindir}/qmlimportscanner-qt5 |
2e85cf37 | 350 | %attr(755,root,root) %{_bindir}/qmllint-qt5 |
395735ed JB |
351 | %attr(755,root,root) %{_bindir}/qmlmin-qt5 |
352 | %attr(755,root,root) %{_bindir}/qmlplugindump-qt5 | |
353 | %attr(755,root,root) %{_bindir}/qmlprofiler-qt5 | |
2e85cf37 | 354 | %attr(755,root,root) %{_bindir}/qml-qt5 |
395735ed JB |
355 | %attr(755,root,root) %{_bindir}/qmlscene-qt5 |
356 | %attr(755,root,root) %{_bindir}/qmltestrunner-qt5 | |
395735ed | 357 | %attr(755,root,root) %{qt5dir}/bin/qml |
2e85cf37 | 358 | %attr(755,root,root) %{qt5dir}/bin/qmleasing |
395735ed | 359 | %attr(755,root,root) %{qt5dir}/bin/qmlimportscanner |
2e85cf37 | 360 | %attr(755,root,root) %{qt5dir}/bin/qmllint |
395735ed JB |
361 | %attr(755,root,root) %{qt5dir}/bin/qmlmin |
362 | %attr(755,root,root) %{qt5dir}/bin/qmlplugindump | |
363 | %attr(755,root,root) %{qt5dir}/bin/qmlprofiler | |
364 | %attr(755,root,root) %{qt5dir}/bin/qmlscene | |
365 | %attr(755,root,root) %{qt5dir}/bin/qmltestrunner | |
d8e27435 | 366 | |
00526c46 | 367 | %files -n Qt5Qml -f qtdeclarative.lang |
d8e27435 JB |
368 | %defattr(644,root,root,755) |
369 | %doc LGPL_EXCEPTION.txt | |
370 | %attr(755,root,root) %{_libdir}/libQt5Qml.so.*.*.* | |
371 | %attr(755,root,root) %ghost %{_libdir}/libQt5Qml.so.5 | |
372 | ||
373 | # loaded from src/qml/debugger/{qqmldebugserver,qqmlinspectorservice}.cpp | |
395735ed | 374 | %dir %{qt5dir}/plugins/qmltooling |
e7e4b306 | 375 | # R: Core Network Qml |
de82433f JR |
376 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_debugger.so |
377 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_inspector.so | |
378 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_local.so | |
379 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_native.so | |
380 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_profiler.so | |
381 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_server.so | |
395735ed | 382 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_tcp.so |
d8e27435 | 383 | |
395735ed JB |
384 | %dir %{qt5dir}/qml |
385 | %dir %{qt5dir}/qml/Qt | |
386 | %dir %{qt5dir}/qml/Qt/labs | |
387 | %dir %{qt5dir}/qml/Qt/labs/folderlistmodel | |
e7e4b306 | 388 | # R: Core Qml |
395735ed JB |
389 | %attr(755,root,root) %{qt5dir}/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.so |
390 | %{qt5dir}/qml/Qt/labs/folderlistmodel/plugins.qmltypes | |
391 | %{qt5dir}/qml/Qt/labs/folderlistmodel/qmldir | |
392 | %dir %{qt5dir}/qml/Qt/labs/settings | |
e7e4b306 | 393 | # R: Core Qml |
395735ed JB |
394 | %attr(755,root,root) %{qt5dir}/qml/Qt/labs/settings/libqmlsettingsplugin.so |
395 | %{qt5dir}/qml/Qt/labs/settings/plugins.qmltypes | |
396 | %{qt5dir}/qml/Qt/labs/settings/qmldir | |
397 | %dir %{qt5dir}/qml/QtQml | |
398 | %dir %{qt5dir}/qml/QtQml/Models.2 | |
2e85cf37 | 399 | %dir %{qt5dir}/qml/QtQml/StateMachine |
e7e4b306 | 400 | # R: Core Qml |
395735ed | 401 | %attr(755,root,root) %{qt5dir}/qml/QtQml/Models.2/libmodelsplugin.so |
b7c915ec | 402 | %{qt5dir}/qml/QtQml/Models.2/plugins.qmltypes |
395735ed | 403 | %{qt5dir}/qml/QtQml/Models.2/qmldir |
d8e27435 | 404 | |
2e85cf37 JR |
405 | %attr(755,root,root) %{qt5dir}/qml/QtQml/StateMachine/libqtqmlstatemachine.so |
406 | %{qt5dir}/qml/QtQml/StateMachine/plugins.qmltypes | |
407 | %{qt5dir}/qml/QtQml/StateMachine/qmldir | |
408 | ||
de82433f JR |
409 | %{qt5dir}/qml/QtQml/plugins.qmltypes |
410 | %{qt5dir}/qml/QtQml/qmldir | |
411 | %{qt5dir}/qml/builtins.qmltypes | |
412 | ||
d8e27435 JB |
413 | %files -n Qt5Qml-devel |
414 | %defattr(644,root,root,755) | |
415 | %attr(755,root,root) %{_libdir}/libQt5Qml.so | |
416 | # static-only | |
de82433f JR |
417 | %{_libdir}/libQt5PacketProtocol.a |
418 | %{_libdir}/libQt5PacketProtocol.prl | |
419 | %{_libdir}/libQt5QmlDebug.a | |
420 | %{_libdir}/libQt5QmlDebug.prl | |
d8e27435 JB |
421 | %{_libdir}/libQt5QmlDevTools.a |
422 | %{_libdir}/libQt5Qml.prl | |
423 | %{_libdir}/libQt5QmlDevTools.prl | |
424 | %{_includedir}/qt5/QtQml | |
de82433f | 425 | %{_includedir}/qt5/QtQmlDebug |
b7c915ec | 426 | %{_includedir}/qt5/QtQmlDevTools |
de82433f | 427 | %{_includedir}/qt5/QtPacketProtocol |
d8e27435 | 428 | %{_pkgconfigdir}/Qt5Qml.pc |
d8e27435 | 429 | %{_libdir}/cmake/Qt5Qml |
de82433f | 430 | %{qt5dir}/mkspecs/modules/qt_lib_packetprotocol_private.pri |
d8e27435 JB |
431 | %{qt5dir}/mkspecs/modules/qt_lib_qml.pri |
432 | %{qt5dir}/mkspecs/modules/qt_lib_qml_private.pri | |
de82433f | 433 | %{qt5dir}/mkspecs/modules/qt_lib_qmldebug_private.pri |
d8e27435 JB |
434 | %{qt5dir}/mkspecs/modules/qt_lib_qmldevtools_private.pri |
435 | %{qt5dir}/mkspecs/modules/qt_lib_qmltest.pri | |
436 | %{qt5dir}/mkspecs/modules/qt_lib_qmltest_private.pri | |
437 | ||
438 | %files -n Qt5Quick | |
439 | %defattr(644,root,root,755) | |
440 | %attr(755,root,root) %{_libdir}/libQt5Quick.so.*.*.* | |
441 | %attr(755,root,root) %ghost %{_libdir}/libQt5Quick.so.5 | |
442 | %attr(755,root,root) %{_libdir}/libQt5QuickParticles.so.*.*.* | |
443 | %attr(755,root,root) %ghost %{_libdir}/libQt5QuickParticles.so.5 | |
444 | %attr(755,root,root) %{_libdir}/libQt5QuickTest.so.*.*.* | |
445 | %attr(755,root,root) %ghost %{_libdir}/libQt5QuickTest.so.5 | |
595bacf4 JB |
446 | %attr(755,root,root) %{_libdir}/libQt5QuickWidgets.so.*.*.* |
447 | %attr(755,root,root) %ghost %{_libdir}/libQt5QuickWidgets.so.5 | |
d8e27435 | 448 | |
d8e27435 | 449 | # R: Core Gui Qml Quick |
de82433f | 450 | %attr(755,root,root) %{qt5dir}/plugins/qmltooling/libqmldbg_quickprofiler.so |
d8e27435 | 451 | |
395735ed | 452 | %dir %{qt5dir}/qml/QtQuick |
00526c46 | 453 | |
de82433f JR |
454 | %dir %{qt5dir}/qml/QtQuick/Layouts |
455 | %{qt5dir}/qml/QtQuick/Layouts/libqquicklayoutsplugin.so | |
456 | %{qt5dir}/qml/QtQuick/Layouts/plugins.qmltypes | |
457 | %{qt5dir}/qml/QtQuick/Layouts/qmldir | |
458 | ||
395735ed | 459 | %dir %{qt5dir}/qml/QtQuick/LocalStorage |
e7e4b306 | 460 | # R: Core Qml Sql |
395735ed JB |
461 | %attr(755,root,root) %{qt5dir}/qml/QtQuick/LocalStorage/libqmllocalstorageplugin.so |
462 | %{qt5dir}/qml/QtQuick/LocalStorage/plugins.qmltypes | |
463 | %{qt5dir}/qml/QtQuick/LocalStorage/qmldir | |
00526c46 | 464 | |
395735ed | 465 | %dir %{qt5dir}/qml/QtQuick/Particles.2 |
e7e4b306 | 466 | # R: Core Qml QuickParticles |
395735ed JB |
467 | %attr(755,root,root) %{qt5dir}/qml/QtQuick/Particles.2/libparticlesplugin.so |
468 | %{qt5dir}/qml/QtQuick/Particles.2/plugins.qmltypes | |
469 | %{qt5dir}/qml/QtQuick/Particles.2/qmldir | |
00526c46 | 470 | |
395735ed | 471 | %dir %{qt5dir}/qml/QtQuick/Window.2 |
e7e4b306 | 472 | # R: Core Qml Quick |
395735ed JB |
473 | %attr(755,root,root) %{qt5dir}/qml/QtQuick/Window.2/libwindowplugin.so |
474 | %{qt5dir}/qml/QtQuick/Window.2/plugins.qmltypes | |
475 | %{qt5dir}/qml/QtQuick/Window.2/qmldir | |
00526c46 | 476 | |
395735ed | 477 | %dir %{qt5dir}/qml/QtQuick.2 |
e7e4b306 | 478 | # R: Core Qml Quick |
395735ed JB |
479 | %attr(755,root,root) %{qt5dir}/qml/QtQuick.2/libqtquick2plugin.so |
480 | %{qt5dir}/qml/QtQuick.2/plugins.qmltypes | |
481 | %{qt5dir}/qml/QtQuick.2/qmldir | |
00526c46 | 482 | |
395735ed | 483 | %dir %{qt5dir}/qml/QtTest |
e7e4b306 | 484 | # R: Core Gui Qml QuickTest Test |
395735ed JB |
485 | %attr(755,root,root) %{qt5dir}/qml/QtTest/libqmltestplugin.so |
486 | %{qt5dir}/qml/QtTest/plugins.qmltypes | |
487 | %{qt5dir}/qml/QtTest/qmldir | |
488 | %{qt5dir}/qml/QtTest/testlogger.js | |
489 | %{qt5dir}/qml/QtTest/*.qml | |
dffafefb | 490 | |
d8e27435 | 491 | %files -n Qt5Quick-devel |
dffafefb | 492 | %defattr(644,root,root,755) |
dffafefb WF |
493 | %attr(755,root,root) %{_libdir}/libQt5Quick.so |
494 | %attr(755,root,root) %{_libdir}/libQt5QuickParticles.so | |
495 | %attr(755,root,root) %{_libdir}/libQt5QuickTest.so | |
595bacf4 | 496 | %attr(755,root,root) %{_libdir}/libQt5QuickWidgets.so |
dffafefb WF |
497 | %{_libdir}/libQt5Quick.prl |
498 | %{_libdir}/libQt5QuickParticles.prl | |
499 | %{_libdir}/libQt5QuickTest.prl | |
595bacf4 | 500 | %{_libdir}/libQt5QuickWidgets.prl |
dffafefb WF |
501 | %{_includedir}/qt5/QtQuick |
502 | %{_includedir}/qt5/QtQuickParticles | |
503 | %{_includedir}/qt5/QtQuickTest | |
595bacf4 | 504 | %{_includedir}/qt5/QtQuickWidgets |
395735ed | 505 | %{_pkgconfigdir}/Qt5Quick.pc |
395735ed | 506 | %{_pkgconfigdir}/Qt5QuickTest.pc |
595bacf4 | 507 | %{_pkgconfigdir}/Qt5QuickWidgets.pc |
d8e27435 JB |
508 | %{_libdir}/cmake/Qt5Quick |
509 | %{_libdir}/cmake/Qt5QuickTest | |
595bacf4 | 510 | %{_libdir}/cmake/Qt5QuickWidgets |
395735ed JB |
511 | %{qt5dir}/mkspecs/modules/qt_lib_quick.pri |
512 | %{qt5dir}/mkspecs/modules/qt_lib_quick_private.pri | |
513 | %{qt5dir}/mkspecs/modules/qt_lib_quickparticles_private.pri | |
595bacf4 JB |
514 | %{qt5dir}/mkspecs/modules/qt_lib_quickwidgets.pri |
515 | %{qt5dir}/mkspecs/modules/qt_lib_quickwidgets_private.pri | |
dffafefb | 516 | |
00526c46 JB |
517 | %if %{with qtxmlpatterns} |
518 | %files -n Qt5Quick-xmllistmodel | |
519 | %defattr(644,root,root,755) | |
520 | %dir %{qt5dir}/qml/QtQuick/XmlListModel | |
521 | # R: Core Network Qml XmlPatterns | |
522 | %attr(755,root,root) %{qt5dir}/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so | |
523 | %{qt5dir}/qml/QtQuick/XmlListModel/plugins.qmltypes | |
524 | %{qt5dir}/qml/QtQuick/XmlListModel/qmldir | |
525 | %endif | |
526 | ||
de82433f | 527 | %if %{with doc} |
3329af2e WF |
528 | %files doc |
529 | %defattr(644,root,root,755) | |
395735ed JB |
530 | %{_docdir}/qt5-doc/qtqml |
531 | %{_docdir}/qt5-doc/qtquick | |
395735ed JB |
532 | |
533 | %if %{with qch} | |
e7e4b306 JB |
534 | %files doc-qch |
535 | %defattr(644,root,root,755) | |
395735ed JB |
536 | %{_docdir}/qt5-doc/qtqml.qch |
537 | %{_docdir}/qt5-doc/qtquick.qch | |
395735ed | 538 | %endif |
de82433f | 539 | %endif |
3329af2e | 540 | |
dffafefb | 541 | %files examples -f examples.files |
595bacf4 | 542 | %defattr(644,root,root,755) |
395735ed JB |
543 | # XXX: dir shared with qt5-qtbase-examples |
544 | %dir %{_examplesdir}/qt5 |