31 Distribution: MSvB Recherche Production |
31 Distribution: MSvB Recherche Production |
32 Class: EVAL |
32 Class: EVAL |
33 Group: Development |
33 Group: Development |
34 License: GPL |
34 License: GPL |
35 Version: 4.4.3 |
35 Version: 4.4.3 |
36 Release: 20081215 |
36 Release: 20090106 |
37 |
37 |
38 # build options |
38 # build options |
39 %option with_tools yes |
39 %option with_tools yes |
|
40 %option with_mysql no |
|
41 %option with_pgsql no |
40 %option with_shared no |
42 %option with_shared no |
41 %option with_examples no |
43 %option with_examples no |
42 |
44 |
43 # list of sources |
45 # list of sources |
44 Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz |
46 Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz |
52 PreReq: X11, png, mng, jpeg, tiff, mesa, xrender |
54 PreReq: X11, png, mng, jpeg, tiff, mesa, xrender |
53 BuildPreReq: openssl, zlib, libiconv, sqlite, dbus |
55 BuildPreReq: openssl, zlib, libiconv, sqlite, dbus |
54 PreReq: openssl, zlib, libiconv, sqlite, dbus |
56 PreReq: openssl, zlib, libiconv, sqlite, dbus |
55 BuildPreReq: fontconfig, freetype |
57 BuildPreReq: fontconfig, freetype |
56 PreReq: fontconfig, freetype |
58 PreReq: fontconfig, freetype |
|
59 %if "%{with_mysql}" == "yes" |
|
60 BuildPreReq: mysql |
|
61 PreReq: mysql |
|
62 %endif |
|
63 %if "%{with_pgsql}" == "yes" |
|
64 BuildPreReq: postgresql |
|
65 PreReq: postgresql |
|
66 %endif |
57 AutoReq: no |
67 AutoReq: no |
58 AutoReqProv: no |
68 AutoReqProv: no |
59 Provides: QTSDK |
69 Provides: QTSDK |
60 |
70 |
61 %description |
71 %description |
127 config.tests/unix/psql/psql.pro |
137 config.tests/unix/psql/psql.pro |
128 %{l_shtool} subst \ |
138 %{l_shtool} subst \ |
129 -e 's;^mac:\(LIBS\);\1;' \ |
139 -e 's;^mac:\(LIBS\);\1;' \ |
130 config.tests/unix/iconv/iconv.pro |
140 config.tests/unix/iconv/iconv.pro |
131 %{l_shtool} subst \ |
141 %{l_shtool} subst \ |
|
142 -e 's;LIBS .*= -lpq$;LIBS += -lpq -lssl -lcrypto;' \ |
|
143 src/sql/drivers/drivers.pri |
|
144 %{l_shtool} subst \ |
132 -e 's;^\(QMAKE_INCDIR[^a-zA-Z0-9=]*=\).*;\1 %{l_prefix}/include;' \ |
145 -e 's;^\(QMAKE_INCDIR[^a-zA-Z0-9=]*=\).*;\1 %{l_prefix}/include;' \ |
133 -e 's;^\(QMAKE_LIBDIR[^a-zA-Z0-9=]*=\).*;\1 %{l_prefix}/lib;' \ |
146 -e 's;^\(QMAKE_LIBDIR[^a-zA-Z0-9=]*=\).*;\1 %{l_prefix}/lib;' \ |
134 -e "s;^\(QMAKE_INCDIR_OPENGL[^=]*=\) *\(.*\);\1 %{l_prefix}/include \2;" \ |
147 -e "s;^\(QMAKE_INCDIR_OPENGL[^=]*=\) *\(.*\);\1 %{l_prefix}/include \2;" \ |
135 -e "s;^\(QMAKE_LIBDIR_OPENGL[^=]*=\) *\(.*\);\1 %{l_prefix}/lib \2 $x11_supdir;" \ |
148 -e "s;^\(QMAKE_LIBDIR_OPENGL[^=]*=\) *\(.*\);\1 %{l_prefix}/lib \2 $x11_supdir;" \ |
136 -e 's;^\(QMAKE_LFLAGS_RELEASE.*\);\1 -s;' \ |
149 -e 's;^\(QMAKE_LFLAGS_RELEASE.*\);\1 -s;' \ |