%define tarname MDP %define name python-mdp %define version 2.5 %define release %mkrel 2 Summary: Modular Data Processing Toolkit for Python Name: %{name} Version: %{version} Release: %{release} Source0: %{tarname}-%{version}.tar.gz Source1: MDP2_5_tutorial.pdf License: LGPLv3+ Group: Development/Python Url: http://mdp-toolkit.sourceforge.net BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch Requires: python-numpy >= 1.1, python-scipy >= 0.7.0 BuildRequires: python-numpy-devel >= 1.1 %py_requires -d %description The Modular toolkit for Data Processing (MDP) is a Python data processing framework. Implemented algorithms include: Principal Component Analysis (PCA), Independent Component Analysis (ICA), Slow Feature Analysis (SFA), Independent Slow Feature Analysis (ISFA), Growing Neural Gas (GNG), Factor Analysis, Fisher Discriminant Analysis (FDA), Gaussian Classifiers, and Restricted Boltzmann Machines. %prep %setup -q -n %{tarname}-%{version} cp -p %SOURCE1 . chmod 644 *.pdf %build %__python setup.py build %install %__rm -rf %{buildroot} PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} --record=FILELIST %clean %__rm -rf %{buildroot} %files -f FILELIST %defattr(-,root,root) %doc README CHANGES COPY* *.pdf %changelog * Tue Mar 23 2010 Lev Givon <lev@mandriva.org> 2.5-2mdv2010.1 + Revision: 526968 - Require python-scipy 0.7.* instead of python-symeig (the former now contains symeig). * Tue Jun 30 2009 Lev Givon <lev@mandriva.org> 2.5-1mdv2010.0 + Revision: 390983 - Update to 2.5. * Sat Jan 03 2009 Funda Wang <fwang@mandriva.org> 2.4-2mdv2009.1 + Revision: 323908 - rebuild * Thu Oct 23 2008 Lev Givon <lev@mandriva.org> 2.4-1mdv2009.1 + Revision: 296626 - Update to 2.4. * Sun Oct 12 2008 Lev Givon <lev@mandriva.org> 2.3-1mdv2009.1 + Revision: 293040 - import python-mdp * Mon Jun 2 2008 Lev Givon <lev@mandriva.org> 2.3-1mdv2008.1 - Package for Mandriva.