update to 1.78.0 [release 1.78.0-1mamba;Mon Jan 03 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 03:52:23 +01:00
parent b7a3c7cbef
commit e94a3f0546

View File

@ -1,15 +1,16 @@
%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.76.0 Version: 1.78.0
Release: 1mamba Release: 1mamba
Summary: Free peer-reviewed portable C++ source libraries Summary: Free peer-reviewed portable C++ source libraries
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://boost.org/ URL: https://www.boost.org/
Source: https://dl.bintray.com/boostorg/release/%{version}/source/boost_%{pckver}.tar.bz2 Source: https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_%{pckver}.tar.bz2
#Source: https://dl.bintray.com/boostorg/release/%{version}/source/boost_%{pckver}.tar.bz2
#Source: http://download.sourceforge.net/sourceforge/boost/boost_%{pckver}.tar.bz2 #Source: http://download.sourceforge.net/sourceforge/boost/boost_%{pckver}.tar.bz2
Patch0: libboost-1.57.0-moc-libqt4-4.8.6.patch Patch0: libboost-1.57.0-moc-libqt4-4.8.6.patch
Patch1: libboost-1.58.0-python-3.3.patch Patch1: libboost-1.58.0-python-3.3.patch
@ -52,7 +53,6 @@ Requires: python-boost-py3 = %{?epoch:%epoch:}%{version}-%{release}
The Boost libraries provide free peer-reviewed portable C++ source libraries. The Boost libraries provide free peer-reviewed portable C++ source libraries.
The emphasis is on libraries which work well with the C++ Standard Library. 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. 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. 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.
@ -78,11 +78,11 @@ This package contains then Boost.python library for Python 3.
#:<< _EOF #:<< _EOF
mv boost_%{pckver} boost_python mv boost_%{pckver} boost_python
cp -a boost_python boost_python36 #cp -a boost_python boost_python36
#%patch0 -p1 #%patch0 -p1
#%patch1 -p1 #%patch1 -p1
%patch2 -p2 #%patch2 -p2
%build %build
#:<< _EOF #:<< _EOF
@ -113,34 +113,6 @@ EXPAT_LIBPATH=%{_libdir} \
%endif %endif
%ifarch disabled %ifarch disabled
cd boost_python
# Rebuild boost with Python 2
rm -f user-config.jam
./bootstrap.sh \
--with-icu \
--with-python-root=%{_prefix} \
--with-python-version=%{python_version} \
--with-libraries=python
EXPAT_INCLUDE=%{_includedir} \
EXPAT_LIBPATH=%{_libdir} \
./b2 \
-a \
--prefix=%{_prefix} \
--layout=system -d2 \
python=2.7 \
runtime-link=shared \
link=shared,static \
toolset=gcc \
variant=release \
threading=multi \
debug-symbols=on \
stage \
%ifarch x86_64
cflags="-fPIC"
%endif
cd ../boost_python36 cd ../boost_python36
# Rebuild boost with Python 3.6 # Rebuild boost with Python 3.6
rm -f user-config.jam rm -f user-config.jam
@ -245,53 +217,15 @@ EXPAT_LIBPATH=%{_libdir} \
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libboost_atomic.so.* %{_libdir}/libboost_*.so.*
%{_libdir}/libboost_chrono.so.*
%{_libdir}/libboost_container.so.*
%{_libdir}/libboost_context.so.*
%{_libdir}/libboost_contract.so.*
%{_libdir}/libboost_coroutine.so.*
%{_libdir}/libboost_date_time.so.*
%{_libdir}/libboost_fiber.so.*
%{_libdir}/libboost_filesystem.so.*
%{_libdir}/libboost_graph.so.*
%{_libdir}/libboost_graph_parallel.so.*
%{_libdir}/libboost_iostreams.so.*
%{_libdir}/libboost_json.so.*
%{_libdir}/libboost_locale.so.*
%{_libdir}/libboost_log.so.*
%{_libdir}/libboost_log_setup.so.*
%{_libdir}/libboost_math_c99.so.*
%{_libdir}/libboost_math_c99f.so.*
%{_libdir}/libboost_math_c99l.so.*
%{_libdir}/libboost_math_tr1.so.*
%{_libdir}/libboost_math_tr1f.so.*
%{_libdir}/libboost_math_tr1l.so.*
%{_libdir}/libboost_mpi.so.*
%{_libdir}/libboost_nowide.so.*
%{_libdir}/libboost_prg_exec_monitor.so.*
%{_libdir}/libboost_program_options.so.*
%{_libdir}/libboost_random.so.*
%{_libdir}/libboost_regex.so.*
%{_libdir}/libboost_serialization.so.*
%{_libdir}/libboost_stacktrace_addr2line.so.*
%{_libdir}/libboost_stacktrace_basic.so.*
%{_libdir}/libboost_stacktrace_noop.so.*
%{_libdir}/libboost_system.so.*
%{_libdir}/libboost_thread.so.*
%{_libdir}/libboost_timer.so.*
%{_libdir}/libboost_type_erasure.so.*
%{_libdir}/libboost_unit_test_framework.so.*
%{_libdir}/libboost_wave.so.*
%{_libdir}/libboost_wserialization.so.*
%doc LICENSE_1_0.txt %doc LICENSE_1_0.txt
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/boost %dir %{_includedir}/boost
%{_includedir}/boost/* %{_includedir}/boost/*
%{_libdir}/*.so %{_libdir}/libboost_*.so
%{_libdir}/*.a %{_libdir}/libboost_*.a
#%exclude %{_libdir}/mpi.so #%exclude %{_libdir}/mpi.so
%dir %{_libdir}/cmake/Boost-%{version} %dir %{_libdir}/cmake/Boost-%{version}
%{_libdir}/cmake/Boost-%{version}/Boost*.cmake %{_libdir}/cmake/Boost-%{version}/Boost*.cmake
@ -306,6 +240,9 @@ EXPAT_LIBPATH=%{_libdir} \
%{_libdir}/libboost_numpy3*.so.* %{_libdir}/libboost_numpy3*.so.*
%changelog %changelog
* Mon Jan 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.78.0-1mamba
- update to 1.78.0
* Tue Apr 20 2021 Automatic Build System <autodist@mambasoft.it> 1.76.0-1mamba * Tue Apr 20 2021 Automatic Build System <autodist@mambasoft.it> 1.76.0-1mamba
- automatic version update by autodist - automatic version update by autodist