Some slight cleanup and reorganization

Added support for making RPM distribution


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-05-04 00:25:56 +00:00
parent cf724bceea
commit e6c95f27a3
26 changed files with 334 additions and 44 deletions

22
utils/wxPython/distrib/makerpm Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
if [ -z $1 ]; then
echo "Please specify a version number on the command line."
exit 1
fi
if [ ! -f wxPython.spec.in ]; then
echo "Please run this script from the directory containing the wxPython.spec.in file."
exit 1
fi
mkdir i386
strip /usr/lib/python1.5/site-packages/wxPython/wxcmodule.so
cat wxPython.spec.in | sed s/__VERSION__/$1/g > wxPython.spec
rpm --rcfile .rpmrc -bb --clean wxPython.spec
mv i386/*.rpm .
rm -rf i386