# its use eventhough there is a compatibility problem that causes a
# failed compile.
%if %{?mediactrl:0}%{!?mediactrl:1}
-%define mediactrl 0
+%define mediactrl 1
%endif
Summary: Cross platform GUI toolkit for Python
Version: %{version}
Release: %{release}
-Source0: %{tarname}-%{version}.tar.gz
+Source0: %{tarname}-%{version}.tar.bz2
License: wx Library Licence, Version 3
URL: http://wxPython.org/
Packager: Robin Dunn <robin@alldunn.com>
--with-gtk=2 \
%endif
--prefix=%{wxpref} \
- --enable-monolithic \
+ --disable-monolithic \
--disable-rpath \
--with-opengl \
--with-gnomeprint \
--enable-geometry \
+ --enable-graphics_ctx \
--enable-optimise \
--enable-sound --with-sdl \
%if %{mediactrl}
make
-make -C contrib/src/animate
make -C contrib/src/gizmos
make -C contrib/src/stc
# Install wxGTK and contribs
cd bld
make prefix=$RPM_BUILD_ROOT%{wxpref} install
-make -C contrib/src/animate prefix=$RPM_BUILD_ROOT%{wxpref} install
make -C contrib/src/gizmos prefix=$RPM_BUILD_ROOT%{wxpref} install
make -C contrib/src/stc prefix=$RPM_BUILD_ROOT%{wxpref} install
%doc wxPython/docs/*
%dir %{pref}/lib*/python%{pyver}/site-packages/wx-%{ver2}*-%{port}-%{chartype}
%{pref}/lib*/python%{pyver}/site-packages/wx-%{ver2}*-%{port}-%{chartype}/*
+%dir %{pref}/lib*/python%{pyver}/site-packages/wxaddons
+%{pref}/lib*/python%{pyver}/site-packages/wxaddons/*
%dir %{wxpref}
%dir %{wxpref}/lib
-%{wxpref}/lib/libwx_gtk*
+%{wxpref}/lib/libwx_*
+%dir %{wxpref}/bin
+%{wxpref}/bin/wxrc*
%{wxpref}/share