File: pygtkglext.spec.in

package info (click to toggle)
python-gtkglext1 1.1.0-5
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,992 kB
  • ctags: 422
  • sloc: sh: 8,993; python: 3,469; makefile: 191; ansic: 132
file content (67 lines) | stat: -rw-r--r-- 1,629 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- rpm-spec -*-

%define base_version		@PYGTKGLEXT_VERSION@
%define api_version		@PYGTKGLEXT_API_VERSION@
%define rel			1

%define gtkglext_req_version	@GTKGLEXT_REQUIRED_VERSION@

Summary: Python Bindings for GtkGLExt
Name: pygtkglext
Version: %{base_version}
Release: %{rel}
License: LGPL
Group: Development/Languages
URL: http://gtkglext.sourceforge.net/
Source0: ftp://dl.sourceforge.net/pub/sourceforge/gtkglext/pygtkglext-%{version}.tar.gz
BuildRoot: %{_tmppath}/pygtkglext-%{version}-root

Requires: gtkglext >= %{gtkglext_req_version}
Requires: pygtk2
Requires: gtk2
Requires: XFree86-libs
Requires: python >= 2.2

BuildRequires: gtkglext-devel >= %{gtkglext_req_version}
BuildRequires: pygtk2-devel
BuildRequires: gtk2-devel
BuildRequires: XFree86-devel
BuildRequires: python-devel >= 2.2
BuildRequires: pkgconfig

%description
PyGtkGLExt is Python language bindings for GtkGLExt, OpenGL Extension to GTK.
It enables Python programmers to write OpenGL applications with PyGTK2.

%prep
%setup -q -n pygtkglext-%{version}

%build
[ -x /usr/bin/python2.2 ] && export PYTHON=/usr/bin/python2.2
%configure
make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)

%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
%{_libdir}/python?.?/site-packages/gtk-2.0/gtk/gdkgl
%{_libdir}/python?.?/site-packages/gtk-2.0/gtk/gtkgl
%{_libdir}/pkgconfig/*
%{_datadir}/pygtk/2.0/defs/*

%changelog
* Sun Aug 31 2003 Naofumi Yasufuku <naofumi@users.sourceforge.net>
- Updated source URL.

* Sun May 11 2003 Naofumi Yasufuku <naofumi@users.sourceforge.net>
- Initial build.