Some final tweaks prior to release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5,29 +5,39 @@ if [ -z $1 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f wxPython.spec.in ]; then
|
if [ ! -f wxPython.spec ]; then
|
||||||
echo "Please run this script from the directory containing the wxPython.spec.in file."
|
echo "Please run this script from the directory containing the wxPython.spec file."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
strip /usr/lib/python1.5/site-packages/wxPython/*.so
|
#strip /usr/lib/python1.5/site-packages/wxPython/*.so
|
||||||
strip /usr/lib/libwxPyHelpers.so
|
#strip /usr/lib/libwxPyHelpers.so
|
||||||
|
#
|
||||||
|
#cat wxPython.spec.in | sed s/__VERSION__/$1/g > wxPython.spec
|
||||||
|
#
|
||||||
|
#mkdir /usr/doc/wxPython-$1
|
||||||
|
#cp ../README.txt /usr/doc/wxPython-$1
|
||||||
|
#cp ../../../docs/preamble.txt /usr/doc/wxPython-$1
|
||||||
|
#cp ../../../docs/licence.txt /usr/doc/wxPython-$1
|
||||||
|
#cp ../../../docs/licendoc.txt /usr/doc/wxPython-$1
|
||||||
|
#cp ../../../docs/lgpl.txt /usr/doc/wxPython-$1
|
||||||
|
#cp ../../../docs/gpl.txt /usr/doc/wxPython-$1
|
||||||
|
#
|
||||||
|
#rpm -bb wxPython.spec
|
||||||
|
#
|
||||||
|
#mv /usr/src/redhat/RPMS/*/wxPython*.rpm .
|
||||||
|
#chown rd:users wxPython*.rpm
|
||||||
|
#
|
||||||
|
#rm -r /usr/doc/wxPython-$1
|
||||||
|
|
||||||
cat wxPython.spec.in | sed s/__VERSION__/$1/g > wxPython.spec
|
cp -f wxPython-$1.tar.gz /usr/src/redhat/SOURCES
|
||||||
|
rpm -ba wxPython.spec
|
||||||
mkdir /usr/doc/wxPython-$1
|
|
||||||
cp ../README.txt /usr/doc/wxPython-$1
|
|
||||||
cp ../../../docs/preamble.txt /usr/doc/wxPython-$1
|
|
||||||
cp ../../../docs/licence.txt /usr/doc/wxPython-$1
|
|
||||||
cp ../../../docs/licendoc.txt /usr/doc/wxPython-$1
|
|
||||||
cp ../../../docs/lgpl.txt /usr/doc/wxPython-$1
|
|
||||||
cp ../../../docs/gpl.txt /usr/doc/wxPython-$1
|
|
||||||
|
|
||||||
rpm -bb wxPython.spec
|
|
||||||
|
|
||||||
mv /usr/src/redhat/RPMS/*/wxPython*.rpm .
|
mv /usr/src/redhat/RPMS/*/wxPython*.rpm .
|
||||||
|
mv /usr/src/redhat/SRPMS/wxPython*.rpm .
|
||||||
chown rd:users wxPython*.rpm
|
chown rd:users wxPython*.rpm
|
||||||
|
rm -rf /usr/lib/python1.5/site-packages/wxPython/
|
||||||
rm -r /usr/doc/wxPython-$1
|
rm -f /usr/lib/libwxPyHelpers.so
|
||||||
|
rm -rf rm -rf /usr/doc/wxPython-$1
|
||||||
|
@@ -30,17 +30,17 @@ feel (and runtime speed) on the platforms it is supported on.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
cd src
|
cd src
|
||||||
python ../distrib/build.py -b
|
python ../distrib/build.py -b WXPSRCDIR=$PWD
|
||||||
cd ../modules/html
|
cd ../modules/html
|
||||||
python ../../distrib/build.py -b
|
python ../../distrib/build.py -b WXPSRCDIR=../../src
|
||||||
cd ../utils
|
cd ../utils
|
||||||
python ../../distrib/build.py -b
|
python ../../distrib/build.py -b WXPSRCDIR=../../src
|
||||||
cd ../glcanvas
|
cd ../glcanvas
|
||||||
python ../../distrib/build.py -b
|
python ../../distrib/build.py -b WXPSRCDIR=../../src
|
||||||
cd ../ogl
|
cd ../ogl
|
||||||
python ../../distrib/build.py -b
|
python ../../distrib/build.py -b WXPSRCDIR=../../src
|
||||||
cd ../stc
|
cd ../stc
|
||||||
python ../../distrib/build.py -b
|
python ../../distrib/build.py -b WXPSRCDIR=../../src
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Reference in New Issue
Block a user