2024-01-05 16:23:46 +01:00
|
|
|
Name: python-pybind11
|
2024-06-26 19:28:51 +02:00
|
|
|
Version: 2.13.0
|
2024-03-29 10:10:50 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:23:46 +01:00
|
|
|
Summary: Seamless operability between C++11 and Python
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://pypi.org/project/pybind11/
|
|
|
|
Source: https://pypi.debian.net/pybind11/pybind11-%{version}.tar.gz
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:23:50 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(setuptools)
|
2024-01-05 16:23:46 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:23:50 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-05 16:23:46 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-05 16:23:46 +01:00
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: python-pybind11-py3 = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains header and cmake files for developing applications that use %{name}.
|
|
|
|
|
2024-01-05 16:23:46 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pybind11-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
2024-01-05 16:23:46 +01:00
|
|
|
--install-headers=%{_includedir} \
|
2024-01-05 16:23:46 +01:00
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-05 16:23:46 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
sed -i "/include/d" %{name}.filelist
|
|
|
|
sed -i "/cmake/d" %{name}.filelist
|
|
|
|
|
|
|
|
mv %{buildroot}%{python_sitearch}/pybind11/include %{buildroot}%{_prefix}/
|
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/cmake
|
|
|
|
mv %{buildroot}%{python_sitearch}/pybind11/share/cmake/pybind11 %{buildroot}%{_datadir}/cmake/
|
2024-01-05 16:23:46 +01:00
|
|
|
|
2024-01-05 16:23:50 +01:00
|
|
|
%if "%{?with_pyver}" != "3"
|
|
|
|
# Rename any conflicting file outside of python site packages tree
|
|
|
|
for f in %{_bindir}/pybind11-config; do
|
|
|
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
done
|
|
|
|
sed -i "\,%{_bindir}/pybind11-config,d" %{name}.filelist
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:23:46 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:23:50 +01:00
|
|
|
%{_bindir}/pybind11-config*
|
2024-01-05 16:23:46 +01:00
|
|
|
%dir %{python_sitearch}/pybind11-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/pybind11-%{version}-py*.egg-info/*
|
2024-01-05 16:23:46 +01:00
|
|
|
%doc LICENSE
|
2024-01-05 16:23:46 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/pybind11
|
|
|
|
%{_includedir}/pybind11/*.h
|
|
|
|
%dir %{_includedir}/pybind11/detail
|
|
|
|
%{_includedir}/pybind11/detail/*.h
|
2024-01-05 16:23:47 +01:00
|
|
|
%dir %{_includedir}/pybind11/eigen
|
|
|
|
%{_includedir}/pybind11/eigen/*.h
|
2024-01-05 16:23:47 +01:00
|
|
|
%dir %{_includedir}/pybind11/stl
|
|
|
|
%{_includedir}/pybind11/stl/*.h
|
2024-01-05 16:23:46 +01:00
|
|
|
%dir %{_datadir}/cmake/pybind11
|
|
|
|
%{_datadir}/cmake/pybind11/*.cmake
|
2024-01-05 16:23:46 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-06-26 19:28:51 +02:00
|
|
|
* Wed Jun 26 2024 Automatic Build System <autodist@openmamba.org> 2.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-29 10:10:50 +01:00
|
|
|
* Thu Mar 28 2024 Automatic Build System <autodist@openmamba.org> 2.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:50 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2.11.1-3mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-05 16:23:50 +01:00
|
|
|
* Fri Aug 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.1-2mamba
|
|
|
|
- fix conflict for pybind11-config
|
|
|
|
|
2024-01-05 16:23:49 +01:00
|
|
|
* Tue Jul 18 2023 Automatic Build System <autodist@mambasoft.it> 2.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:49 +01:00
|
|
|
* Sat Jul 15 2023 Automatic Build System <autodist@mambasoft.it> 2.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:48 +01:00
|
|
|
* Thu Apr 13 2023 Sdk Build System <sdk@mambasoft.it> 2.10.4-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-05 16:23:48 +01:00
|
|
|
* Fri Mar 17 2023 Automatic Build System <autodist@mambasoft.it> 2.10.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:48 +01:00
|
|
|
* Wed Jan 04 2023 Automatic Build System <autodist@mambasoft.it> 2.10.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:47 +01:00
|
|
|
* Fri Dec 23 2022 Automatic Build System <autodist@mambasoft.it> 2.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:47 +01:00
|
|
|
* Tue Nov 01 2022 Automatic Build System <autodist@mambasoft.it> 2.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:47 +01:00
|
|
|
* Sat Jul 16 2022 Automatic Build System <autodist@mambasoft.it> 2.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:47 +01:00
|
|
|
* Thu Mar 31 2022 Automatic Build System <autodist@mambasoft.it> 2.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:47 +01:00
|
|
|
* Fri Feb 04 2022 Automatic Build System <autodist@mambasoft.it> 2.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:47 +01:00
|
|
|
* Wed Dec 29 2021 Automatic Build System <autodist@mambasoft.it> 2.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:47 +01:00
|
|
|
* Thu Oct 28 2021 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:47 +01:00
|
|
|
* Tue Oct 05 2021 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:47 +01:00
|
|
|
* Wed Aug 04 2021 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:47 +01:00
|
|
|
* Sun Jul 18 2021 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:46 +01:00
|
|
|
* Thu Jun 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.2-2mamba
|
|
|
|
- specfile fixes
|
|
|
|
|
2024-01-05 16:23:46 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:46 +01:00
|
|
|
* Fri Jan 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.1-1mamba
|
|
|
|
- package created using the webbuild interface
|