1 |
< |
### RPM external qt 3.3.6-CMS18 |
1 |
> |
### RPM external qt 3.3.8-CMS19 |
2 |
|
## INITENV UNSET QMAKESPEC |
3 |
|
## INITENV SET QTDIR %i |
4 |
|
%define qttype %(echo %realversion | sed 's/[-0-9.]*//') |
27 |
|
Patch2: qt-src-kernel-qaccessible_mac.cpp |
28 |
|
Patch3: qt-src-qt_install.pri |
29 |
|
Patch4: qt-mkspecs-qmake.conf_2 |
30 |
+ |
Patch5: qt3-leopard |
31 |
|
|
32 |
|
%prep |
33 |
|
%setup -T -b %sourcepkg -n %n-%type-free-%{qtversion} |
36 |
|
#%patch2 -p0 |
37 |
|
#%patch3 -p0 |
38 |
|
#%endif |
39 |
< |
# The kludge supports the libfontconfig kludge described below |
40 |
< |
%if "%cmsplatf" == "slc4_ia32_gcc345" |
41 |
< |
%patch4 -p1 |
42 |
< |
%endif |
42 |
< |
%if "%cmsplatf" == "slc4_ia32_gcc412" |
39 |
> |
|
40 |
> |
case %cmsplatf in |
41 |
> |
slc4_ia32* ) |
42 |
> |
# The kludge supports the libfontconfig kludge described below |
43 |
|
%patch4 -p1 |
44 |
< |
%endif |
44 |
> |
;; |
45 |
> |
osx105* ) |
46 |
> |
%patch5 -p1 |
47 |
> |
;; |
48 |
> |
esac |
49 |
|
|
50 |
|
%build |
51 |
|
unset QMAKESPEC || true |
65 |
|
# The following is a kludge around the fact that the fact that the |
66 |
|
# /usr/lib/libfontconfig.so soft link (for 32-bit lib) is missing |
67 |
|
# on the 64-bit machines |
68 |
< |
%if "%cmsplatf" == "slc4_ia32_gcc345" |
68 |
> |
case %cmsplatf in |
69 |
> |
slc4_ia32*) |
70 |
|
mkdir -p %{_builddir}/lib |
71 |
|
ln -s /usr/lib/libfontconfig.so.1 %{_builddir}/%n-%type-free-%{qtversion}/lib/libfontconfig.so |
72 |
< |
%endif |
68 |
< |
%if "%cmsplatf" == "slc4_ia32_gcc412" |
69 |
< |
mkdir -p %{_builddir}/lib |
70 |
< |
ln -s /usr/lib/libfontconfig.so.1 %{_builddir}/%n-%type-free-%{qtversion}/lib/libfontconfig.so |
71 |
< |
%endif |
72 |
> |
esac |
73 |
|
|
74 |
|
make %makeprocesses |
75 |
|
|