|
@@ -16,7 +16,7 @@
|
|
|
%bcond_with openmpi
|
|
|
|
|
|
%define major 1
|
|
|
-%define minor 66
|
|
|
+%define minor 72
|
|
|
%define teeny 0
|
|
|
%define tarname boost
|
|
|
%define lnkver %{major}_%{minor}
|
|
@@ -36,13 +36,16 @@ Summary: Portable C++ source libraries
|
|
|
Summary(ja): ポータブルな C++ ソースライブラリ
|
|
|
Name: libboost
|
|
|
Version: %{major}.%{minor}.%{teeny}
|
|
|
-Release: 5%{?_dist_release}
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+Group: System Environment/Libraries
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
+License: distributable
|
|
|
+URL: http://www.boost.org/
|
|
|
Source0: http://downloads.sourceforge.net/%{tarname}/%{tarname}_%{pkgver}.tar.bz2
|
|
|
Source1: ver.py
|
|
|
Source2: libboost_thread.so
|
|
|
-License: distributable
|
|
|
-Group: System Environment/Libraries
|
|
|
-URL: http://www.boost.org/
|
|
|
|
|
|
BuildRequires: python-devel apache2-devel bzip2-devel zlib-devel libicu-devel
|
|
|
BuildRequires: libaio-devel lam
|
|
@@ -53,38 +56,50 @@ BuildRequires: python3-devel
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
# https://svn.boost.org/trac/boost/ticket/6150
|
|
|
-Patch4: boost-1.50.0-fix-non-utf8-files.patch
|
|
|
+Patch4: 0001-fix-non-utf8-files.patch
|
|
|
|
|
|
# Add a manual page for bjam, based on the on-line documentation:
|
|
|
# http://www.boost.org/boost-build2/doc/html/bbv2/overview.html
|
|
|
-Patch5: boost-1.48.0-add-bjam-man-page.patch
|
|
|
+Patch5: 0002-add-bjam-man-page.patch
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=828856
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=828857
|
|
|
# https://svn.boost.org/trac/boost/ticket/6701
|
|
|
-Patch15: boost-1.58.0-pool.patch
|
|
|
+Patch15: 0003-pool.patch
|
|
|
|
|
|
# https://svn.boost.org/trac/boost/ticket/5637
|
|
|
-Patch25: boost-1.57.0-mpl-print.patch
|
|
|
+Patch25: 0004-mpl-print.patch
|
|
|
|
|
|
# https://svn.boost.org/trac/boost/ticket/9038
|
|
|
-Patch51: boost-1.58.0-pool-test_linking.patch
|
|
|
+Patch51: 0005-pool-test_linking.patch
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1102667
|
|
|
-Patch61: boost-1.57.0-python-libpython_dep.patch
|
|
|
-Patch62: boost-1.57.0-python-abi_letters.patch
|
|
|
+Patch61: 0006-python-libpython_dep.patch
|
|
|
+Patch62: 0007-python-abi_letters.patch
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1190039
|
|
|
-Patch65: boost-1.66.0-build-optflags.patch
|
|
|
+Patch65: 0008-build-optflags.patch
|
|
|
|
|
|
# Prevent gcc.jam from setting -m32 or -m64.
|
|
|
-Patch68: boost-1.58.0-address-model.patch
|
|
|
+Patch68: 0009-address-model.patch
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1318383
|
|
|
-Patch82: boost-1.60.0-no-rpath.patch
|
|
|
+Patch82: 0010-no-rpath.patch
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
+# https://bugzilla.redhat.com/show_bug.cgi?id=1541035
|
|
|
+# deprecated in upstream.
|
|
|
+#Patch83: boost-1.66.0-bjam-build-flags.patch
|
|
|
+
|
|
|
+# https://bugzilla.redhat.com/show_bug.cgi?id=1673669
|
|
|
+# fixed in upstream.
|
|
|
+#Patch84: boost-1.69-random.patch
|
|
|
+
|
|
|
+# https://github.com/boostorg/mpi/pull/81
|
|
|
+# fixed in upstream.
|
|
|
+#Patch85: boost-1.69-mpi-c_data.patch
|
|
|
+
|
|
|
+# https://bugzilla.redhat.com/show_bug.cgi?id=1818723
|
|
|
+Patch86: 0011-format-allocator.patch
|
|
|
|
|
|
Obsoletes: %{name}-date-time-devel %{name}-filesystem-devel %{name}-graph-devel
|
|
|
Obsoletes: %{name}-iostreams-devel %{name}-program-options-devel
|
|
@@ -169,6 +184,19 @@ suspending and resuming execution.
|
|
|
|
|
|
%endif
|
|
|
|
|
|
+%package contract
|
|
|
+Summary: Run-time component of boost contract library
|
|
|
+Group: System Environment/Libraries
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+
|
|
|
+%description contract
|
|
|
+Run-time support for boost contract library.
|
|
|
+Contract programming for C++. All contract programming features are supported:
|
|
|
+Subcontracting, class invariants, postconditions (with old and return values),
|
|
|
+preconditions, customizable actions on assertion failure (e.g., terminate
|
|
|
+or throw), optional compilation and checking of assertions, etc,
|
|
|
+from Lorenzo Caminiti.
|
|
|
+
|
|
|
%package date-time
|
|
|
Summary: Set of data-time libralies in %{name}
|
|
|
Group: System Environment/Libraries
|
|
@@ -305,14 +333,6 @@ Requires: %{name} = %{version}-%{release}
|
|
|
%description serialization
|
|
|
Set of serialization libralies in %{name}
|
|
|
|
|
|
-%package signals
|
|
|
-Summary: Set of signals and slots libralies in %{name}
|
|
|
-Group: System Environment/Libraries
|
|
|
-Requires: %{name} = %{version}-%{release}
|
|
|
-
|
|
|
-%description signals
|
|
|
-Set of signals and slots libralies in %{name}
|
|
|
-
|
|
|
%package stacktrace
|
|
|
Summary: Call-stack libraries in %{name}
|
|
|
Group: System Environment/Libraries
|
|
@@ -581,6 +601,19 @@ suspending and resuming execution.
|
|
|
|
|
|
%endif
|
|
|
|
|
|
+%package -n compat32-%{name}-contract
|
|
|
+Summary: Run-time component of boost contract library
|
|
|
+Group: System Environment/Libraries
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+
|
|
|
+%description -n compat32-%{name}-contract
|
|
|
+Run-time support for boost contract library.
|
|
|
+Contract programming for C++. All contract programming features are supported:
|
|
|
+Subcontracting, class invariants, postconditions (with old and return values),
|
|
|
+preconditions, customizable actions on assertion failure (e.g., terminate
|
|
|
+or throw), optional compilation and checking of assertions, etc,
|
|
|
+from Lorenzo Caminiti.
|
|
|
+
|
|
|
%package -n compat32-%{name}-date-time
|
|
|
Summary: Set of data-time libralies in %{name}
|
|
|
Group: System Environment/Libraries
|
|
@@ -708,13 +741,6 @@ Group: System Environment/Libraries
|
|
|
%description -n compat32-%{name}-serialization
|
|
|
Set of serialization libralies in %{name}
|
|
|
|
|
|
-%package -n compat32-%{name}-signals
|
|
|
-Summary: Set of signals and slots libralies in %{name}
|
|
|
-Group: System Environment/Libraries
|
|
|
-
|
|
|
-%description -n compat32-%{name}-signals
|
|
|
-Set of signals and slots libralies in %{name}
|
|
|
-
|
|
|
%package -n compat32-%{name}-stacktrace
|
|
|
Summary: Call-stack libraries in %{name}
|
|
|
Group: System Environment/Libraries
|
|
@@ -777,20 +803,12 @@ Group: System Environment/Libraries
|
|
|
Set of wave libraries in %{name}
|
|
|
|
|
|
|
|
|
-%prep
|
|
|
-%setup -q -n %{tarname}_%{pkgver}
|
|
|
+%debug_package
|
|
|
|
|
|
-%patch4 -p1
|
|
|
-%patch5 -p1
|
|
|
-%patch15 -p0
|
|
|
-%patch25 -p1
|
|
|
-%patch51 -p1
|
|
|
-%patch61 -p1
|
|
|
-%patch62 -p1
|
|
|
-%patch65 -p1
|
|
|
-%patch68 -p1
|
|
|
-%patch82 -p0
|
|
|
|
|
|
+%prep
|
|
|
+%setup -q -n %{tarname}_%{pkgver}
|
|
|
+%autopatch -p1
|
|
|
|
|
|
# At least python2_version needs to be a macro so that it's visible in
|
|
|
# %%install as well.
|
|
@@ -1058,14 +1076,13 @@ echo ============================= install Boost.Build ==================
|
|
|
(cd tools/build
|
|
|
./b2 --prefix=$RPM_BUILD_ROOT%{_prefix} install
|
|
|
# Fix some permissions
|
|
|
- chmod -x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/build/alias.py
|
|
|
chmod +x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxproc.py
|
|
|
# We don't want to distribute this
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/b2
|
|
|
- # Not a real file
|
|
|
- rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/src/build/project.ann.py
|
|
|
# Empty file
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxygen/windows-paths-check.hpp
|
|
|
+ # install binary
|
|
|
+ install -Dpm755 ./src/engine/bjam %{buildroot}%{_bindir}/bjam
|
|
|
# Install the manual page
|
|
|
%{__install} -p -m 644 v2/doc/bjam.1 -D $RPM_BUILD_ROOT%{_mandir}/man1/bjam.1
|
|
|
)
|
|
@@ -1170,6 +1187,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%post context -p /sbin/ldconfig
|
|
|
%post coroutine -p /sbin/ldconfig
|
|
|
%endif
|
|
|
+%post contract -p /sbin/ldconfig
|
|
|
%post date-time -p /sbin/ldconfig
|
|
|
%post filesystem -p /sbin/ldconfig
|
|
|
%post graph -p /sbin/ldconfig
|
|
@@ -1182,7 +1200,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%post random -p /sbin/ldconfig
|
|
|
%post regex -p /sbin/ldconfig
|
|
|
%post serialization -p /sbin/ldconfig
|
|
|
-%post signals -p /sbin/ldconfig
|
|
|
%post system -p /sbin/ldconfig
|
|
|
%post test -p /sbin/ldconfig
|
|
|
%post thread -p /sbin/ldconfig
|
|
@@ -1197,6 +1214,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%postun context -p /sbin/ldconfig
|
|
|
%postun coroutine -p /sbin/ldconfig
|
|
|
%endif
|
|
|
+%postun contract -p /sbin/ldconfig
|
|
|
%postun date-time -p /sbin/ldconfig
|
|
|
%postun filesystem -p /sbin/ldconfig
|
|
|
%postun graph -p /sbin/ldconfig
|
|
@@ -1209,7 +1227,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%postun random -p /sbin/ldconfig
|
|
|
%postun regex -p /sbin/ldconfig
|
|
|
%postun serialization -p /sbin/ldconfig
|
|
|
-%postun signals -p /sbin/ldconfig
|
|
|
%postun system -p /sbin/ldconfig
|
|
|
%postun test -p /sbin/ldconfig
|
|
|
%postun thread -p /sbin/ldconfig
|
|
@@ -1246,6 +1263,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/libboost_coroutine.so.*
|
|
|
%endif
|
|
|
|
|
|
+%files contract
|
|
|
+%defattr(-, root, root, -)
|
|
|
+%license LICENSE_1_0.txt
|
|
|
+%{_libdir}/libboost_contract.so.*
|
|
|
+
|
|
|
%files date-time
|
|
|
%license LICENSE_1_0.txt
|
|
|
%{_libdir}/%{name}_date_time*.so.*
|
|
@@ -1287,16 +1309,16 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files python
|
|
|
%license LICENSE_1_0.txt
|
|
|
-%{_libdir}/%{name}_python.so.*
|
|
|
+%{_libdir}/%{name}_python27.so.*
|
|
|
|
|
|
%if %{with python3}
|
|
|
%files python3
|
|
|
%license LICENSE_1_0.txt
|
|
|
-%{_libdir}/libboost_python3.so.*
|
|
|
+%{_libdir}/libboost_python35.so.*
|
|
|
|
|
|
%files python3-devel
|
|
|
%license LICENSE_1_0.txt
|
|
|
-%{_libdir}/libboost_python3.so
|
|
|
+%{_libdir}/libboost_python35.so
|
|
|
%endif
|
|
|
|
|
|
%files random
|
|
@@ -1312,10 +1334,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/%{name}_serialization*.so.*
|
|
|
%{_libdir}/%{name}_wserialization*.so.*
|
|
|
|
|
|
-%files signals
|
|
|
-%license LICENSE_1_0.txt
|
|
|
-%{_libdir}/%{name}_signals*.so.*
|
|
|
-
|
|
|
%files stacktrace
|
|
|
%license LICENSE_1_0.txt
|
|
|
%{_libdir}/%{name}_stacktrace*.so.*
|
|
@@ -1351,6 +1369,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_includedir}/boost/
|
|
|
%{_includedir}/boost-%{lnkver}
|
|
|
%{_libdir}/%{name}_*.so
|
|
|
+%dir %{_libdir}/cmake
|
|
|
+%{_libdir}/cmake/*
|
|
|
|
|
|
%files doc
|
|
|
%doc index.htm index.html boost.css boost.png rst.css doc libs more
|
|
@@ -1433,6 +1453,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/libboost_coroutine.so.*
|
|
|
%endif
|
|
|
|
|
|
+%files -n compat32-%{name}-contract
|
|
|
+%defattr(-, root, root, -)
|
|
|
+%license LICENSE_1_0.txt
|
|
|
+%{_libdir}/libboost_contract.so.*
|
|
|
+
|
|
|
%files -n compat32-%{name}-date-time
|
|
|
%license LICENSE_1_0.txt
|
|
|
%{_libdir}/%{name}_date_time*.so.*
|
|
@@ -1481,12 +1506,12 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%if 0
|
|
|
%files -n compat32-%{name}-python
|
|
|
%license LICENSE_1_0.txt
|
|
|
-%{_libdir}/%{name}_python.so.*
|
|
|
+%{_libdir}/%{name}_python27.so.*
|
|
|
|
|
|
%if %{with python3}
|
|
|
%files -n compat32-%{name}-python3
|
|
|
%license LICENSE_1_0.txt
|
|
|
-%{_libdir}/libboost_python3.so.*
|
|
|
+%{_libdir}/libboost_python35.so.*
|
|
|
%endif
|
|
|
%endif
|
|
|
|
|
@@ -1505,10 +1530,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/%{name}_serialization*.so.*
|
|
|
%{_libdir}/%{name}_wserialization*.so.*
|
|
|
|
|
|
-%files -n compat32-%{name}-signals
|
|
|
-%license LICENSE_1_0.txt
|
|
|
-%{_libdir}/%{name}_signals*.so.*
|
|
|
-
|
|
|
%files -n compat32-%{name}-stacktrace
|
|
|
%license LICENSE_1_0.txt
|
|
|
%{_libdir}/%{name}_stacktrace*.so.*
|
|
@@ -1543,8 +1564,14 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.72.0-1
|
|
|
+- new upstream release.
|
|
|
+- built with icu-67.
|
|
|
+- updated patches.
|
|
|
+- imported Patch86 from rawhide.
|
|
|
+
|
|
|
* Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-5
|
|
|
-- rebuilt with gcc-9 anf icu-66.
|
|
|
+- rebuilt with gcc-9 and icu-66.
|
|
|
|
|
|
* Sun Oct 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-4
|
|
|
- rebuilt with icu-65.
|