|
@@ -38,12 +38,11 @@ Release: 20030117
|
|
|
# package options
|
|
# package options
|
|
|
%option with_ssl no
|
|
%option with_ssl no
|
|
|
%option with_qt no
|
|
%option with_qt no
|
|
|
-%option with_gtk no
|
|
|
|
|
-%option with_tcl no
|
|
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://www.mico.org/mico-%{version}.tar.gz
|
|
Source0: http://www.mico.org/mico-%{version}.tar.gz
|
|
|
-Source1: rc.mico
|
|
|
|
|
|
|
+Source1: qtmico.cc
|
|
|
|
|
+Source2: rc.mico
|
|
|
Patch0: mico.patch
|
|
Patch0: mico.patch
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
@@ -55,13 +54,7 @@ PreReq: OpenPKG, openpkg >= 20030103
|
|
|
BuildPreReq: openssl
|
|
BuildPreReq: openssl
|
|
|
%endif
|
|
%endif
|
|
|
%if "%{with_qt}" == "yes"
|
|
%if "%{with_qt}" == "yes"
|
|
|
-BuildPreReq: qt <= 3.0.6
|
|
|
|
|
-%endif
|
|
|
|
|
-%if "%{with_gtk}" == "yes"
|
|
|
|
|
-BuildPreReq: gtk
|
|
|
|
|
-%endif
|
|
|
|
|
-%if "%{with_tcl}" == "yes"
|
|
|
|
|
-BuildPreReq: tcl
|
|
|
|
|
|
|
+BuildPreReq: qt
|
|
|
%endif
|
|
%endif
|
|
|
AutoReq: no
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
AutoReqProv: no
|
|
@@ -109,6 +102,7 @@ AutoReqProv: no
|
|
|
%endif
|
|
%endif
|
|
|
--disable-mini-stl \
|
|
--disable-mini-stl \
|
|
|
--disable-shared
|
|
--disable-shared
|
|
|
|
|
+ cp -f %{SOURCE qtmico.cc} auxdir/
|
|
|
%{l_make} %{l_mflags}
|
|
%{l_make} %{l_mflags}
|
|
|
|
|
|
|
|
%install
|
|
%install
|