qt/qt.spec

changeset 215
6f5a2a90bb46
parent 213
117704011216
child 216
0aa08e4b2ef4
equal deleted inserted replaced
12:06c5efdb2be4 13:601c31f901ba
41 Packager: Michael Schloh von Bennewitz 41 Packager: Michael Schloh von Bennewitz
42 Distribution: MSvB Recherche Production 42 Distribution: MSvB Recherche Production
43 Class: EVAL 43 Class: EVAL
44 Group: Development 44 Group: Development
45 License: GPL 45 License: GPL
46 Version: 4.5.2 46 Version: 4.5.3
47 Release: 20090718 47 Release: 20091001
48 48
49 # build options 49 # build options
50 %option with_tools yes 50 %option with_tools yes
51 %option with_mysql no 51 %option with_mysql no
52 %option with_pgsql no 52 %option with_pgsql no
265 -plugin-sql-sqlite \ 265 -plugin-sql-sqlite \
266 -no-sql-sqlite2 \ 266 -no-sql-sqlite2 \
267 -openssl-linked \ 267 -openssl-linked \
268 -xmlpatterns \ 268 -xmlpatterns \
269 -svg \ 269 -svg \
270 -webkit \
270 -system-zlib \ 271 -system-zlib \
271 -qt-gif \ 272 -qt-gif \
272 -system-libpng \ 273 -system-libpng \
273 -system-libmng \ 274 -system-libmng \
274 -system-libjpeg \ 275 -system-libjpeg \
289 #-sm -xshape -xinerama -xcursor -xfixes -xrandr -tablet -xkb 290 #-sm -xshape -xinerama -xcursor -xfixes -xrandr -tablet -xkb
290 291
291 # carry out shared build procedure 292 # carry out shared build procedure
292 ( cd src 293 ( cd src
293 %{l_make} %{l_mflags -O} \ 294 %{l_make} %{l_mflags -O} \
294 sub-moc sub-rcc sub-uic 295 sub-moc sub-rcc sub-uic sub-uic3
295 %{l_make} %{l_mflags -O} \ 296 %{l_make} %{l_mflags -O} \
296 sub-corelib sub-xml sub-network sub-gui sub-sql \ 297 sub-corelib sub-xml sub-network sub-gui sub-sql \
297 sub-script sub-testlib sub-qt3support sub-dbus \ 298 sub-script sub-testlib sub-qt3support sub-dbus \
298 sub-opengl sub-xmlpatterns sub-svg sub-plugins 299 sub-opengl sub-xmlpatterns sub-svg sub-plugins \
300 sub-webkit sub-scripttools
299 ) || exit $? 301 ) || exit $?
300 302
301 # arthur plugin requires libQtDesigner 303 # arthur plugin requires libQtDesigner
302 ( cd demos 304 ( cd demos
303 ( cd ../tools/designer/src/lib 305 ( cd ../tools/designer/src/lib
353 -qt-sql-sqlite \ 355 -qt-sql-sqlite \
354 -no-sql-sqlite2 \ 356 -no-sql-sqlite2 \
355 -openssl-linked \ 357 -openssl-linked \
356 -xmlpatterns \ 358 -xmlpatterns \
357 -svg \ 359 -svg \
360 -webkit \
358 -system-zlib \ 361 -system-zlib \
359 -qt-gif \ 362 -qt-gif \
360 -system-libpng \ 363 -system-libpng \
361 -system-libmng \ 364 -system-libmng \
362 -system-libjpeg \ 365 -system-libjpeg \
389 392
390 %install 393 %install
391 rm -rf $RPM_BUILD_ROOT 394 rm -rf $RPM_BUILD_ROOT
392 395
393 # carry out installation procedure 396 # carry out installation procedure
394 targets="sub-moc-install_subtargets-ordered \ 397 targets="sub-tools-bootstrap-install_subtargets-ordered \
398 sub-moc-install_subtargets-ordered \
395 sub-rcc-install_subtargets-ordered \ 399 sub-rcc-install_subtargets-ordered \
396 sub-uic-install_subtargets-ordered \ 400 sub-uic-install_subtargets-ordered \
397 sub-corelib-install_subtargets-ordered \ 401 sub-corelib-install_subtargets-ordered \
398 sub-xml-install_subtargets-ordered \ 402 sub-xml-install_subtargets-ordered \
399 sub-network-install_subtargets-ordered \ 403 sub-network-install_subtargets-ordered \
405 sub-dbus-install_subtargets-ordered \ 409 sub-dbus-install_subtargets-ordered \
406 sub-uic3-install_subtargets-ordered \ 410 sub-uic3-install_subtargets-ordered \
407 sub-opengl-install_subtargets-ordered \ 411 sub-opengl-install_subtargets-ordered \
408 sub-xmlpatterns-install_subtargets-ordered \ 412 sub-xmlpatterns-install_subtargets-ordered \
409 sub-svg-install_subtargets-ordered \ 413 sub-svg-install_subtargets-ordered \
414 sub-webkit-install_subtargets-ordered \
415 sub-scripttools-install_subtargets-ordered \
410 sub-plugins-install_subtargets-ordered" 416 sub-plugins-install_subtargets-ordered"
411 %if "%{with_tools}" == "yes" 417 %if "%{with_tools}" == "yes"
412 targets="$targets sub-tools-install_subtargets-ordered" 418 targets="$targets sub-tools-install_subtargets-ordered sub-tools-qdoc3-install_subtargets-ordered"
413 %endif 419 %endif
414 %if "%{with_examples}" == "yes" 420 %if "%{with_examples}" == "yes"
415 targets="$targets sub-demos-install_subtargets-ordered sub-examples-install_subtargets-ordered" 421 targets="$targets sub-demos-install_subtargets-ordered sub-examples-install_subtargets-ordered"
416 %endif 422 %endif
417 targets="$targets install_htmldocs install_qchdocs install_docimages install_translations install_qmake install_mkspecs" 423 targets="$targets install_htmldocs install_qchdocs install_docimages install_qmake install_mkspecs"
418 %{l_make} %{l_mflags} $targets INSTALL_ROOT="$RPM_BUILD_ROOT" 424 %{l_make} %{l_mflags} $targets INSTALL_ROOT="$RPM_BUILD_ROOT"
419 425
420 %if "%{with_shared}" == "yes" 426 %if "%{with_shared}" == "yes"
421 # install shared libs and symlinks 427 # install shared libs and symlinks
422 %{l_shtool} mkdir -f -p -m 755 \ 428 %{l_shtool} mkdir -f -p -m 755 \

mercurial