qt/qt.spec

changeset 87
7cedea33cc19
parent 86
78e7deb1d6ab
child 88
5eb8172041b5
equal deleted inserted replaced
5:9b9d7186f1c2 6:bd553580455c
383 %{l_shtool} mkdir -f -p -m 755 \ 383 %{l_shtool} mkdir -f -p -m 755 \
384 $RPM_BUILD_ROOT%{l_prefix}/lib/qt 384 $RPM_BUILD_ROOT%{l_prefix}/lib/qt
385 %{l_tar} cf - dynamic | %{l_tar} xf - -C $RPM_BUILD_ROOT%{l_prefix}/lib/qt 385 %{l_tar} cf - dynamic | %{l_tar} xf - -C $RPM_BUILD_ROOT%{l_prefix}/lib/qt
386 386
387 # offer limited support of pkg-config(1) for shared libs 387 # offer limited support of pkg-config(1) for shared libs
388 %{l_shtool} subst \ 388 # substitution unfortunately only handles paths with no whitespace
389 -e "s;\(moc_location[^=]*=\).*;\1%{l_prefix}/bin/moc;" \ 389 %{l_shtool} subst \
390 -e "s;\(uic_location[^=]*=\).*;\1%{l_prefix}/bin/uic;" \ 390 -e "s;[\ \t][\ \t]*qt-x11-opensource-src-%{version};%{l_prefix};g" \
391 $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/pkgconfig 391 $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/pkgconfig/*
392 392
393 # explain nonstandard shared library placement 393 # explain nonstandard shared library placement
394 ( echo "This OpenPKG Qt build is using the with_shared option." 394 ( echo "This OpenPKG Qt build is using the with_shared option."
395 echo "" 395 echo ""
396 echo "This directory contains optional shared libraries as" 396 echo "This directory contains optional shared libraries as"

mercurial