Bladeren bron

Wrote a compromise solution to v2.3.7 + Qt 3.1.X incompatability

Michael Schloh von Bennewitz 23 jaren geleden
bovenliggende
commit
c065e1a77b
1 gewijzigde bestanden met toevoegingen van 4 en 10 verwijderingen
  1. 4 10
      mico/mico.spec

+ 4 - 10
mico/mico.spec

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