git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16763
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
# rm -rf src/motif
# rm -rf src/os2
rm -rf wxPython/wxSWIG
# rm -rf src/motif
# rm -rf src/os2
rm -rf wxPython/wxSWIG
popd > /dev/null
popd > /dev/null
popd > /dev/null
popd > /dev/null
Source0: %{tarname}-%{version}.tar.gz
License: wxWindows Library Licence, Version 3
URL: http://wxPython.org/
Source0: %{tarname}-%{version}.tar.gz
License: wxWindows Library Licence, Version 3
URL: http://wxPython.org/
-Packager: Robin Dunn <robind@alldunn.com>
+Packager: Robin Dunn <robin@alldunn.com>
Group: Development/Python
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{pref}
Group: Development/Python
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{pref}
#----------------------------------------------------------------
%clean
#----------------------------------------------------------------
%clean
-#[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------
#----------------------------------------------------------------
cflags = string.split(cflags)
if UNDEF_NDEBUG:
cflags.append('-UNDEBUG')
cflags = string.split(cflags)
if UNDEF_NDEBUG:
cflags.append('-UNDEBUG')
+ if debug:
+ cflags.append('-g')
+ cflags.append('-O0')
lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1]
lflags = string.split(lflags)
lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1]
lflags = string.split(lflags)
cflags = string.split(cflags)
if UNDEF_NDEBUG:
cflags.append('-UNDEBUG')
cflags = string.split(cflags)
if UNDEF_NDEBUG:
cflags.append('-UNDEBUG')
+ if debug:
+ cflags.append('-g')
+ cflags.append('-O0')
lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1]
lflags = string.split(lflags)
lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1]
lflags = string.split(lflags)