]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/wxPythonFull.spec.in
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / distrib / wxPythonFull.spec.in
index 3f08f2b0faf7a9456c98224ba7bfba128dd06d06..898695b763eadc4e55ce3666f29599296b6b80e1 100644 (file)
@@ -16,9 +16,9 @@
 
 
 # Which version of Python to build with.  Used to assemble python
-# binary name so use '2.2', '2.3', etc.
+# binary name so use '2.3', '2.4', etc.
 %if %{?pyver:0}%{!?pyver:1}
-%define pyver 2.3
+%define pyver 2.4
 %endif
 
 
@@ -112,7 +112,7 @@ Cross platform GUI toolkit for Python
 Summary:   Cross platform GUI toolkit for Python
 Group:     Development/Python
 Requires:  %{pkgname}-common
-Obsoletes: wxPythonGTK%{gtktype}-py%{pyver}
+Obsoletes: wxPythonGTK%{gtktype}-py%{pyver}, wxPythonGTK%{gtktype}
 Provides:  wxPython
 
 
@@ -181,22 +181,25 @@ WXDIR=`pwd`
 # Configure and build wxWidgets
 mkdir bld
 cd bld
-../configure --with-gtk \
+../configure \
+%if %{using_gtk1}
+       --with-gtk=1 \
+%else 
+       --with-gtk=2 \
+%endif
        --prefix=%{wxpref} \
        --enable-monolithic \
        --disable-rpath \
        --with-opengl \
+       --with-gnomeprint \
        --enable-geometry \
        --enable-optimise \
        --enable-sound  --with-sdl \
        --enable-display \
-%if %{using_gtk1}
-       --disable-gtk2 \
-%else 
-       --enable-gtk2 \
-%endif
 %if %{unicode}
        --enable-unicode \
+%else
+       --disable-unicode \
 %endif
 %if %{debug_flag}
        --enable-debug_flag \