%define name python2.4-psyco %define version 1.5.2 %define release %mkrel 2 %define oname psyco Summary: Python Specializing Compiler Name: %{name} Version: %{version} Release: %{release} Source0: http://prdownloads.sourceforge.net/%oname/%oname-%version-src.tar.bz2 Source1: psyco-1.1.1-docs.tar.bz2 License: MIT Group: Development/Python BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: python2.4-devel Provides: psyco Obsoletes: psyco Url: http://psyco.sourceforge.net Exclusivearch: %ix86 %description Psyco is a Python extension module which can massively speed up the execution of any Python code. %package docs Group: Development/Python Summary: Programmer's documentation for Psyco %description docs Psyco is a Python extension module which can massively speed up the execution of any Python code. This package contains the developer's documentation for %name in HTML and PostScript formats. %prep %setup -q -n %oname-%version -a 1 %build python2.4 setup.py build %install rm -rf $RPM_BUILD_ROOT python2.4 setup.py install --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc *.txt %{_libdir}/python*/site-packages/*psyco* %files docs %defattr(-,root,root) %doc Documentation/* %changelog * Tue Nov 28 2006 Götz Waschk 1.5.2-2mdv2007.0 + Revision: 88165 - update file list * Tue Nov 21 2006 Götz Waschk 1.5.2-1mdv2007.1 + Revision: 85949 - Import python-psyco * Tue Nov 21 2006 G�tz Waschk 1.5.2-1mdv2007.1 - new version * Thu Apr 27 2006 Götz Waschk 1.5.1-1mdk - New release 1.5.1 - use mkrel * Sun Oct 30 2005 Götz Waschk 1.5-1mdk - New release 1.5 * Fri Feb 18 2005 G�tz Waschk 1.4-1mdk - provide and obsolete psyco - New release 1.4 * Tue Dec 7 2004 G�tz Waschk 1.3-2mdk - update description * Mon Dec 6 2004 Goetz Waschk 1.3-1mdk - New release 1.3 * Sat Dec 04 2004 Michael Scherer 1.2-2mdk - Rebuild for new python * Thu Mar 4 2004 G�tz Waschk 1.2-1mdk - new version * Mon Sep 1 2003 G�tz Waschk 1.1.1-1mdk - include prebuilt docs from debian, we don't have python's mkhowto - initial package