1 |
< |
### RPM external qt 4.4.3 |
1 |
> |
### RPM external qt 4.5.0 |
2 |
|
## INITENV UNSET QMAKESPEC |
3 |
|
## INITENV SET QTDIR %i |
4 |
|
|
24 |
|
;; |
25 |
|
esac |
26 |
|
|
27 |
< |
echo yes | ./configure -prefix %i -stl -no-openssl -no-glib -no-libtiff $CONFIG_ARGS |
27 |
> |
echo yes | ./configure -prefix %i -stl -no-openssl -no-glib -no-libtiff -no-libpng -no-separate-debug-info $CONFIG_ARGS |
28 |
|
|
29 |
|
# The following is a kludge around the fact that the fact that the |
30 |
|
# /usr/lib/libfontconfig.so soft link (for 32-bit lib) is missing |
63 |
|
</Tool> |
64 |
|
EOF_TOOLFILE |
65 |
|
|
66 |
+ |
cat << \EOF_TOOLFILE >%i/etc/scram.d/qt3support |
67 |
+ |
<doc type=BuildSystem::ToolDoc version=1.0> |
68 |
+ |
<Tool name=qt3support version=%v> |
69 |
+ |
<info url="http://www.trolltech.com/products/qt.html"></info> |
70 |
+ |
<LIB name=Qt3Support> |
71 |
+ |
<Client> |
72 |
+ |
<Environment name=QT_BASE default="%i"></Environment> |
73 |
+ |
<Environment name=INCLUDE default="$QT_BASE/include/Qt3Support"></Environment> |
74 |
+ |
</Client> |
75 |
+ |
<Flags CPPDEFINES="QT3_SUPPORT"> |
76 |
+ |
<use name=qtbase> |
77 |
+ |
</Tool> |
78 |
+ |
EOF_TOOLFILE |
79 |
+ |
|
80 |
+ |
|
81 |
|
cat << \EOF_TOOLFILE >%i/etc/scram.d/qt |
82 |
|
<doc type=BuildSystem::ToolDoc version=1.0> |
83 |
|
<Tool name=qt version=%v> |
90 |
|
<Environment name=INCLUDE default="$QT_BASE/include/QtGui"></Environment> |
91 |
|
</Client> |
92 |
|
<use name=qtbase> |
93 |
+ |
<use name=qt3support> |
94 |
|
<use name=X11> |
95 |
|
<use name=opengl> |
96 |
|
</Tool> |
125 |
|
|
126 |
|
%post |
127 |
|
%{relocateConfig}lib/libQt3Support.la |
112 |
– |
%{relocateConfig}lib/libQtScript_debug.la |
113 |
– |
%{relocateConfig}lib/libQt3Support_debug.la |
128 |
|
%{relocateConfig}lib/libQtSql.la |
129 |
|
%{relocateConfig}lib/libQtCLucene.la |
116 |
– |
%{relocateConfig}lib/libQtSql_debug.la |
117 |
– |
%{relocateConfig}lib/libQtCLucene_debug.la |
130 |
|
%{relocateConfig}lib/libQtSvg.la |
131 |
|
%{relocateConfig}lib/libQtCore.la |
120 |
– |
%{relocateConfig}lib/libQtSvg_debug.la |
121 |
– |
%{relocateConfig}lib/libQtCore_debug.la |
132 |
|
%{relocateConfig}lib/libQtTest.la |
133 |
|
%{relocateConfig}lib/libQtGui.la |
124 |
– |
%{relocateConfig}lib/libQtTest_debug.la |
125 |
– |
%{relocateConfig}lib/libQtGui_debug.la |
134 |
|
%{relocateConfig}lib/libQtWebKit.la |
135 |
|
%{relocateConfig}lib/libQtHelp.la |
128 |
– |
%{relocateConfig}lib/libQtWebKit_debug.la |
129 |
– |
%{relocateConfig}lib/libQtHelp_debug.la |
136 |
|
%{relocateConfig}lib/libQtXml.la |
137 |
|
%{relocateConfig}lib/libQtNetwork.la |
138 |
|
%{relocateConfig}lib/libQtXmlPatterns.la |
133 |
– |
%{relocateConfig}lib/libQtNetwork_debug.la |
134 |
– |
%{relocateConfig}lib/libQtXmlPatterns_debug.la |
139 |
|
%{relocateConfig}lib/libQtOpenGL.la |
136 |
– |
%{relocateConfig}lib/libQtXml_debug.la |
137 |
– |
%{relocateConfig}lib/libQtOpenGL_debug.la |
138 |
– |
%{relocateConfig}lib/libphonon.la |
140 |
|
%{relocateConfig}lib/libQtScript.la |
141 |
< |
%{relocateConfig}lib/libphonon_debug.la |
142 |
< |
%{relocateConfig}etc/scram.d/%n |
141 |
> |
%{relocateConfig}etc/scram.d/qtbase |
142 |
> |
%{relocateConfig}etc/scram.d/qt |
143 |
> |
%{relocateConfig}etc/scram.d/qtdesigner |
144 |
> |
%{relocateConfig}etc/scram.d/qtextra |
145 |
> |
%{relocateConfig}etc/scram.d/qt3support |