| 1 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
|
| 2 |
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
| 3 |
|
| 4 |
|
| 5 |
Name: Cython
|
| 6 |
Version: 0.11.3
|
| 7 |
#Release: 1.rc1%{?dist}
|
| 8 |
Release: 1%{?dist}
|
| 9 |
Summary: A language for writing Python extension modules
|
| 10 |
|
| 11 |
#%define upstreamversion %{version}.rc1
|
| 12 |
%define upstreamversion %{version}
|
| 13 |
|
| 14 |
Group: Development/Tools
|
| 15 |
License: Python
|
| 16 |
URL: http://www.cython.org
|
| 17 |
Source0: http://www.cython.org/Cython-%{upstreamversion}.tar.gz
|
| 18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 19 |
|
| 20 |
BuildRequires: python-devel python-setuptools
|
| 21 |
Requires: python
|
| 22 |
|
| 23 |
%description
|
| 24 |
This is a development version of Pyrex, a language
|
| 25 |
for writing Python extension modules.
|
| 26 |
|
| 27 |
For more info, see:
|
| 28 |
|
| 29 |
Doc/About.html for a description of the language
|
| 30 |
INSTALL.txt for installation instructions
|
| 31 |
USAGE.txt for usage instructions
|
| 32 |
Demos for usage examples
|
| 33 |
|
| 34 |
|
| 35 |
%prep
|
| 36 |
%setup -q -n %{name}-%{upstreamversion}
|
| 37 |
|
| 38 |
|
| 39 |
%build
|
| 40 |
%{__python} setup.py build
|
| 41 |
|
| 42 |
|
| 43 |
%install
|
| 44 |
rm -rf $RPM_BUILD_ROOT
|
| 45 |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
| 46 |
|
| 47 |
|
| 48 |
%clean
|
| 49 |
rm -rf $RPM_BUILD_ROOT
|
| 50 |
|
| 51 |
%check
|
| 52 |
%{__python} runtests.py -x numpy
|
| 53 |
|
| 54 |
%files
|
| 55 |
%defattr(-,root,root,-)
|
| 56 |
%{_bindir}/cython
|
| 57 |
%{python_sitearch}/Cython
|
| 58 |
%{python_sitearch}/cython.py*
|
| 59 |
%{python_sitearch}/pyximport
|
| 60 |
%if 0%{?fedora} >= 9
|
| 61 |
%{python_sitearch}/Cython*egg-info
|
| 62 |
%endif
|
| 63 |
%doc *.txt Demos Doc Tools
|
| 64 |
|
| 65 |
|
| 66 |
%changelog
|
| 67 |
* Sun Sep 27 2009 Neal Becker <ndbecker2@gmail.com> - 0.11.3-1.rc1
|
| 68 |
- Update to 0.11.3rc1
|
| 69 |
- Update to 0.11.3
|
| 70 |
|
| 71 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.2-2
|
| 72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 73 |
|
| 74 |
* Wed May 20 2009 Neal Becker <ndbecker2@gmail.com> - 0.11.2-1
|
| 75 |
- Update to 0.11.2
|
| 76 |
|
| 77 |
* Thu Apr 16 2009 Neal Becker <ndbecker2@gmail.com> - 0.11.1-1
|
| 78 |
- Update to 0.11.1
|
| 79 |
|
| 80 |
* Sat Mar 14 2009 Neal Becker <ndbecker2@gmail.com> - 0.11-2
|
| 81 |
- Missed cython.py*
|
| 82 |
|
| 83 |
* Sat Mar 14 2009 Neal Becker <ndbecker2@gmail.com> - 0.11-1
|
| 84 |
- Update to 0.11
|
| 85 |
- Exclude numpy from tests so we don't have to BR it
|
| 86 |
|
| 87 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-2
|
| 88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 89 |
|
| 90 |
* Wed Dec 17 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.3-1
|
| 91 |
- Update to 0.10.3
|
| 92 |
|
| 93 |
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.2-2
|
| 94 |
- Rebuild for Python 2.6
|
| 95 |
|
| 96 |
* Mon Dec 1 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.2-1
|
| 97 |
- Update to 0.10.2
|
| 98 |
|
| 99 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.1-2
|
| 100 |
- Rebuild for Python 2.6
|
| 101 |
|
| 102 |
* Wed Nov 19 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.1-1
|
| 103 |
- Update to 0.10.1
|
| 104 |
|
| 105 |
* Sun Nov 9 2008 Neal Becker <ndbecker2@gmail.com> - 0.10-3
|
| 106 |
- Fix typo
|
| 107 |
|
| 108 |
* Sun Nov 9 2008 Neal Becker <ndbecker2@gmail.com> - 0.10-1
|
| 109 |
- Update to 0.10
|
| 110 |
|
| 111 |
* Fri Jun 13 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-2
|
| 112 |
- Install into python_sitearch
|
| 113 |
- Add %%check
|
| 114 |
|
| 115 |
* Fri Jun 13 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-1
|
| 116 |
- Update to 0.9.8
|
| 117 |
|
| 118 |
* Mon Apr 14 2008 José Matos <jamatos[AT]fc.up.pt> - 0.9.6.13.1-3
|
| 119 |
- Remove remaining --record.
|
| 120 |
- Add more documentation (Doc and Tools).
|
| 121 |
- Add correct entry for egg-info (F9+).
|
| 122 |
|
| 123 |
* Mon Apr 14 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-2
|
| 124 |
- Change License to Python
|
| 125 |
- Install About.html
|
| 126 |
- Fix mixed spaces/tabs
|
| 127 |
- Don't use --record
|
| 128 |
|
| 129 |
* Tue Apr 8 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-1
|
| 130 |
- Update to 0.9.6.13.1
|
| 131 |
|
| 132 |
* Mon Apr 7 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13-1
|
| 133 |
- Update to 0.9.6.13
|
| 134 |
- Add docs
|
| 135 |
|
| 136 |
* Tue Feb 26 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.12-1
|
| 137 |
- Initial version
|
| 138 |
|