X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02b800ce7c2bb1c1f08075f22be2e7412124b47f..d8dd53b239aa76efe99e7ce9e441f9954e1b84b7:/wxPython/distrib/wxPythonFull.spec.in diff --git a/wxPython/distrib/wxPythonFull.spec.in b/wxPython/distrib/wxPythonFull.spec.in index a4566be93e..8d86737c7a 100644 --- a/wxPython/distrib/wxPythonFull.spec.in +++ b/wxPython/distrib/wxPythonFull.spec.in @@ -58,13 +58,30 @@ # Used to set the Release tag below. I normally use it to define what -# distro the RPM was build on and also include the version of Python +# distro the RPM was built on and also include the version of Python # it was built with. %if %{?release:0}%{!?release:1} %define release 1_py%{pyver} %endif +# This one is used to control whether the full 4 components of the +# verseion number are used in the site-packages subdirectory name. By +# default only 2 or 3 components (depending on stable/unstable status) +# are used. +%if %{?fullver:0}%{!?fullver:1} +%define fullver 0 +%endif + + +# Whether to add --enable-mediactrl to the wxWidgets configure. For +# some older versions of gstreamer-0.8 it currently incorerctly allows +# its use eventhough there is a compatibility problem that causes a +# failed compile. +%if %{?mediactrl:0}%{!?mediactrl:1} +%define mediactrl 1 +%endif + #---------------------------------------------------------------------- # Other variables used below @@ -94,7 +111,7 @@ Name: %{pkgname}%{ver2} 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 @@ -188,13 +205,17 @@ cd bld --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} + --enable-mediactrl \ +%endif --enable-display \ %if %{unicode} --enable-unicode \ @@ -214,7 +235,6 @@ cd bld make -make -C contrib/src/animate make -C contrib/src/gizmos make -C contrib/src/stc @@ -226,6 +246,7 @@ cd $WXDIR/wxPython WXPORT=%{port} \ UNICODE=%{unicode} \ EP_ADD_OPTS=1 \ + EP_FULL_VER=%{fullver} \ NO_SCRIPTS=1 \ WX_CONFIG="$WXDIR/bld/wx-config --no_rpath" \ build_ext --rpath=%{wxpref}/lib \ @@ -241,7 +262,6 @@ WXDIR=`pwd` # 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 @@ -253,6 +273,7 @@ cd $WXDIR/wxPython WXPORT=%{port} \ UNICODE=%{unicode} \ EP_ADD_OPTS=1 \ + EP_FULL_VER=%{fullver} \ NO_SCRIPTS=1 \ WX_CONFIG="$RPM_BUILD_ROOT%{wxpref}/bin/wx-config --prefix=$RPM_BUILD_ROOT%{wxpref} --no_rpath" \ build_ext --rpath=%{wxpref}/lib \ @@ -392,9 +413,13 @@ rm %{wxpref}/bin/wx-config %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