404 echo "please direct pkg-config(1) to use the properdefinitions" |
404 echo "please direct pkg-config(1) to use the properdefinitions" |
405 echo "by setting the environment variable PKG_CONFIG_PATH to " |
405 echo "by setting the environment variable PKG_CONFIG_PATH to " |
406 echo "%{l_prefix}/lib/qt/dynamic/pkgconfig." |
406 echo "%{l_prefix}/lib/qt/dynamic/pkgconfig." |
407 ) >$RPM_BUILD_ROOT%{l_prefix}/lib/qt/README |
407 ) >$RPM_BUILD_ROOT%{l_prefix}/lib/qt/README |
408 |
408 |
|
409 # install plugins, which are otherwise only useless static objects |
|
410 for plug in accessible codecs designer iconengines \ |
|
411 imageformats inputmethods script sqldrivers; do \ |
|
412 %{l_shtool} mkdir -f -p -m 755 \ |
|
413 $RPM_BUILD_ROOT%{l_prefix}/lib/qt/plugins/${plug}; \ |
|
414 %{l_shtool} install -c -m 644 \ |
|
415 plugins/${plug}/*.so plugins/${plug}/*.so.debug \ |
|
416 $RPM_BUILD_ROOT%{l_prefix}/lib/qt/plugins/${plug}/; \ |
|
417 done |
|
418 |
409 # remove temporary dynamic link paths |
419 # remove temporary dynamic link paths |
410 %{l_shtool} subst \ |
420 %{l_shtool} subst \ |
411 -e 's;\(QMAKE_PRL_BUILD_DIR[^=]*=\).*\(qt-x11-opensource-src.*\);\1 /tmp/\2;' \ |
421 -e 's;\(QMAKE_PRL_BUILD_DIR[^=]*=\).*\(qt-x11-opensource-src.*\);\1 /tmp/\2;' \ |
412 $RPM_BUILD_ROOT%{l_prefix}/lib/*.prl |
422 $RPM_BUILD_ROOT%{l_prefix}/lib/*.prl |
413 %endif |
423 %endif |