%define libname pygtkglext %define name python-gtkglext %define version 1.0.1 %define release %mkrel 3 Summary: Python bindings for GtkGLExt Name: %{name} Version: %{version} Release: %{release} License: BSD Group: System/Libraries URL: http://pyopengl.sourceforge.net/ Source: %{libname}-%{version}.tar.bz2 Patch1: pygtkglext-1.0.1-dsextra2.6.patch.bz2 BuildRoot: %_tmppath/%{name}-%{version} Requires: gtkglext, python-opengl BuildRequires: python-devel, gtkglext-devel BuildRequires: pygtk2.0-devel %description Python bindings for GtkGTLExt %prep %setup -n %{libname}-%{version} %patch1 -p1 -b .dsextra2.6 %build python setup.py build %install rm -rf %{buildroot} python setup.py install --prefix=%{buildroot}/%{_prefix} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING COPYING.LIB INSTALL README README.win32 examples/ %{_libdir}/python%{pyver} %{_datadir}/pygtk/2.0/defs %changelog * Fri Sep 30 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.0.1-3mdk - buildrequires fix * Fri May 13 2005 Michael Scherer <misc@mandriva.org> 1.0.1-2mdk - from Tigrux <tigrux@ximian.com> - Do not require python = %pyver - Patch to enable compilation with dsextras of pygtk 2.6.2 * Mon Dec 06 2004 Tigrux <tigrux@ximian.com> 1.0.1-1mdk - First rpm for Mandrake