rebuilt with libicu 67.1 [release 1.72.0-2mamba;Sun Sep 06 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 03:52:22 +01:00
parent 9f3677efe8
commit 20b7e4038c

View File

@ -2,7 +2,7 @@
%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.72.0
Release: 1mamba Release: 2mamba
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
@ -16,20 +16,26 @@ Patch1: libboost-1.58.0-python-3.3.patch
License: Boost Software License License: Boost Software License
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libbzip2-devel BuildRequires: libbzip2-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libicu-devel BuildRequires: libicu-devel
BuildRequires: liblzma-devel
BuildRequires: libmpi-devel BuildRequires: libmpi-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libicu-devel >= 54 BuildRequires: libicu-devel >= 67.1
BuildRequires: libpython27-devel
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
BuildRequires: python-numpy-py3
BuildRequires: openmpi-devel
%ifnarch aarch64
BuildRequires: libpython27-devel
BuildRequires: libpython36-devel BuildRequires: libpython36-devel
BuildRequires: python-numpy BuildRequires: python-numpy
BuildRequires: python-numpy-py3
BuildRequires: python-numpy-py36 BuildRequires: python-numpy-py36
%endif
BuildRequires: boost-jam BuildRequires: boost-jam
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
@ -47,9 +53,9 @@ 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-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} #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.
@ -74,10 +80,8 @@ Requires: %{name} = %{version}-%{release}
The Boost libraries provides free peer-reviewed portable C++ source libraries. 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 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 package contains then Boost.python library This package contains then Boost.python library
%package -n python-boost-py3 %package -n python-boost-py3
@ -89,10 +93,8 @@ Requires: %{name} = %{version}-%{release}
The Boost libraries provides free peer-reviewed portable C++ source libraries. 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 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 package contains then Boost.python library for Python 3. This package contains then Boost.python library for Python 3.
%package -n python-boost-py36 %package -n python-boost-py36
@ -104,19 +106,16 @@ Requires: %{name} = %{version}-%{release}
The Boost libraries provides free peer-reviewed portable C++ source libraries. 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 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 package contains then Boost.python library for Python 3.6. This package contains then Boost.python library for Python 3.6.
%debug_package %debug_package
%prep %prep
%setup -q -n boost_%{pckver} -a0 %setup -q -n boost_%{pckver} -a0 -D -T
#-D -T :<< _EOF
#:<< _EOF
mv boost_%{pckver} boost_python mv boost_%{pckver} boost_python
cp -a boost_python boost_python36 cp -a boost_python boost_python36
@ -125,7 +124,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 \
@ -152,6 +151,7 @@ EXPAT_LIBPATH=%{_libdir} \
cflags="-fPIC" cflags="-fPIC"
%endif %endif
%ifnarch aarch64
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
@ -211,6 +211,8 @@ EXPAT_LIBPATH=%{_libdir} \
cflags="-fPIC" cflags="-fPIC"
%endif %endif
%endif
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
EXPAT_INCLUDE=%{_includedir} \ EXPAT_INCLUDE=%{_includedir} \
@ -230,6 +232,7 @@ EXPAT_LIBPATH=%{_libdir} \
debug-symbols=on \ debug-symbols=on \
install install
%ifnarch aarch64
cd boost_python cd boost_python
EXPAT_INCLUDE=%{_includedir} \ EXPAT_INCLUDE=%{_includedir} \
EXPAT_LIBPATH=%{_libdir} \ EXPAT_LIBPATH=%{_libdir} \
@ -271,6 +274,7 @@ for _lib in python numpy; do
ln -srL %{buildroot}%{_libdir}/libboost_${_lib}{27,}.so ln -srL %{buildroot}%{_libdir}/libboost_${_lib}{27,}.so
ln -srL %{buildroot}%{_libdir}/libboost_${_lib}3{7,}.so ln -srL %{buildroot}%{_libdir}/libboost_${_lib}3{7,}.so
done done
%endif
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -331,13 +335,6 @@ done
%{_libdir}/cmake/Boost*.cmake %{_libdir}/cmake/Boost*.cmake
%{_libdir}/cmake/boost_*/*.cmake %{_libdir}/cmake/boost_*/*.cmake
%files -n python-boost-py27
%defattr(-,root,root)
%ifnarch arm
%{_libdir}/libboost_numpy27.so.*
%endif
%{_libdir}/libboost_python27*.so.*
%files -n python-boost-py3 %files -n python-boost-py3
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libboost_python37.so.* %{_libdir}/libboost_python37.so.*
@ -346,14 +343,26 @@ done
%{_libdir}/libboost_numpy37.so.* %{_libdir}/libboost_numpy37.so.*
%endif %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 %files -n python-boost-py36
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libboost_python36.so.* %{_libdir}/libboost_python36.so.*
%ifnarch arm %ifnarch arm
%{_libdir}/libboost_numpy36.so.* %{_libdir}/libboost_numpy36.so.*
%endif %endif
%endif
%changelog %changelog
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.72.0-2mamba
- rebuilt with libicu 67.1
* Fri Jan 31 2020 Automatic Build System <autodist@mambasoft.it> 1.72.0-1mamba * Fri Jan 31 2020 Automatic Build System <autodist@mambasoft.it> 1.72.0-1mamba
- automatic version update by autodist - automatic version update by autodist