135 lines
5.0 KiB
RPMSpec
135 lines
5.0 KiB
RPMSpec
Name: python-numpy
|
|
Version: 1.10.4
|
|
Release: 1mamba
|
|
Summary: NumPy: array processing for numbers, strings, records, and objects
|
|
Group: System/Libraries/Python
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://numpy.scipy.org
|
|
Source: http://downloads.sourceforge.net/project/numpy/NumPy/%{version}/numpy-%{version}.tar.gz
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libpython-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: gcc-fortran
|
|
%py_requires
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
NumPy is the fundamental package needed for scientific computing with Python. It contains among other things:
|
|
|
|
* a powerful N-dimensional array object
|
|
* sophisticated (broadcasting) functions
|
|
* tools for integrating C/C++ and Fortran code
|
|
* useful linear algebra, Fourier transform, and random number capabilities.
|
|
|
|
Besides its obvious scientific uses, NumPy can also be used as an efficient multi-dimensional container of generic data. Arbitrary data-types can be defined. This allows NumPy to seamlessly and speedily integrate with a wide variety of databases.
|
|
|
|
%if "%?with_pyver"
|
|
%define pyver %{with_pyver}
|
|
%define __python %(rpm --eval %{__python%{with_pyver}})
|
|
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
|
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
|
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
|
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
|
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
|
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
|
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
|
|
|
%package py%{pyver}
|
|
Group: System/Libraries/Python
|
|
Summary: NumPy: array processing for numbers, strings, records, and objects
|
|
%py_requires
|
|
|
|
%description py%{pyver}
|
|
NumPy is the fundamental package needed for scientific computing with Python. It contains among other things:
|
|
|
|
* a powerful N-dimensional array object
|
|
* sophisticated (broadcasting) functions
|
|
* tools for integrating C/C++ and Fortran code
|
|
* useful linear algebra, Fourier transform, and random number capabilities.
|
|
|
|
Besides its obvious scientific uses, NumPy can also be used as an efficient multi-dimensional container of generic data. Arbitrary data-types can be defined. This allows NumPy to seamlessly and speedily integrate with a wide variety of databases.
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n numpy-%{version}
|
|
|
|
%build
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python} setup.py install \
|
|
--root="%{buildroot}" \
|
|
--install-headers=%{_includedir}/python \
|
|
--install-lib=%{python_sitearch}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%if "%?with_pyver"
|
|
%files py%{pyver}
|
|
%else
|
|
%files
|
|
%endif
|
|
%defattr(-,root,root)
|
|
%{_bindir}/f2py*
|
|
%dir %{python_sitearch}/numpy
|
|
%{python_sitearch}/numpy/*
|
|
%{python_sitearch}/numpy-%{version}-py*.egg-info
|
|
|
|
%changelog
|
|
* Thu Jan 14 2016 Automatic Build System <autodist@mambasoft.it> 1.10.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Dec 15 2015 Automatic Build System <autodist@mambasoft.it> 1.10.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 14 2015 Automatic Build System <autodist@mambasoft.it> 1.10.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Oct 10 2015 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 05 2015 Automatic Build System <autodist@mambasoft.it> 1.9.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Nov 12 2014 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Sep 18 2014 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Aug 27 2014 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Apr 04 2014 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Nov 01 2013 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.1-2mamba
|
|
- python 2.7 mass rebuild
|
|
|
|
* Tue Apr 16 2013 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0-2mamba
|
|
- spec updated to support multiple python versions
|
|
|
|
* Sun Feb 10 2013 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Dec 16 2012 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Nov 07 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
|
|
- update to 1.4.1
|
|
|
|
* Sat Oct 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
|
|
- package created by autospec
|