72 lines
2.2 KiB
RPMSpec
72 lines
2.2 KiB
RPMSpec
Name: Pyrex
|
|
Version: 0.9.9
|
|
Release: 2mamba
|
|
Summary: A Language for Writing Python Extension Modules
|
|
Group: Development/Libraries/Python
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
|
|
Source: http://www.cosc.canterbury.ac.nz/%7Egreg/python/Pyrex/Pyrex-%{version}.tar.gz
|
|
License: Public Domain
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Pyrex lets you write code that mixes Python and C data types any way you want, and compiles it into a C extension for Python.
|
|
|
|
%prep
|
|
%setup -q
|
|
sed -i "s|python|%{__python}|" bin/pyrexc
|
|
sed -i "s|python|%{__python}|" bin/update_references
|
|
|
|
%build
|
|
%{__python} setup.py build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%{__python} setup.py install \
|
|
--root=%{buildroot} \
|
|
--install-headers=%{_includedir}/python%{python_version} \
|
|
--install-lib=%{python_sitearch}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/pyrexc
|
|
%dir %{python_sitearch}/Pyrex
|
|
%{python_sitearch}/Pyrex/*
|
|
%{python_sitearch}/Pyrex-%{version}-py*.egg-info
|
|
%dir %{python_sitearch}/Pyrex/Compiler
|
|
%{python_sitearch}/Pyrex/Compiler/Lexicon.pickle
|
|
|
|
%changelog
|
|
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.9-2mamba
|
|
- python 2.7 rebuild
|
|
|
|
* Mon Jun 21 2010 Automatic Build System <autodist@mambasoft.it> 0.9.9-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Mar 10 2010 Automatic Build System <autodist@mambasoft.it> 0.9.8.6-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Nov 24 2008 gil <puntogil@libero.it> 0.9.8.5-1mamba
|
|
- update to 0.9.8.5
|
|
|
|
* Fri May 09 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.7-1mamba
|
|
- update to 0.9.7
|
|
|
|
* Tue Oct 24 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.4.1-1qilnx
|
|
- update to version 0.9.4.1 by autospec
|
|
|
|
* Mon Aug 08 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-2qilnx
|
|
- rebuilt with Python 2.4
|
|
|
|
* Sat Jun 04 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-1qilnx
|
|
- package created by autospec
|
|
|