Updates to the wxPython distribution builders

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 1999-06-23 05:28:10 +00:00
parent f96b60aa86
commit 2d9f55970b
4 changed files with 25 additions and 16 deletions

View File

@ -12,11 +12,15 @@ fi
mkdir i386
strip /usr/lib/python1.5/site-packages/wxPython/wxcmodule.so strip /usr/lib/python1.5/site-packages/wxPython/wxcmodule.so
cat wxPython.spec.in | sed s/__VERSION__/$1/g > wxPython.spec cat wxPython.spec.in | sed s/__VERSION__/$1/g > wxPython.spec
rpm --rcfile .rpmrc -bb wxPython.spec
mv i386/*.rpm . mkdir /usr/doc/wxPython-$1
rm -rf i386 cp ../README.txt /usr/doc/wxPython-$1
rpm -bb wxPython.spec
mv /usr/src/redhat/RPMS/*/wxPython*.rpm .
rm -r /usr/doc/wxPython-$1

View File

@ -10,6 +10,8 @@ wxPython/demo/README.txt
wxPython/lib/*.py wxPython/lib/*.py
wxPython/lib/*.txt wxPython/lib/*.txt
wxPython/lib/sizers/*.py
wxPython/lib/sizers/*.txt
wxPython/src/*.i wxPython/src/*.i
@ -31,7 +33,7 @@ wxPython/src/gtk/*.cpp
wxPython/src/gtk/*.h wxPython/src/gtk/*.h
wxPython/src/gtk/*.py wxPython/src/gtk/*.py
wxPython/src/motif/*.cpp wxpython/src/motif/*.cpp
wxPython/src/motif/*.h wxPython/src/motif/*.h
wxPython/src/motif/*.py wxPython/src/motif/*.py
@ -40,5 +42,3 @@ wxPython/src/qt/*.h
wxPython/src/qt/*.py wxPython/src/qt/*.py
wxPython/SWIG.patches/*.patch wxPython/SWIG.patches/*.patch

View File

@ -1,7 +1,7 @@
Summary: Cross platform GUI toolkit for use with the Python language. Summary: Cross platform GUI toolkit for use with the Python language.
Name: wxPython Name: wxPython
Version: __VERSION__ Version: __VERSION__
Release: 3 Release: 1
Copyright: wxWindows Copyright: wxWindows
Group: Development/Languages/Python Group: Development/Languages/Python
Source: http://alldunn.com/wxPython/wxPython-__VERSION__.tar.gz Source: http://alldunn.com/wxPython/wxPython-__VERSION__.tar.gz
@ -36,6 +36,6 @@ extension language for applications that need a programmable interface.
#make install #make install
%files %files
%doc ../README.txt %doc /usr/doc/wxPython-__VERSION__/README.txt
/usr/lib/python1.5/site-packages/wxPython /usr/lib/python1.5/site-packages/wxPython

View File

@ -390,13 +390,18 @@ wxInstall : sharedmods $(PYMODULES)
-for i in $(PYMODULES); do \ -for i in $(PYMODULES); do \
cp $$i $(TARGETDIR); \ cp $$i $(TARGETDIR); \
done done
if [ "$(TARGETDIR)" != ".." ]; then \ if [ "$(TARGETDIR)" != ".." ]; then \
mkdir $(TARGETDIR)/lib; \ mkdir $(TARGETDIR)/lib; \
mkdir $(TARGETDIR)/demo; \ mkdir $(TARGETDIR)/lib/sizers; \
cp ../lib/*.py $(TARGETDIR)/lib; \ mkdir $(TARGETDIR)/demo; \
cp ../demo/*.py $(TARGETDIR)/demo; \ mkdir $(TARGETDIR)/demo/bitmaps; \
cp ../lib/*.txt $(TARGETDIR)/lib; \ cp ../lib/*.py $(TARGETDIR)/lib; \
cp ../demo/*.txt $(TARGETDIR)/demo;\ cp ../lib/sizers/*.py $(TARGETDIR)/lib/sizers; \
cp ../demo/*.py $(TARGETDIR)/demo; \
cp ../lib/*.txt $(TARGETDIR)/lib; \
cp ../lib/sizers/*.txt $(TARGETDIR)/lib/sizers; \
cp ../demo/*.txt $(TARGETDIR)/demo; \
cp ../demo/bitmaps/[a-z]* $(TARGETDIR)/demo/bitmaps; \
fi fi
if [ "$(TARGETDIR)" != ".." ]; then \ if [ "$(TARGETDIR)" != ".." ]; then \
python $(LIBDEST)/compileall.py $(TARGETDIR); \ python $(LIBDEST)/compileall.py $(TARGETDIR); \