28 # FIXME: MSvB: The effects of these bugs are platform dependent. |
28 # FIXME: MSvB: The effects of these bugs are platform dependent. |
29 # FIXME: MSvB: Solaris 11 IA-32 builds fail while Linux 2.6.25.18 |
29 # FIXME: MSvB: Solaris 11 IA-32 builds fail while Linux 2.6.25.18 |
30 # FIXME: MSvB: AMD64 builds succeed. |
30 # FIXME: MSvB: AMD64 builds succeed. |
31 # FIXME: MSvB: |
31 # FIXME: MSvB: |
32 # FIXME: MSvB: -no-webkit added to broken static buildconf |
32 # FIXME: MSvB: -no-webkit added to broken static buildconf |
|
33 # FIXME: MSvB: as work around for 'ld: cannot find -ljscore' |
33 |
34 |
34 # package information |
35 # package information |
35 Name: qt |
36 Name: qt |
36 Summary: Cross Platform Application Framework |
37 Summary: Cross Platform Application Framework |
37 URL: http://www.trolltech.com/products/qt/ |
38 URL: http://www.trolltech.com/products/qt/ |
411 # default options are implicitly used, for example... |
412 # default options are implicitly used, for example... |
412 #-no-fast -exceptions -accessibility -stl -qt3support -nis |
413 #-no-fast -exceptions -accessibility -stl -qt3support -nis |
413 #-sm -xshape -xinerama -xcursor -xfixes -xrandr -tablet -xkb |
414 #-sm -xshape -xinerama -xcursor -xfixes -xrandr -tablet -xkb |
414 |
415 |
415 # carry out static build procedure |
416 # carry out static build procedure |
416 %{l_make} %{l_mflags -O} sub-src sub-translations |
417 %{l_make} %{l_mflags -O} sub-src |
417 %if "%{with_tools}" == "yes" |
418 %if "%{with_tools}" == "yes" |
418 %{l_make} %{l_mflags -O} sub-tools-make_default-ordered |
419 %{l_make} %{l_mflags -O} \ |
|
420 sub-tools-make_default-ordered sub-translations-make_default-ordered |
419 %endif |
421 %endif |
420 %if "%{with_examples}" == "yes" |
422 %if "%{with_examples}" == "yes" |
421 %{l_make} %{l_mflags -O} \ |
423 %{l_make} %{l_mflags -O} \ |
422 sub-demos-make_default-ordered \ |
424 sub-demos-make_default-ordered \ |
423 sub-examples-make_default-ordered |
425 sub-examples-make_default-ordered |
|
426 %endif |
|
427 %if "%{with_tools}" == "yes" |
|
428 %{l_make} %{l_mflags -O} docs |
|
429 %else |
|
430 %if "%{with_examples}" == "yes" |
|
431 %{l_make} %{l_mflags -O} docs |
|
432 %endif |
424 %endif |
433 %endif |
425 |
434 |
426 %install |
435 %install |
427 rm -rf $RPM_BUILD_ROOT |
436 rm -rf $RPM_BUILD_ROOT |
428 |
437 |
450 sub-plugins-install_subtargets-ordered \ |
459 sub-plugins-install_subtargets-ordered \ |
451 sub-imports-install_subtargets-ordered \ |
460 sub-imports-install_subtargets-ordered \ |
452 sub-translations-install_subtargets-ordered" |
461 sub-translations-install_subtargets-ordered" |
453 |
462 |
454 %if "%{with_tools}" == "yes" |
463 %if "%{with_tools}" == "yes" |
455 targets="$targets sub-tools-install_subtargets-ordered sub-tools-qdoc3-install_subtargets-ordered" |
464 targets="$targets sub-tools-install_subtargets-ordered install_htmldocs install_qchdocs install_docimages" |
456 %endif |
465 %endif |
457 %if "%{with_examples}" == "yes" |
466 %if "%{with_examples}" == "yes" |
458 targets="$targets sub-demos-install_subtargets-ordered sub-examples-install_subtargets-ordered" |
467 targets="$targets sub-demos-install_subtargets-ordered sub-examples-install_subtargets-ordered install_htmldocs install_qchdocs install_docimages" |
459 %endif |
468 %endif |
460 targets="$targets install_htmldocs install_qchdocs install_docimages install_qmake install_mkspecs" |
469 targets="$targets install_qmake install_mkspecs" |
461 %{l_make} %{l_mflags} $targets INSTALL_ROOT="$RPM_BUILD_ROOT" |
470 %{l_make} %{l_mflags} $targets INSTALL_ROOT="$RPM_BUILD_ROOT" |
462 |
471 |
463 %if "%{with_shared}" == "yes" |
472 %if "%{with_shared}" == "yes" |
464 # # install components only built against shared libs |
|
465 # targets="$targets irgend-was-webkit_subtargets-ordered" |
|
466 |
|
467 # install shared libs and symlinks |
473 # install shared libs and symlinks |
468 %{l_shtool} mkdir -f -p -m 755 \ |
474 %{l_shtool} mkdir -f -p -m 755 \ |
469 $RPM_BUILD_ROOT%{l_prefix}/lib/qt |
475 $RPM_BUILD_ROOT%{l_prefix}/lib/qt |
470 %{l_tar} cf - dynamic | %{l_tar} xf - -C $RPM_BUILD_ROOT%{l_prefix}/lib/qt |
476 %{l_tar} cf - dynamic | %{l_tar} xf - -C $RPM_BUILD_ROOT%{l_prefix}/lib/qt |
471 |
477 |