%define tarname Enable %define name python-enthought-enable %define version 3.3.0 %define release %mkrel 1 %define epoch 1 Summary: Enthought Tool Suite - Enable project Name: %{name} Version: %{version} Release: %{release} Epoch: %{epoch} Source0: %{tarname}-%{version}.tar.gz 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 >= %{epoch}:3.0.4 Requires: python-enthought-traits >= %{epoch}:3.3.0 Requires: python-enthought-traitsgui >= %{epoch}:3.3.0 Requires: python-enthought-traitsbackendwx >= %{epoch}:3.3.0 BuildRequires: python-setuptools >= 0.6c8 BuildRequires: python-setupdocs >= 1.0 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 Feb 26 2010 Lev Givon <lev@mandriva.org> 1:3.3.0-1mdv2010.1 + Revision: 512026 - Update to 3.3.0. * Fri Aug 21 2009 Lev Givon <lev@mandriva.org> 1:3.2.0-2mdv2010.0 + Revision: 419287 - Add epoch to permit backport and facilitate update from 2009.1. * Fri Aug 21 2009 Lev Givon <lev@mandriva.org> 3.2.0-1mdv2010.0 + Revision: 419033 - Update to 3.2.0. * Fri Apr 03 2009 Lev Givon <lev@mandriva.org> 3.1.0-1mdv2010.0 + Revision: 363863 - Update to 3.1.0. * Thu Mar 19 2009 Paulo Andrade <pcpa@mandriva.com.br> 3.1.0-1mdv2009.1 + Revision: 358134 - Update to latest upstream svn. * Sat Jan 03 2009 Funda Wang <fwang@mandriva.org> 3.0.2-2mdv2009.1 + Revision: 323671 - rebuild * 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