0229f27
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
0229f27
0229f27
0229f27
Name:		Cython
0229f27
Version:	0.9.6.13.1
0229f27
Release:	3%{?dist}
0229f27
Summary:	A language for writing Python extension modules
0229f27
0229f27
Group:		Development/Tools
0229f27
License:	Python
0229f27
URL:		http://www.cython.org
0229f27
Source0:	http://www.cython.org/Cython-%{version}.tar.gz
0229f27
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
0229f27
0229f27
BuildRequires:	python-devel python-setuptools
0229f27
Requires:	python
0229f27
BuildArch:	noarch
0229f27
0229f27
%description
0229f27
This is a development version of Pyrex, a language
0229f27
for writing Python extension modules.
0229f27
0229f27
For more info, see:
0229f27
0229f27
    Doc/About.html for a description of the language
0229f27
    INSTALL.txt	   for installation instructions
0229f27
    USAGE.txt	   for usage instructions
0229f27
    Demos	   for usage examples
0229f27
0229f27
0229f27
%prep
0229f27
%setup -q -n Cython-%{version}
0229f27
0229f27
0229f27
%build
0229f27
%{__python} setup.py build
0229f27
0229f27
0229f27
%install
0229f27
rm -rf $RPM_BUILD_ROOT
0229f27
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
0229f27
0229f27
0229f27
%clean
0229f27
rm -rf $RPM_BUILD_ROOT
0229f27
0229f27
0229f27
%files
0229f27
%defattr(-,root,root,-)
0229f27
%{_bindir}/cython
0229f27
%{python_sitelib}/Cython
0229f27
%if 0%{?fedora} >= 9
0229f27
%{python_sitelib}/Cython*egg-info
0229f27
%endif
0229f27
%doc *.txt Demos Doc Tools
0229f27
0229f27
0229f27
%changelog
0229f27
* Mon Apr 14 2008 José Matos <jamatos[AT]fc.up.pt> - 0.9.6.13.1-3
0229f27
- Remove remaining --record.
0229f27
- Add more documentation (Doc and Tools).
0229f27
- Add correct entry for egg-info (F9+).
0229f27
0229f27
* Mon Apr 14 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-2
0229f27
- Change License to Python
0229f27
- Install About.html
0229f27
- Fix mixed spaces/tabs
0229f27
- Don't use --record
0229f27
0229f27
* Tue Apr  8 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-1
0229f27
- Update to 0.9.6.13.1
0229f27
0229f27
* Mon Apr  7 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13-1
0229f27
- Update to 0.9.6.13
0229f27
- Add docs
0229f27
0229f27
* Tue Feb 26 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.12-1
0229f27
- Initial version
0229f27