|
|
|
@ -41,12 +41,8 @@ sed -i "s\QTDESIGNERPATH\ $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/designer\1" desi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%if %{epel5mode}
|
|
|
|
|
%{_libdir}/qt4/bin/qmake
|
|
|
|
|
%else
|
|
|
|
|
qmake-qt4
|
|
|
|
|
%endif
|
|
|
|
|
#parallel build fails sometime so I disable it
|
|
|
|
|
%{?_qt4_qmake}%{!?_qt4_qmake:%{_libdir}/qt4/bin/qmake}
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -74,10 +70,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
|
%{_includedir}/qwt/
|
|
|
|
|
%{_libdir}/libqwt.so
|
|
|
|
|
#%{_qt4_plugindir}/designer/libqwt_designer_plugin.so
|
|
|
|
|
%{_libdir}/qt4/plugins/designer/libqwt_designer_plugin.so
|
|
|
|
|
%{?_qt4_plugindir}%{!?_qt4_plugindir:%{_libdir}/qt4/plugins}/designer/libqwt_designer_plugin.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|