%define tarname Enable %define name python-enthought-enable %define version 3.0.2 %define release %mkrel 1 Summary: Enthought Tool Suite - Enable project Name: %{name} Version: %{version} Release: %{release} Source0: %{tarname}-%{version}.tar.lzma License: BSD Group: Development/Python Url: http://code.enthought.com/projects/enable/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: python-numpy >= 1.1.0 Requires: python-reportlab, python-opengl Requires: python-enthought-enthoughtbase >= 3.0.0 Requires: python-enthought-traits >= 3.0.2 Requires: python-enthought-traitsgui >= 3.0.2 Requires: python-enthought-traitsbackendwx >= 3.0.2 BuildRequires: python-setuptools >= 0.6c8 BuildRequires: swig >= 1.3.30, python-pyrex >= 0.9.8 BuildRequires: python-numpy-devel >= 1.1.0 BuildRequires: freetype-devel, libx11-devel, MesaGL-devel, MesaGLU-devel %py_requires -d %description The Enable project provides two related multi-platform packages for drawing GUI objects. * Enable - An object drawing library that supports containment and event notification. * Kiva - A multi-platform DisplayPDF vector drawing engine. %prep %setup -q -n %{tarname}-%{version} %build %__python setup.py build %install %__rm -rf %{buildroot} %__python setup.py install --root=%{buildroot} --record=FILELIST %clean %__rm -rf %{buildroot} %files -f FILELIST %defattr(-,root,root) %doc *.txt examples/ %changelog * Fri Dec 12 2008 Lev Givon <lev@mandriva.org> 3.0.2-1mdv2009.1 + Revision: 313511 - Update to 3.0.2. * Fri Oct 31 2008 Lev Givon <lev@mandriva.org> 3.0.1-1mdv2009.1 + Revision: 298968 - import python-enthought-enable