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