]>
Commit | Line | Data |
---|---|---|
d1d39410 | 1 | Summary: Python -> GTK interface |
2 | Name: python-pygtk | |
3 | Version: 0.5.9 | |
4 | Release: 1 | |
5 | Copyright: distributable | |
6 | Packager: Oliver Andrich <oli@andrich.net> | |
7 | Group: Development/Languages/Python | |
8 | Source0: pygtk-0.5.9.tar.gz | |
9 | Source1: PyGTK.pth | |
10 | Icon: linux-python-paint-icon.gif | |
11 | BuildRoot: /tmp/py-root | |
12 | Requires: python >= 1.5, gtk+ >= 1.1.9, imlib >= 1.8 | |
13 | ||
14 | %changelog | |
15 | ||
16 | * Sun Dec 27 1998 Oliver Andrich <oli@andrich.net> | |
17 | ||
18 | - updated package to version 0.5.9 which requires the recent developer version | |
19 | of gtk | |
20 | ||
21 | * Sun Oct 04 1998 Oliver Andrich <oli@andrich.net> | |
22 | ||
23 | - updated package to version 0.5.3 which requires the recent developer version | |
24 | of gtk | |
25 | ||
26 | * Sun Aug 09 1998 Oliver Andrich <oli@andrich.net> | |
27 | ||
28 | - created the package | |
29 | ||
30 | %description | |
31 | This archive contains modules that allow you to use gtk in Python | |
32 | programs. At present, it is a fairly complete set of bindings. | |
33 | Despite the low version number, this peice of software is quite | |
34 | useful, and is usable to write moderately complex programs. (see the | |
35 | examples directory for some examples of the simpler programs you could | |
36 | write). | |
37 | ||
38 | ||
39 | %prep | |
40 | %setup -n pygtk-0.5.9 | |
41 | ||
42 | %build | |
a5112e12 | 43 | ./configure %{_target} |
d1d39410 | 44 | make OPT="$RPM_OPT_FLAGS" |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
1f92b1f2 | 48 | mkdir -p $RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages/PyGTK |
49 | install -m 644 $RPM_SOURCE_DIR/PyGTK.pth $RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages | |
50 | make pyexecdir=$RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages/PyGTK \ | |
51 | pythondir=$RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages/PyGTK install | |
d1d39410 | 52 | |
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %doc COPYING Changelog README examples | |
1f92b1f2 | 58 | %{_libdir}/python1.5/site-packages/PyGTK.pth |
59 | %{_libdir}/python1.5/site-packages/PyGTK |