Changeset 1075 for packaging/qt.spec
- Timestamp:
- Sep 11, 2011, 7:57:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
packaging/qt.spec
r1071 r1075 59 59 %if "%{?QT_SOURCE_TREE}" == "" 60 60 %define QT_SOURCE_TREE . 61 %endif62 63 %if "%{?QT_BUILD_TREE}" != ""64 %define skip_prep 165 %define skip_build 166 %define skip_install 167 61 %endif 68 62 … … 86 80 %define qtM %{name}%{ver_major} 87 81 82 83 84 88 85 #------------------------------------------------------------------------------ 89 86 # main package … … 337 334 %else 338 335 # use passed source tree as is (shadow build) 339 %setup -n "%{name}-%{version}" -T Dc336 %setup -n "%{name}-%{version}" -T 340 337 %endif 341 338 %else … … 364 361 check_var "PSQL_INCLUDEPATH" 365 362 check_var "PSQL_LIBS" 363 364 366 365 367 366 # Qt links to some OS/2 DLLs directly (w/o import libs) … … 391 390 392 391 # make sure the right DLLs are used by the build (and in particular by qdoc 393 # in make install) in case if there is another Qt version installed392 # in make ) in case if there is another Qt version installed 394 393 export PATH="$BUILDDIR_D\\bin\;$PATH" 395 394 export BEGINLIBPATH="$BUILDDIR_D\\bin\;$BEGINLIBPATH" 396 395 396 397 398 399 400 397 401 cmd /c $QT_SOURCE_TREE_D\\configure.cmd $library_paths 398 402 403 404 405 406 407 408 399 409 # qdoc needs the qsqlite plugin but nothing is installed to target locations 400 410 # yet, so generate qt.conf to override paths … … 406 416 Demos = demos" \ 407 417 > "%{_builddir}/%{buildsubdir}/bin/qt.conf" 408 409 make -j$MAKE_JOBS410 411 %if !0%{?skip_build_docs}412 418 make docs -j$MAKE_JOBS 419 413 420 %endif 414 421 … … 423 430 rm -rf %{buildroot} 424 431 425 make install INSTALL_ROOT=%{buildroot} 432 # Qt links to some OS/2 DLLs directly (w/o import libs) 433 export LIBRARY_PATH=%{os2_boot_drive}/OS2/DLL\;%{os2_boot_drive}/MPTN/DLL\;$LIBRARY_PATH 434 435 # CMD.EXE is required by the build process for now 436 export MAKESHELL=%{os2_boot_drive}\\OS2\\CMD.EXE 437 438 # exclude install_htmldocs from install targets 439 make install_subtargets install_qchdocs install_qmake install_mkspecs \ 440 INSTALL_ROOT=$(echo "%{buildroot}/@unixroot" | sed -re 's,/,\\,g') 426 441 427 442 # copy READMEs (make install doesn't do that) 428 cp %{QT_SOURCE_TREE}/LICENSE.* \ 429 %{QT_SOURCE_TREE}/LGPL_EXCEPTION.txt \ 430 %{QT_SOURCE_TREE}/README \ 431 %{QT_SOURCE_TREE}/changes-%{ver_major}.%{ver_minor}.%{ver_} \ 432 %{QT_SOURCE_TREE}/README.OS2 \ 433 %{QT_SOURCE_TREE}/CHANGES.OS2 \ 434 %{pkg_docdir}/ 443 mkdir -p %{buildroot}/%{pkg_docdir}/ 444 cp -dp \ 445 %{QT_SOURCE_TREE}/LICENSE.* \ 446 %{QT_SOURCE_TREE}/LGPL_EXCEPTION.txt \ 447 %{QT_SOURCE_TREE}/README \ 448 %{QT_SOURCE_TREE}/changes-%{ver_major}.%{ver_minor}.%{ver_patch} \ 449 %{QT_SOURCE_TREE}/README.OS2 \ 450 %{QT_SOURCE_TREE}/CHANGES.OS2 \ 451 %{buildroot}/%{pkg_docdir}/ 435 452 436 453 %endif # if !0%{?skip_install}
Note:
See TracChangeset
for help on using the changeset viewer.