Moved and reorganized wxPython directories
Now builds into an intermediate wxPython package directory before installing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
76
wxPython/distrib/wxPython.spec
Normal file
76
wxPython/distrib/wxPython.spec
Normal 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 WXPSRCDIR=$PWD
|
||||
cd ../modules/html
|
||||
python ../../distrib/build.py -b WXPSRCDIR=../../src
|
||||
cd ../utils
|
||||
python ../../distrib/build.py -b WXPSRCDIR=../../src
|
||||
cd ../glcanvas
|
||||
python ../../distrib/build.py -b WXPSRCDIR=../../src
|
||||
cd ../ogl
|
||||
python ../../distrib/build.py -b WXPSRCDIR=../../src
|
||||
cd ../stc
|
||||
python ../../distrib/build.py -b WXPSRCDIR=../../src
|
||||
|
||||
|
||||
%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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user