libboost-devel: restore libboost_[python|numpy]3.so symlinks [release 1.75.0-2mamba;Tue Jan 19 2021]
This commit is contained in:
parent
20b7e4038c
commit
00b599d38e
@ -1,7 +1,7 @@
|
|||||||
%define pckver %(echo %version | tr . _)
|
%define pckver %(echo %version | tr . _)
|
||||||
%define pckmajver %(echo %version | cut -d. -f1-2 | tr . _)
|
%define pckmajver %(echo %version | cut -d. -f1-2 | tr . _)
|
||||||
Name: libboost
|
Name: libboost
|
||||||
Version: 1.72.0
|
Version: 1.75.0
|
||||||
Release: 2mamba
|
Release: 2mamba
|
||||||
Summary: Free peer-reviewed portable C++ source libraries
|
Summary: Free peer-reviewed portable C++ source libraries
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -30,14 +30,7 @@ BuildRequires: libicu-devel >= 67.1
|
|||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: python-numpy-py3
|
BuildRequires: python-numpy-py3
|
||||||
BuildRequires: openmpi-devel
|
BuildRequires: openmpi-devel
|
||||||
%ifnarch aarch64
|
|
||||||
BuildRequires: libpython27-devel
|
|
||||||
BuildRequires: libpython36-devel
|
|
||||||
BuildRequires: python-numpy
|
|
||||||
BuildRequires: python-numpy-py36
|
|
||||||
%endif
|
|
||||||
BuildRequires: boost-jam
|
BuildRequires: boost-jam
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Boost libraries provide free peer-reviewed portable C++ source libraries.
|
The Boost libraries provide free peer-reviewed portable C++ source libraries.
|
||||||
@ -53,9 +46,7 @@ Summary: Devel package for libboost
|
|||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Provides: python-boost-devel
|
Provides: python-boost-devel
|
||||||
Obsoletes: python-boost-devel
|
Obsoletes: python-boost-devel
|
||||||
#Requires: python-boost-py27 = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: python-boost-py3 = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
#Requires: python-boost-py3 = %{?epoch:%epoch:}%{version}-%{release}
|
|
||||||
#Requires: python-boost-py36 = %{?epoch:%epoch:}%{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The Boost libraries provide free peer-reviewed portable C++ source libraries.
|
The Boost libraries provide free peer-reviewed portable C++ source libraries.
|
||||||
@ -64,26 +55,8 @@ The libraries are intended to be widely useful, and are in regular use by thousa
|
|||||||
|
|
||||||
A further goal is to establish "existing practice" and provide reference implementations so that Boost libraries are suitable for eventual standardization.
|
A further goal is to establish "existing practice" and provide reference implementations so that Boost libraries are suitable for eventual standardization.
|
||||||
Ten Boost libraries will be included in the C++ Standards Committee's upcoming C++ Standard Library Technical Report as a step toward becoming part of a future C++ Standard.
|
Ten Boost libraries will be included in the C++ Standards Committee's upcoming C++ Standard Library Technical Report as a step toward becoming part of a future C++ Standard.
|
||||||
|
|
||||||
This is the devel package.
|
This is the devel package.
|
||||||
|
|
||||||
%package -n python-boost-py27
|
|
||||||
Group: System/Libraries
|
|
||||||
Summary: Boost.Python library for Python 2.7
|
|
||||||
Provides: libboost-python
|
|
||||||
Obsoletes: libboost-python
|
|
||||||
Provides: python27-boost
|
|
||||||
Obsoletes: python27-boost
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n python-boost-py27
|
|
||||||
The Boost libraries provides free peer-reviewed portable C++ source libraries.
|
|
||||||
The emphasis is on libraries which work well with the C++ Standard Library.
|
|
||||||
The libraries are intended to be widely useful, and are in regular use by thousands of programmers across a broad spectrum of applications.
|
|
||||||
A further goal is to establish "existing practice" and provide reference implementations so that Boost libraries are suitable for eventual standardization.
|
|
||||||
Ten Boost libraries will be included in the C++ Standards Committee's upcoming C++ Standard Library Technical Report as a step toward becoming part of a future C++ Standard.
|
|
||||||
This package contains then Boost.python library
|
|
||||||
|
|
||||||
%package -n python-boost-py3
|
%package -n python-boost-py3
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Boost.Python library for Python 3
|
Summary: Boost.Python library for Python 3
|
||||||
@ -97,25 +70,12 @@ A further goal is to establish "existing practice" and provide reference impleme
|
|||||||
Ten Boost libraries will be included in the C++ Standards Committee's upcoming C++ Standard Library Technical Report as a step toward becoming part of a future C++ Standard.
|
Ten Boost libraries will be included in the C++ Standards Committee's upcoming C++ Standard Library Technical Report as a step toward becoming part of a future C++ Standard.
|
||||||
This package contains then Boost.python library for Python 3.
|
This package contains then Boost.python library for Python 3.
|
||||||
|
|
||||||
%package -n python-boost-py36
|
|
||||||
Group: System/Libraries
|
|
||||||
Summary: Boost.Python library for Python 3.6
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n python-boost-py36
|
|
||||||
The Boost libraries provides free peer-reviewed portable C++ source libraries.
|
|
||||||
The emphasis is on libraries which work well with the C++ Standard Library.
|
|
||||||
The libraries are intended to be widely useful, and are in regular use by thousands of programmers across a broad spectrum of applications.
|
|
||||||
A further goal is to establish "existing practice" and provide reference implementations so that Boost libraries are suitable for eventual standardization.
|
|
||||||
Ten Boost libraries will be included in the C++ Standards Committee's upcoming C++ Standard Library Technical Report as a step toward becoming part of a future C++ Standard.
|
|
||||||
This package contains then Boost.python library for Python 3.6.
|
|
||||||
|
|
||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n boost_%{pckver} -a0 -D -T
|
%setup -q -n boost_%{pckver} -a0
|
||||||
:<< _EOF
|
#-D -T
|
||||||
|
#:<< _EOF
|
||||||
mv boost_%{pckver} boost_python
|
mv boost_%{pckver} boost_python
|
||||||
|
|
||||||
cp -a boost_python boost_python36
|
cp -a boost_python boost_python36
|
||||||
@ -124,7 +84,7 @@ cp -a boost_python boost_python36
|
|||||||
#%patch1 -p1
|
#%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
:<< _EOF
|
#:<< _EOF
|
||||||
# Build boost with python3
|
# Build boost with python3
|
||||||
./bootstrap.sh \
|
./bootstrap.sh \
|
||||||
--with-icu \
|
--with-icu \
|
||||||
@ -151,7 +111,7 @@ EXPAT_LIBPATH=%{_libdir} \
|
|||||||
cflags="-fPIC"
|
cflags="-fPIC"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifnarch aarch64
|
%ifarch disabled
|
||||||
cd boost_python
|
cd boost_python
|
||||||
# Rebuild boost with Python 2
|
# Rebuild boost with Python 2
|
||||||
rm -f user-config.jam
|
rm -f user-config.jam
|
||||||
@ -232,7 +192,13 @@ EXPAT_LIBPATH=%{_libdir} \
|
|||||||
debug-symbols=on \
|
debug-symbols=on \
|
||||||
install
|
install
|
||||||
|
|
||||||
%ifnarch aarch64
|
# https://github.com/boostorg/python/issues/203#issuecomment-391477685
|
||||||
|
for _lib in python numpy; do
|
||||||
|
ln -srL %{buildroot}%{_libdir}/libboost_${_lib}{27,}.so
|
||||||
|
ln -srL %{buildroot}%{_libdir}/libboost_${_lib}3{7,}.so
|
||||||
|
done
|
||||||
|
|
||||||
|
%ifarch disabled
|
||||||
cd boost_python
|
cd boost_python
|
||||||
EXPAT_INCLUDE=%{_includedir} \
|
EXPAT_INCLUDE=%{_includedir} \
|
||||||
EXPAT_LIBPATH=%{_libdir} \
|
EXPAT_LIBPATH=%{_libdir} \
|
||||||
@ -268,12 +234,6 @@ EXPAT_LIBPATH=%{_libdir} \
|
|||||||
threading=multi \
|
threading=multi \
|
||||||
debug-symbols=on \
|
debug-symbols=on \
|
||||||
install
|
install
|
||||||
|
|
||||||
# https://github.com/boostorg/python/issues/203#issuecomment-391477685
|
|
||||||
for _lib in python numpy; do
|
|
||||||
ln -srL %{buildroot}%{_libdir}/libboost_${_lib}{27,}.so
|
|
||||||
ln -srL %{buildroot}%{_libdir}/libboost_${_lib}3{7,}.so
|
|
||||||
done
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -296,6 +256,7 @@ done
|
|||||||
%{_libdir}/libboost_graph.so.*
|
%{_libdir}/libboost_graph.so.*
|
||||||
%{_libdir}/libboost_graph_parallel.so.*
|
%{_libdir}/libboost_graph_parallel.so.*
|
||||||
%{_libdir}/libboost_iostreams.so.*
|
%{_libdir}/libboost_iostreams.so.*
|
||||||
|
%{_libdir}/libboost_json.so.*
|
||||||
%{_libdir}/libboost_locale.so.*
|
%{_libdir}/libboost_locale.so.*
|
||||||
%{_libdir}/libboost_log.so.*
|
%{_libdir}/libboost_log.so.*
|
||||||
%{_libdir}/libboost_log_setup.so.*
|
%{_libdir}/libboost_log_setup.so.*
|
||||||
@ -306,6 +267,7 @@ done
|
|||||||
%{_libdir}/libboost_math_tr1f.so.*
|
%{_libdir}/libboost_math_tr1f.so.*
|
||||||
%{_libdir}/libboost_math_tr1l.so.*
|
%{_libdir}/libboost_math_tr1l.so.*
|
||||||
%{_libdir}/libboost_mpi.so.*
|
%{_libdir}/libboost_mpi.so.*
|
||||||
|
%{_libdir}/libboost_nowide.so.*
|
||||||
%{_libdir}/libboost_prg_exec_monitor.so.*
|
%{_libdir}/libboost_prg_exec_monitor.so.*
|
||||||
%{_libdir}/libboost_program_options.so.*
|
%{_libdir}/libboost_program_options.so.*
|
||||||
%{_libdir}/libboost_random.so.*
|
%{_libdir}/libboost_random.so.*
|
||||||
@ -337,29 +299,20 @@ done
|
|||||||
|
|
||||||
%files -n python-boost-py3
|
%files -n python-boost-py3
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libboost_python37.so.*
|
%{_libdir}/boost-python3*/mpi.so
|
||||||
%{_libdir}/libboost_mpi_python37.so.*
|
%{_libdir}/libboost_python3*.so.*
|
||||||
|
%{_libdir}/libboost_mpi_python3*.so.*
|
||||||
%ifnarch arm
|
%ifnarch arm
|
||||||
%{_libdir}/libboost_numpy37.so.*
|
%{_libdir}/libboost_numpy3*.so.*
|
||||||
%endif
|
|
||||||
|
|
||||||
%ifnarch aarch64
|
|
||||||
%files -n python-boost-py27
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%ifnarch arm
|
|
||||||
%{_libdir}/libboost_numpy27.so.*
|
|
||||||
%endif
|
|
||||||
%{_libdir}/libboost_python27*.so.*
|
|
||||||
|
|
||||||
%files -n python-boost-py36
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libboost_python36.so.*
|
|
||||||
%ifnarch arm
|
|
||||||
%{_libdir}/libboost_numpy36.so.*
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.75.0-2mamba
|
||||||
|
- libboost-devel: restore libboost_[python|numpy]3.so symlinks
|
||||||
|
|
||||||
|
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 1.75.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.72.0-2mamba
|
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.72.0-2mamba
|
||||||
- rebuilt with libicu 67.1
|
- rebuilt with libicu 67.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user