]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/wxPython.spec
Preparing makefiles for freetype
[wxWidgets.git] / wxPython / distrib / wxPython.spec
CommitLineData
f6bcfd97 1%define pref /usr
3ca6a5f0
BP
2%define ver 2.2.0
3%define rpmver 0
f6bcfd97
BP
4
5Summary: Cross platform GUI toolkit for use with the Python language.
6Name: wxPython
7Version: %{ver}
8Release: %{rpmver}
9Copyright: wxWindows License
10Group: Development/Languages/Python
11Source: wxPython-%{ver}.tar.gz
12Packager: Robin Dunn <robin@alldunn.com>
13URL:http://alldunn.com/wxPython/index.html
14Vendor: Total Control Software
15Requires: python >= 1.5.2
16##BuildRoot: /tmp/wxPython-build
17##Prefix: /usr/lib/python1.5/site-packages
18
19Prefix: %{pref}
20
21%description
22wxPython is a GUI toolkit for Python that is a wrapper around the
23wxWindows C++ GUI library. wxPython provides a large variety of
24window types and controls, all imlemented with a native look and
25feel (and runtime speed) on the platforms it is supported on.
26
27
28%package gl
29Summary: Cross platform GUI toolkit for use with the Python language, OpenGL addon.
30Group: Development/Languages/Python
31Requires: wxPython
32
33%description gl
34OpenGL add on for wxPython.
35
36#----------------------------------------------------------------------
37
38%prep
39
40%setup
41
42%build
43NOSWIG=1
44export NOSWIG
45cd src
46python ../distrib/build.py -b WXPSRCDIR=$PWD USE_SONAME=1
47cd ../contrib/ogl
48python ../../distrib/build.py -b WXPSRCDIR=../../src USE_SONAME=1
49cd ../stc
50python ../../distrib/build.py -b WXPSRCDIR=../../src USE_SONAME=1
51if [ -z $NOGLCANVAS ]; then
52 cd ../glcanvas
53 python ../../distrib/build.py -b WXPSRCDIR=../../src USE_SONAME=1
54fi
55
56#----------------------------------------------------------------------
57
58%install
59NOSWIG=1
60export NOSWIG
61cd src
62python ../distrib/build.py -i
63cd ../contrib/ogl
64python ../../distrib/build.py -i
65cd ../stc
66python ../../distrib/build.py -i
67if [ -z $NOGLCANVAS ]; then
68 cd ../glcanvas
69 python ../../distrib/build.py -i
70fi
71
72#----------------------------------------------------------------------
73
74%post
75/sbin/ldconfig
76
77%postun
78/sbin/ldconfig
79
80#----------------------------------------------------------------------
81
82%files
83%doc BUILD.txt CHANGES.txt README.txt gpl.txt lgpl.txt licence.txt licendoc.txt preamble.txt
84%{pref}/lib/libwxPyHelpers*
85%{pref}/lib/python1.5/site-packages/wxPython/*.py
86%{pref}/lib/python1.5/site-packages/wxPython/*.py?
87%{pref}/lib/python1.5/site-packages/wxPython/lib
88%{pref}/lib/python1.5/site-packages/wxPython/demo
89%{pref}/lib/python1.5/site-packages/wxPython/wxcmodule.so
90%{pref}/lib/python1.5/site-packages/wxPython/oglcmodule.so
91%{pref}/lib/python1.5/site-packages/wxPython/stc_cmodule.so
92
93%files gl
94%{pref}/lib/python1.5/site-packages/wxPython/glcanvascmodule.so
95
96
97
98
99
100
101