build and distrib things

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-04-24 04:44:39 +00:00
parent 6d2df48070
commit caf1045491
9 changed files with 194 additions and 10 deletions

View File

@@ -3,5 +3,4 @@
*.zip
build.pyc
filelist
wxPython.spec
wxp2.wse

View File

@@ -1,5 +1,5 @@
sourcedir : .
builddir : .
rpmdir : .
srcrpmdir : .
sourcedir: .
builddir: .
rpmdir: .
srcrpmdir: .

View File

@@ -11,8 +11,11 @@ wxPython/demo/*.xml
wxPython/demo/data/*.png
wxPython/demo/data/*.htm
wxPython/demo/data/*.bmp
wxPython/demo/data/*.i
wxPython/demo/data/*.h
wxPython/distrib/build.py
wxPython/distrib/wxPython.spec
wxPython/lib/*.py
wxPython/lib/*.txt
@@ -88,6 +91,7 @@ wxPython/modules/utils/gtk/*.h
wxPython/modules/utils/gtk/*.py
wxPython/modules/ogl/build.cfg
wxPython/modules/ogl/*.txt
wxPython/modules/ogl/*.i
wxPython/modules/ogl/*.py
wxPython/modules/ogl/*.cpp
@@ -98,7 +102,28 @@ wxPython/modules/ogl/*.rc
wxPython/modules/ogl/*.cpp
wxPython/modules/ogl/*.h
wxPython/modules/ogl/*.py
wxPython/modules/ogl/contrib/include/wx/ogl/*.h
wxPython/modules/ogl/contrib/src/ogl/*.cpp
wxPython/modules/stc/build.cfg
wxPython/modules/stc/*.txt
wxPython/modules/stc/*.i
wxPython/modules/stc/*.py
wxPython/modules/stc/*.cpp
wxPython/modules/stc/*.c
wxPython/modules/stc/*.h
wxPython/modules/stc/*.def
wxPython/modules/stc/*.rc
wxPython/modules/stc/*.cpp
wxPython/modules/stc/*.h
wxPython/modules/stc/*.py
wxPython/modules/stc/contrib/include/wx/stc/*.h
wxPython/modules/stc/contrib/src/stc/*.h
wxPython/modules/stc/contrib/src/stc/*.cpp
wxPython/modules/stc/contrib/src/stc/scintilla/include/*.h
wxPython/modules/stc/contrib/src/stc/scintilla/src/*.h
wxPython/modules/stc/contrib/src/stc/scintilla/src/*.cxx

View File

@@ -0,0 +1,76 @@
%define pref /usr
%define ver 2.1.15
%define rpmver 1
Summary: Cross platform GUI toolkit for use with the Python language.
Name: wxPython
Version: %{ver}
Release: %{rpmver}
Copyright: wxWindows License
Group: Development/Languages/Python
Source: wxPython-%{ver}.tar.gz
Packager: Robin Dunn <robin@alldunn.com>
URL:http://alldunn.com/wxPython/index.html
Vendor: Total Control Software
Requires: python >= 1.5.1
##BuildRoot: /tmp/wxPython-build
##Prefix: /usr/lib/python1.5/site-packages
Prefix: %{pref}
%description
wxPython is a GUI toolkit for Python that is a wrapper around the
wxWindows C++ GUI library. wxPython provides a large variety of
window types and controls, all imlemented with a native look and
feel (and runtime speed) on the platforms it is supported on.
%prep
%setup
%build
cd src
python ../distrib/build.py -b
cd ../modules/html
python ../../distrib/build.py -b
cd ../utils
python ../../distrib/build.py -b
cd ../glcanvas
python ../../distrib/build.py -b
cd ../ogl
python ../../distrib/build.py -b
cd ../stc
python ../../distrib/build.py -b
%install
cd src
python ../distrib/build.py -i
cd ../modules/html
python ../../distrib/build.py -i
cd ../utils
python ../../distrib/build.py -i
cd ../glcanvas
python ../../distrib/build.py -i
cd ../ogl
python ../../distrib/build.py -i
cd ../stc
python ../../distrib/build.py -i
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc BUILD.txt CHANGES.txt README.txt gpl.txt lgpl.txt licence.txt licendoc.txt preamble.txt
%{pref}/lib/libwxPyHelpers.so
%{pref}/lib/python1.5/site-packages/wxPython