Ver código fonte

Correctly determine build requirements.

Michael Schloh von Bennewitz 23 anos atrás
pai
commit
0789d79a71
1 arquivos alterados com 13 adições e 1 exclusões
  1. 13 1
      mico/mico.spec

+ 13 - 1
mico/mico.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
 Group:        System
 License:      LGPL/GPL
 Version:      2.3.7
-Release:      20030116
+Release:      20030117
 
 #   package options
 %option       with_ssl      no
@@ -51,6 +51,18 @@ Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
 BuildPreReq:  OpenPKG, openpkg >= 20030103, gcc, make
 PreReq:       OpenPKG, openpkg >= 20030103
+%if "%{with_ssl}" == "yes"
+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
+%endif
 AutoReq:      no
 AutoReqProv:  no