Name: pypy Version: 1.2 Release: 1%{?dist} Summary: Very compliant implementation of the Python language Group: Development/Languages License: MIT and Python and LGPL URL: http://pypy.org/ Source0: http://pypy.org/download/pypy-%{version}-src.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildArch: BuildRequires: python %description PyPy is a very compliant implementation of the Python language. PyPy has several advantages and distinctive features: * Speed: thanks to its Just-in-Time compiler, Python programs often run faster on PyPy. (What is a JIT compiler?) * Memory usage: large, memory-hungry Python programs might end up taking less space than they do in CPython. * Sandboxing: PyPy provides the ability to run untrusted code in a fully secure way. * Stackless: PyPy can be configured to run in stackless mode, providing micro-threads for massive concurrency. * As well as other features. %prep %setup -q %build cd pypy/translator/goal/ %{__python} translate.py -Ojit #--allworkingmodules --withmod %install rm -rf $RPM_BUILD_ROOT DD=$RPM_BUILD_ROOT%{_datadir}/%{name}-%{version} cp -ar lib-python pypy $DD/ cp -a pypy/translator/goal/pypy-c $RPM_BUILD_ROOT%{_bindir}/pypy %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) #%doc %{_bindir}/pypy %{_datadir}/%{name}-%{version} %changelog