]>
Commit | Line | Data |
---|---|---|
51df396b WF |
1 | # TODO: |
2 | # - use PLD ldflags | |
3 | # - cleanup | |
1600b17a | 4 | # - subpackages to sql classes |
51df396b WF |
5 | |
6 | # Conditional build: | |
7 | %bcond_with static_libs # build static libraries | |
8 | # -- features | |
9 | %bcond_without cups # CUPS printing support | |
10 | %bcond_with nas # NAS audio support | |
11 | %bcond_without gtk # GTK+ theme integration | |
12 | %bcond_without pch # pch (pre-compiled headers) in qmake | |
13 | %bcond_without system_phonon # phonon libraries from phonon.spec intead of qt4.spec | |
14 | %bcond_with wkhtml # WKHTMLTOPDF patch (affects QtGui ABI) | |
15 | # -- databases | |
16 | %bcond_without mysql # MySQL plugin | |
17 | %bcond_without odbc # unixODBC plugin | |
18 | %bcond_without pgsql # PostgreSQL plugin | |
19 | %bcond_without sqlite3 # SQLite3 plugin | |
20 | %bcond_without sqlite # SQLite2 plugin | |
21 | %bcond_without ibase # ibase (InterBase/Firebird) plugin | |
22 | # -- SIMD CPU instructions | |
23 | %bcond_with sse # use SSE instructions in gui/painting module | |
24 | %bcond_with sse2 # use SSE2 instructions | |
25 | %bcond_with sse3 # use SSE3 instructions (since: Intel middle Pentium4, AMD Athlon64) | |
26 | %bcond_with ssse3 # use SSSE3 instructions (Intel since Core2, Via Nano) | |
27 | %bcond_with sse41 # use SSE4.1 instructions (Intel since middle Core2) | |
28 | %bcond_with sse42 # use SSE4.2 instructions (the same) | |
29 | %bcond_with avx # use AVX instructions (future Intel x86 CPUs only) | |
30 | ||
31 | %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc | |
32 | %undefine with_ibase | |
33 | %endif | |
34 | %ifarch athlon | |
35 | %define with_3dnow 1 | |
36 | %endif | |
37 | %ifarch athlon pentium3 pentium4 %{x8664} | |
38 | %define with_mmx 1 | |
39 | %endif | |
40 | %ifarch pentium3 pentium4 %{x8664} | |
41 | %define with_sse 1 | |
42 | %endif | |
43 | %ifarch pentium4 %{x8664} | |
44 | %define with_sse2 1 | |
45 | %endif | |
46 | # any SQL | |
47 | %define _withsql 1 | |
48 | %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}} | |
49 | ||
50 | %define icu_abi 52 | |
51 | %define next_icu_abi %(echo $((%{icu_abi} + 1))) | |
52 | ||
53 | %define orgname qtbase | |
1600b17a | 54 | Summary: Qt5 - QtBase components |
51df396b WF |
55 | Summary(es.UTF-8): Biblioteca para ejecutar aplicaciones Qt5 |
56 | Summary(pl.UTF-8): Biblioteka Qt5 | |
57 | Summary(pt_BR.UTF-8): Estrutura para rodar aplicações Qt5 | |
58 | Name: qt5-%{orgname} | |
59 | Version: 5.2.0 | |
60 | Release: 0.1 | |
1600b17a ER |
61 | # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details |
62 | License: LGPLv2 with exceptions or GPLv3 with exceptions | |
51df396b WF |
63 | Group: X11/Libraries |
64 | Source0: http://download.qt-project.org/official_releases/qt/5.2/%{version}/submodules/%{orgname}-opensource-src-%{version}.tar.xz | |
65 | # Source0-md5: c94bbaf1bb7f0f4a32d2caa7501416e1 | |
66 | URL: http://qt-project.org/ | |
67 | %{?with_ibase:BuildRequires: Firebird-devel} | |
68 | BuildRequires: Mesa-libOpenVG-devel | |
51df396b WF |
69 | BuildRequires: OpenGL-devel |
70 | BuildRequires: alsa-lib-devel | |
71 | %{?with_cups:BuildRequires: cups-devel} | |
72 | BuildRequires: dbus-devel >= 0.93 | |
73 | BuildRequires: fontconfig-devel | |
74 | BuildRequires: freetds-devel | |
75 | BuildRequires: freetype-devel >= 1:2.0.0 | |
76 | %{?with_pch:BuildRequires: gcc >= 5:4.0} | |
5b8dc449 | 77 | BuildRequires: gdb |
51df396b WF |
78 | BuildRequires: glib2-devel >= 2.0.0 |
79 | BuildRequires: gstreamer0.10-plugins-base-devel | |
80 | %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.10} | |
81 | # see dependency on libicu version below | |
51df396b | 82 | BuildRequires: libicu-devel < %{next_icu_abi} |
1600b17a | 83 | BuildRequires: libicu-devel >= %{icu_abi} |
51df396b | 84 | BuildRequires: libjpeg-devel |
51df396b WF |
85 | BuildRequires: libpng-devel >= 2:1.0.8 |
86 | BuildRequires: libstdc++-devel | |
87 | %{?with_mysql:BuildRequires: mysql-devel} | |
88 | %{?with_nas:BuildRequires: nas-devel} | |
89 | BuildRequires: pkgconfig | |
90 | %{?with_pgsql:BuildRequires: postgresql-backend-devel} | |
91 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
92 | BuildRequires: pulseaudio-devel >= 0.9.10 | |
93 | BuildRequires: rpmbuild(macros) >= 1.654 | |
51df396b WF |
94 | BuildRequires: sed >= 4.0 |
95 | %{?with_sqlite:BuildRequires: sqlite-devel} | |
96 | %{?with_sqlite3:BuildRequires: sqlite3-devel} | |
1600b17a | 97 | BuildRequires: tar >= 1:1.22 |
5b8dc449 | 98 | BuildRequires: udev-devel |
51df396b | 99 | %{?with_odbc:BuildRequires: unixODBC-devel >= 2.3.0} |
5b8dc449 ER |
100 | BuildRequires: xcb-util-image-devel |
101 | BuildRequires: xcb-util-keysyms-devel | |
102 | BuildRequires: xcb-util-renderutil-devel | |
103 | BuildRequires: xcb-util-wm-devel | |
51df396b WF |
104 | BuildRequires: xorg-lib-libSM-devel |
105 | BuildRequires: xorg-lib-libXcursor-devel | |
106 | BuildRequires: xorg-lib-libXext-devel | |
107 | BuildRequires: xorg-lib-libXfixes-devel | |
108 | BuildRequires: xorg-lib-libXi-devel | |
109 | BuildRequires: xorg-lib-libXinerama-devel | |
110 | BuildRequires: xorg-lib-libXrandr-devel | |
111 | BuildRequires: xorg-lib-libXrender-devel | |
1600b17a | 112 | BuildRequires: xz |
51df396b WF |
113 | BuildRequires: zlib-devel |
114 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
115 | ||
116 | %define _noautoreqdep libGL.so.1 libGLU.so.1 | |
117 | %define _noautostrip '.*_debug\\.so*' | |
118 | ||
119 | %define specflags -fno-strict-aliasing | |
120 | ||
121 | %define _qtdir %{_libdir}/qt5 | |
122 | ||
123 | %description | |
1600b17a ER |
124 | Qt is a software toolkit for developing applications. |
125 | ||
126 | This package contains base tools, like string, xml, and network | |
127 | handling. | |
51df396b WF |
128 | |
129 | %package devel | |
130 | Summary: The Qt5 application framework - development files | |
131 | Group: X11/Development/Libraries | |
132 | Requires: %{name} = %{version}-%{release} | |
133 | ||
134 | %description devel | |
135 | Qt5 - development files. | |
136 | ||
b18d64cc WF |
137 | %package doc |
138 | Summary: The Qt5 application framework base - docs | |
139 | Group: Documentation | |
140 | Requires: %{name} = %{version}-%{release} | |
168d1e38 ER |
141 | %if "%{_rpmversion}" >= "5" |
142 | BuildArch: noarch | |
143 | %endif | |
b18d64cc WF |
144 | |
145 | %description doc | |
146 | Qt5 base - documentation. | |
147 | ||
51df396b WF |
148 | %package examples |
149 | Summary: Qt5 examples | |
150 | Group: X11/Development/Libraries | |
168d1e38 ER |
151 | %if "%{_rpmversion}" >= "5" |
152 | BuildArch: noarch | |
153 | %endif | |
51df396b WF |
154 | |
155 | %description examples | |
b18d64cc | 156 | Qt5 base - examples. |
51df396b WF |
157 | |
158 | %prep | |
159 | %setup -q -n %{orgname}-opensource-src-%{version} | |
160 | ||
161 | %{__sed} -i -e 's,usr/X11R6/,usr/g,' mkspecs/linux-g++-64/qmake.conf \ | |
162 | mkspecs/common/linux.conf | |
163 | ||
164 | # change QMAKE FLAGS to build | |
165 | %{__sed} -i -e ' | |
166 | s|QMAKE_CC.*=.*gcc|QMAKE_CC\t\t= %{__cc}|; | |
167 | s|QMAKE_CXX.*=.*g++|QMAKE_CXX\t\t= %{__cxx}|; | |
168 | s|QMAKE_LINK.*=.*g++|QMAKE_LINK\t\t= %{__cxx}|; | |
169 | s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB\t= %{__cxx}|; | |
170 | s|QMAKE_CFLAGS_RELEASE.*|QMAKE_CFLAGS_RELEASE\t+= %{rpmcppflags} %{rpmcflags}|; | |
171 | s|QMAKE_CXXFLAGS_RELEASE.*|QMAKE_CXXFLAGS_RELEASE\t+= %{rpmcppflags} %{rpmcxxflags}|; | |
172 | s|QMAKE_CFLAGS_DEBUG.*|QMAKE_CFLAGS_DEBUG\t+= %{debugcflags}|; | |
173 | s|QMAKE_CXXFLAGS_DEBUG.*|QMAKE_CXXFLAGS_DEBUG\t+= %{debugcflags}|; | |
174 | ' mkspecs/common/g++-base.conf | |
175 | ||
176 | #%{__sed} -i -e ' | |
177 | # s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|; | |
178 | # ' mkspecs/common/linux.conf | |
179 | ||
180 | # No -L/usr/lib. | |
181 | %{__sed} -i -e ' | |
182 | s|^QMAKE_LIBDIR_QT.*=.*|QMAKE_LIBDIR_QT =|; | |
183 | ' mkspecs/common/linux.conf | |
184 | ||
185 | # undefine QMAKE_STRIP, so we get useful -debuginfo pkgs | |
186 | %{__sed} -i -e ' | |
187 | s|^QMAKE_STRIP.*=.*|QMAKE_STRIP =|; | |
188 | ' mkspecs/common/linux.conf | |
189 | ||
b18d64cc WF |
190 | # rpmldflags |
191 | %{__sed} -i -e ' | |
192 | s|^QMAKE_LFLAGS .*=.*|QMAKE_LFLAGS\t\t+= %{rpmldflags}|; | |
193 | ' mkspecs/common/gcc-base.conf | |
194 | ||
51df396b WF |
195 | %build |
196 | # pass OPTFLAGS to build qmake itself with optimization | |
197 | export OPTFLAGS="%{rpmcflags}" | |
198 | export PATH=$PWD/bin:$PATH | |
199 | ||
200 | ################################## | |
201 | # DEFAULT OPTIONS FOR ALL BUILDS # | |
202 | ################################## | |
203 | ||
204 | COMMONOPT=" \ | |
205 | -confirm-license \ | |
206 | -opensource \ | |
207 | -verbose \ | |
208 | -prefix %{_qtdir} \ | |
209 | -bindir %{_qtdir}/bin \ | |
210 | -docdir %{_docdir}/qt5-doc \ | |
211 | -headerdir %{_includedir}/qt5 \ | |
212 | -libdir %{_libdir} \ | |
213 | -plugindir %{_qtdir}/plugins \ | |
214 | -datadir %{_datadir}/qt5 \ | |
215 | -translationdir %{_localedir}/ \ | |
216 | -sysconfdir %{_sysconfdir}/qt5 \ | |
217 | -examplesdir %{_examplesdir}/qt5 \ | |
218 | -optimized-qmake \ | |
219 | -glib \ | |
220 | %{!?with_gtk:-no-gtkstyle} \ | |
221 | -%{!?with_pch:no-}pch \ | |
222 | -no-rpath \ | |
223 | %{!?with_sse:-no-sse} \ | |
224 | %{!?with_sse2:-no-sse2} \ | |
225 | %{!?with_sse3:-no-sse3} \ | |
226 | %{!?with_ssse3:-no-ssse3} \ | |
227 | %{!?with_sse41:-no-sse4.1} \ | |
228 | %{!?with_sse42:-no-sse4.2} \ | |
229 | %{!?with_avx:-no-avx} \ | |
230 | -dbus \ | |
231 | -dbus-linked \ | |
232 | -reduce-relocations \ | |
233 | -system-freetype \ | |
234 | -system-libjpeg \ | |
235 | -system-libpng \ | |
236 | -system-pcre \ | |
237 | -system-xcb \ | |
238 | -system-xkbcommon \ | |
239 | -system-zlib \ | |
240 | -openssl-linked \ | |
241 | -largefile \ | |
242 | -I/usr/include/postgresql/server \ | |
243 | -I/usr/include/mysql \ | |
244 | %{?with_cups:-cups} \ | |
245 | %{?with_nas:-system-nas-sound} \ | |
246 | %{?debug:-debug} \ | |
247 | %{!?debug:-release} \ | |
248 | -fontconfig \ | |
249 | -largefile \ | |
250 | -iconv \ | |
251 | -icu \ | |
252 | -no-separate-debug-info \ | |
253 | -xfixes \ | |
254 | -nis \ | |
255 | -sm \ | |
256 | -xcursor \ | |
257 | -xinput2 \ | |
258 | -xinerama \ | |
259 | -xrandr \ | |
260 | -xkb \ | |
261 | -xrender \ | |
262 | -xshape \ | |
263 | -continue" | |
264 | ||
265 | %if 0 | |
266 | ################################## | |
267 | # STATIC MULTI-THREAD # | |
268 | ################################## | |
269 | ||
270 | %if %{with static_libs} | |
271 | OPT=" \ | |
272 | -%{!?with_mysql:no}%{?with_mysql:qt}-sql-mysql \ | |
273 | -%{!?with_odbc:no}%{?with_odbc:qt}-sql-odbc \ | |
274 | -%{!?with_pgsql:no}%{?with_pgsql:qt}-sql-psql \ | |
275 | -%{!?with_sqlite3:no}%{?with_sqlite3:qt}-sql-sqlite \ | |
276 | -%{!?with_sqlite:no}%{?with_sqlite:qt}-sql-sqlite2 \ | |
277 | -%{!?with_ibase:no}%{?with_ibase:qt}-sql-ibase \ | |
278 | -static" | |
279 | ||
280 | ./configure $COMMONOPT $OPT | |
281 | ||
282 | %{__make} -C src | |
283 | %{__make} -C tools/assistant/lib | |
284 | %{__make} -C tools/designer | |
285 | if [ ! -d staticlib ]; then | |
286 | mkdir staticlib | |
287 | cp -a lib/*.a staticlib | |
288 | fi | |
289 | %{__make} distclean | |
290 | %endif | |
291 | %endif | |
292 | ||
293 | ################################## | |
294 | # SHARED MULTI-THREAD # | |
295 | ################################## | |
296 | ||
297 | OPT=" \ | |
298 | -%{!?with_mysql:no}%{?with_mysql:plugin}-sql-mysql \ | |
299 | -%{!?with_odbc:no}%{?with_odbc:plugin}-sql-odbc \ | |
300 | -%{!?with_pgsql:no}%{?with_pgsql:plugin}-sql-psql \ | |
301 | -%{!?with_sqlite3:no}%{?with_sqlite3:plugin}-sql-sqlite \ | |
302 | -%{!?with_sqlite:no}%{?with_sqlite:plugin}-sql-sqlite2 \ | |
303 | -%{!?with_ibase:no}%{?with_ibase:plugin}-sql-ibase \ | |
304 | -shared" | |
305 | ||
306 | ./configure $COMMONOPT $OPT | |
307 | ||
308 | %{__make} | |
b18d64cc WF |
309 | # make docs requires qt5-qttools |
310 | %{__make} docs || : | |
51df396b WF |
311 | #%{__make} \ |
312 | # sub-tools-all-ordered \ | |
313 | # sub-demos-all-ordered \ | |
314 | # sub-examples-all-ordered | |
315 | ||
316 | %install | |
317 | rm -rf $RPM_BUILD_ROOT | |
318 | install -d $RPM_BUILD_ROOT{/etc/{env.d,qt5},%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}} | |
319 | #install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network} | |
320 | ||
321 | #echo '#QT_GRAPHICSSYSTEM=raster' > $RPM_BUILD_ROOT/etc/env.d/QT_GRAPHICSSYSTEM | |
322 | ||
323 | %{__make} install \ | |
324 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
325 | ||
b18d64cc WF |
326 | # not sure whether || : is needed |
327 | %{__make} install_docs \ | |
328 | INSTALL_ROOT=$RPM_BUILD_ROOT || : | |
51df396b WF |
329 | |
330 | # kill -L/inside/builddir from *.la and *.pc (bug #77152) | |
331 | %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,prl} | |
332 | %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc | |
333 | %{__sed} -i -e ' | |
334 | s|moc_location=.*|moc_location=%{_bindir}/moc-qt5|; | |
335 | s|uic_location=.*|uic_location=%{_bindir}/uic-qt5|; | |
336 | ' $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc | |
337 | ||
338 | # libQtWebKit.la contains '-ljscore' and '-lwebcore', they come | |
339 | # from src/3rdparty/webkit/{JavaScriptCore,WebCore}} but those libs aren't installed | |
340 | #%{__sed} -i -e "s,-lwebcore,,g;s,-ljscore,,g;" $RPM_BUILD_ROOT%{_libdir}/libQtWebKit.la | |
341 | ||
342 | # install tools | |
343 | install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin | |
344 | ||
345 | cd $RPM_BUILD_ROOT%{_bindir} | |
346 | #ln -sf ../%{_lib}/qt5/bin/assistant assistant-qt5 | |
347 | #ln -sf ../%{_lib}/qt5/bin/designer designer-qt5 | |
348 | ln -sf ../%{_lib}/qt5/bin/findtr findtr-qt5 | |
349 | #ln -sf ../%{_lib}/qt5/bin/linguist linguist-qt5 | |
350 | #ln -sf ../%{_lib}/qt5/bin/lrelease lrelease-qt5 | |
351 | #ln -sf ../%{_lib}/qt5/bin/lupdate lupdate-qt5 | |
352 | ln -sf ../%{_lib}/qt5/bin/moc moc-qt5 | |
353 | ln -sf ../%{_lib}/qt5/bin/qmake qmake-qt5 | |
354 | #ln -sf ../%{_lib}/qt5/bin/qtconfig qtconfig-qt5 | |
355 | ln -sf ../%{_lib}/qt5/bin/uic uic-qt5 | |
356 | ln -sf ../%{_lib}/qt5/bin/rcc rcc-qt5 | |
357 | #ln -sf ../%{_lib}/qt5/bin/pixeltool . | |
358 | #ln -sf ../%{_lib}/qt5/bin/qcollectiongenerator . | |
359 | ln -sf ../%{_lib}/qt5/bin/qdbuscpp2xml qdbuscpp2xml-qt5 | |
360 | ln -sf ../%{_lib}/qt5/bin/qdbusxml2cpp qdbusxml2cpp-qt5 | |
361 | ln -sf ../%{_lib}/qt5/bin/qdoc qdoc-qt5 | |
362 | #ln -sf ../%{_lib}/qt5/bin/qhelpconverter . | |
363 | #ln -sf ../%{_lib}/qt5/bin/qhelpgenerator . | |
364 | #ln -sf ../%{_lib}/qt5/bin/qmlviewer . | |
365 | #ln -sf ../%{_lib}/qt5/bin/qmlplugindump . | |
366 | #ln -sf ../%{_lib}/qt5/bin/qttracereplay . | |
367 | #ln -sf ../%{_lib}/qt5/bin/qvfb . | |
368 | #ln -sf ../%{_lib}/qt5/bin/xmlpatternsvalidator . | |
369 | cd - | |
370 | ||
371 | # Prepare some files list | |
372 | ifecho() { | |
373 | RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null` | |
374 | [ "$RESULT" == "" ] && return # XXX this is never true due $RPM_BUILD_ROOT being set | |
375 | r=`echo $RESULT | awk '{ print $1 }'` | |
376 | ||
377 | if [ -d "$r" ]; then | |
378 | echo "%%dir $2" >> $1.files | |
379 | elif [ -x "$r" ] ; then | |
380 | echo "%%attr(755,root,root) $2" >> $1.files | |
381 | elif [ -f "$r" ]; then | |
382 | echo "$2" >> $1.files | |
383 | else | |
384 | echo "Error generation $1 files list!" | |
385 | echo "$r: no such file or directory!" | |
386 | return 1 | |
387 | fi | |
388 | } | |
389 | ||
390 | echo "%defattr(644,root,root,755)" > examples.files | |
391 | ifecho examples %{_examplesdir}/qt5 | |
392 | for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt5 -printf "%%P "`; do | |
393 | ifecho examples %{_examplesdir}/qt5/$f | |
394 | done | |
395 | ||
396 | %clean | |
397 | rm -rf $RPM_BUILD_ROOT | |
398 | ||
399 | %post -p /sbin/ldconfig | |
400 | %postun -p /sbin/ldconfig | |
401 | ||
402 | %files | |
403 | %defattr(644,root,root,755) | |
404 | %attr(755,root,root) %{_bindir}/* | |
405 | %attr(755,root,root) %ghost %{_libdir}/libQt5Concurrent.so.? | |
406 | %attr(755,root,root) %{_libdir}/libQt5Concurrent.so.*.* | |
407 | %attr(755,root,root) %ghost %{_libdir}/libQt5Core.so.? | |
408 | %attr(755,root,root) %{_libdir}/libQt5Core.so.*.* | |
409 | %attr(755,root,root) %ghost %{_libdir}/libQt5DBus.so.? | |
410 | %attr(755,root,root) %{_libdir}/libQt5DBus.so.*.* | |
411 | %attr(755,root,root) %ghost %{_libdir}/libQt5Gui.so.? | |
412 | %attr(755,root,root) %{_libdir}/libQt5Gui.so.*.* | |
413 | %attr(755,root,root) %ghost %{_libdir}/libQt5Network.so.? | |
414 | %attr(755,root,root) %{_libdir}/libQt5Network.so.*.* | |
415 | %attr(755,root,root) %ghost %{_libdir}/libQt5OpenGL.so.? | |
416 | %attr(755,root,root) %{_libdir}/libQt5OpenGL.so.*.* | |
417 | %attr(755,root,root) %ghost %{_libdir}/libQt5PrintSupport.so.? | |
418 | %attr(755,root,root) %{_libdir}/libQt5PrintSupport.so.*.* | |
419 | %attr(755,root,root) %ghost %{_libdir}/libQt5Sql.so.? | |
420 | %attr(755,root,root) %{_libdir}/libQt5Sql.so.*.* | |
421 | %attr(755,root,root) %ghost %{_libdir}/libQt5Test.so.? | |
422 | %attr(755,root,root) %{_libdir}/libQt5Test.so.*.* | |
423 | %attr(755,root,root) %ghost %{_libdir}/libQt5Widgets.so.? | |
424 | %attr(755,root,root) %{_libdir}/libQt5Widgets.so.*.* | |
425 | %attr(755,root,root) %ghost %{_libdir}/libQt5Xml.so.? | |
426 | %attr(755,root,root) %{_libdir}/libQt5Xml.so.*.* | |
427 | %{_libdir}/libQt5Bootstrap.a | |
428 | %{_libdir}/libQt5OpenGLExtensions.a | |
429 | %{_libdir}/libQt5PlatformSupport.a | |
430 | ||
431 | %dir /etc/qt5 | |
432 | %dir %{_qtdir} | |
433 | %dir %{_qtdir}/bin | |
434 | %attr(755,root,root) %{_qtdir}/bin/* | |
435 | %attr(755,root,root) %{_qtdir}/plugins | |
436 | ||
437 | %files devel | |
438 | %defattr(644,root,root,755) | |
439 | %attr(755,root,root) %{_libdir}/libQt5Concurrent.so | |
440 | %attr(755,root,root) %{_libdir}/libQt5Core.so | |
441 | %attr(755,root,root) %{_libdir}/libQt5DBus.so | |
442 | %attr(755,root,root) %{_libdir}/libQt5Gui.so | |
443 | %attr(755,root,root) %{_libdir}/libQt5Network.so | |
444 | %attr(755,root,root) %{_libdir}/libQt5OpenGL.so | |
445 | %attr(755,root,root) %{_libdir}/libQt5PrintSupport.so | |
446 | %attr(755,root,root) %{_libdir}/libQt5Sql.so | |
447 | %attr(755,root,root) %{_libdir}/libQt5Test.so | |
448 | %attr(755,root,root) %{_libdir}/libQt5Widgets.so | |
449 | %attr(755,root,root) %{_libdir}/libQt5Xml.so | |
450 | ||
451 | %{_libdir}/libQt5Concurrent.la | |
452 | %{_libdir}/libQt5Core.la | |
453 | %{_libdir}/libQt5DBus.la | |
454 | %{_libdir}/libQt5Gui.la | |
455 | %{_libdir}/libQt5Network.la | |
456 | %{_libdir}/libQt5OpenGL.la | |
457 | %{_libdir}/libQt5PrintSupport.la | |
458 | %{_libdir}/libQt5Sql.la | |
459 | %{_libdir}/libQt5Test.la | |
460 | %{_libdir}/libQt5Widgets.la | |
461 | %{_libdir}/libQt5Xml.la | |
462 | ||
463 | %{_libdir}/libQt5Concurrent.prl | |
464 | %{_libdir}/libQt5Core.prl | |
465 | %{_libdir}/libQt5DBus.prl | |
466 | %{_libdir}/libQt5Gui.prl | |
467 | %{_libdir}/libQt5Network.prl | |
468 | %{_libdir}/libQt5OpenGL.prl | |
469 | %{_libdir}/libQt5PrintSupport.prl | |
470 | %{_libdir}/libQt5Sql.prl | |
471 | %{_libdir}/libQt5Test.prl | |
472 | %{_libdir}/libQt5Widgets.prl | |
473 | %{_libdir}/libQt5Xml.prl | |
474 | ||
475 | %{_libdir}/libQt5Bootstrap.la | |
476 | %{_libdir}/libQt5Bootstrap.prl | |
477 | %{_libdir}/libQt5OpenGLExtensions.la | |
478 | %{_libdir}/libQt5OpenGLExtensions.prl | |
479 | %{_libdir}/libQt5PlatformSupport.la | |
480 | %{_libdir}/libQt5PlatformSupport.prl | |
481 | ||
482 | %{_includedir}/qt5 | |
483 | %{_libdir}/cmake/Qt5 | |
484 | %{_libdir}/cmake/Qt5Concurrent | |
485 | %{_libdir}/cmake/Qt5Core | |
486 | %{_libdir}/cmake/Qt5DBus | |
487 | %{_libdir}/cmake/Qt5Gui | |
488 | %{_libdir}/cmake/Qt5Network | |
489 | %{_libdir}/cmake/Qt5OpenGL | |
490 | %{_libdir}/cmake/Qt5OpenGLExtensions | |
491 | %{_libdir}/cmake/Qt5PrintSupport | |
492 | %{_libdir}/cmake/Qt5Sql | |
493 | %{_libdir}/cmake/Qt5Test | |
494 | %{_libdir}/cmake/Qt5Widgets | |
495 | %{_libdir}/cmake/Qt5Xml | |
496 | %{_pkgconfigdir}/*.pc | |
51df396b WF |
497 | %{_qtdir}/mkspecs |
498 | ||
b18d64cc WF |
499 | %files doc |
500 | %defattr(644,root,root,755) | |
501 | %{_docdir}/qt5-doc | |
502 | ||
51df396b | 503 | %files examples -f examples.files |