rebuilt with python3 [release 1.2.0-2mamba;Wed Mar 24 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 20:43:01 +01:00
parent db199decdc
commit 6b785a9b75

View File

@ -1,6 +1,6 @@
Name: avogadro Name: avogadro
Version: 1.2.0 Version: 1.2.0
Release: 1mamba Release: 2mamba
Summary: An advanced molecule editor and visualizer Summary: An advanced molecule editor and visualizer
Group: Graphical Desktop/Applications/Scientific Group: Graphical Desktop/Applications/Scientific
Vendor: openmamba Vendor: openmamba
@ -34,10 +34,10 @@ BuildRequires: libz-devel
BuildRequires: python-boost-devel BuildRequires: python-boost-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libopenbabel2-devel BuildRequires: libopenbabel2-devel
BuildRequires: python-sip-devel BuildRequires: python-sip-py3
BuildRequires: libeigen2-devel BuildRequires: libeigen2-devel
BuildRequires: eigen3-devel BuildRequires: eigen3-devel
Requires: python-numpy Requires: python-numpy-py3
Requires: libavogadro = %{?epoch:%epoch:}%{version}-%{release} Requires: libavogadro = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -81,10 +81,11 @@ Obsoletes: avogadro-devel
%build %build
%cmake -d build \ %cmake -d build \
-DENABLE_PYTHON:BOOL=ON \ -DENABLE_PYTHON:BOOL=ON \
-DPYTHON=%{__python3} \
-DEIGEN2_INCLUDE_DIR=%{_includedir}/eigen2 \ -DEIGEN2_INCLUDE_DIR=%{_includedir}/eigen2 \
-DEIGEN3_INCLUDE_DIR=%{_includedir}/eigen3 \ -DEIGEN3_INCLUDE_DIR=%{_includedir}/eigen3 \
-Dpkgcfg_lib_OPENBABEL2_openbabel=%{_libdir}/libopenbabel-2.so \ -Dpkgcfg_lib_OPENBABEL2_openbabel=%{_libdir}/libopenbabel-2.so \
-DSIP_INCLUDE_DIR=%{_includedir}/python%{python_version} -DSIP_INCLUDE_DIR=%{_includedir}/python%{python3_version}
# -DENABLE_GLSL:BOOL=ON \ # -DENABLE_GLSL:BOOL=ON \
@ -163,6 +164,9 @@ mv %{buildroot}%{_prefix}/lib/libmsym.so %{buildroot}%{_libdir}
%doc README %doc README
%changelog %changelog
* Wed Mar 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- rebuilt with python3
* Sat May 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba * Sat May 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- update to 1.2.0 - update to 1.2.0