%build
export QTDIR=%_qt4dir
export PATH=$QTDIR/bin:$PATH
qmake qwt.pro
%qmake_qt4 CONFIG+=QwtSVGItem qwt.pro
# incompatible with SMP build
%make