Name: python-pybind11 Version: 2.7.0 Release: 1mamba Summary: Seamless operability between C++11 and Python Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.org/project/pybind11/ Source: https://pypi.debian.net/pybind11/pybind11-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END BuildRequires: libpython-devel Requires: python >= %python_version %description %{summary}. %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}. %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}" \ --install-headers=%{_includedir} \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist 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/ %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/pybind11-%{version}-py*.egg-info %{python_sitearch}/pybind11-%{version}-py*.egg-info/* %doc LICENSE %files devel %defattr(-,root,root) %dir %{_includedir}/pybind11 %{_includedir}/pybind11/*.h %dir %{_includedir}/pybind11/detail %{_includedir}/pybind11/detail/*.h %dir %{_includedir}/pybind11/stl %{_includedir}/pybind11/stl/*.h %dir %{_datadir}/cmake/pybind11 %{_datadir}/cmake/pybind11/*.cmake %changelog * Sun Jul 18 2021 Automatic Build System 2.7.0-1mamba - automatic version update by autodist * Thu Jun 24 2021 Silvan Calarco 2.6.2-2mamba - specfile fixes * Sun Feb 21 2021 Automatic Build System 2.6.2-1mamba - automatic version update by autodist * Fri Jan 01 2021 Silvan Calarco 2.6.1-1mamba - package created using the webbuild interface