%global _empty_manifest_terminate_build 0 Name: python-numpy Version: 1.25.2 Release: 1 Summary: Fundamental package for array computing in Python License: BSD-3-Clause URL: https://www.numpy.org Source0: https://mirrors.aliyun.com/pypi/web/packages/a0/41/8f53eff8e969dd8576ddfb45e7ed315407d27c7518ae49418be8ed532b07/numpy-1.25.2.tar.gz %description NumPy is a community-driven open source project developed by a diverse group of [contributors](https://numpy.org/teams/). The NumPy leadership has made a strong commitment to creating an open, inclusive, and positive community. Please read the [NumPy Code of Conduct](https://numpy.org/code-of-conduct/) for guidance on how to interact with others in a way that makes our community thrive. %package -n python3-numpy Summary: Fundamental package for array computing in Python Provides: python-numpy BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-cffi BuildRequires: gcc BuildRequires: gdb %description -n python3-numpy NumPy is a community-driven open source project developed by a diverse group of [contributors](https://numpy.org/teams/). The NumPy leadership has made a strong commitment to creating an open, inclusive, and positive community. Please read the [NumPy Code of Conduct](https://numpy.org/code-of-conduct/) for guidance on how to interact with others in a way that makes our community thrive. %package help Summary: Development documents and examples for numpy Provides: python3-numpy-doc %description help NumPy is a community-driven open source project developed by a diverse group of [contributors](https://numpy.org/teams/). The NumPy leadership has made a strong commitment to creating an open, inclusive, and positive community. Please read the [NumPy Code of Conduct](https://numpy.org/code-of-conduct/) for guidance on how to interact with others in a way that makes our community thrive. %prep %autosetup -n numpy-1.25.2 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-numpy -f filelist.lst %dir %{python3_sitearch}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri Sep 15 2023 Python_Bot - 1.25.2-1 - Package Spec generated