summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-03-22 12:51:09 +0900
committerMyoungJune Park <mj2004.park@samsung.com>2016-04-07 10:51:34 +0900
commit6e8fc0323d7f3f3d22803e103ad42df4741240c4 (patch)
tree623dd77d60ba2c7746d37519a555e9b07effb023
parente98215f3d4e1dc2095645c329150ed18d6aef465 (diff)
downloadboost-6e8fc0323d7f3f3d22803e103ad42df4741240c4.tar.gz
boost-6e8fc0323d7f3f3d22803e103ad42df4741240c4.tar.bz2
boost-6e8fc0323d7f3f3d22803e103ad42df4741240c4.zip
Bump to boost 1.58.0submit/tizen/20160407.015441
Change-Id: I028891b98304be2ddb1f8214780f5de28040d3cc Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r--boost/accumulators/framework/accumulator_set.hpp2
-rw-r--r--boost/accumulators/framework/extractor.hpp2
-rw-r--r--boost/algorithm/string/finder.hpp8
-rw-r--r--boost/algorithm/string/formatter.hpp2
-rw-r--r--boost/date_time/dst_rules.hpp2
-rw-r--r--boost/date_time/strings_from_facet.hpp10
-rw-r--r--boost/date_time/time_zone_names.hpp2
-rw-r--r--boost/intrusive/linear_slist_algorithms.hpp2
-rw-r--r--boost/mpi/collectives.hpp8
-rw-r--r--boost/mpi/operations.hpp2
-rw-r--r--boost/program_options/value_semantic.hpp2
-rw-r--r--packaging/boost.spec297
-rwxr-xr-xrun_test.sh68
13 files changed, 245 insertions, 162 deletions
diff --git a/boost/accumulators/framework/accumulator_set.hpp b/boost/accumulators/framework/accumulator_set.hpp
index 8d10023ffb..ed1ceb1afa 100644
--- a/boost/accumulators/framework/accumulator_set.hpp
+++ b/boost/accumulators/framework/accumulator_set.hpp
@@ -234,6 +234,7 @@ struct accumulator_set
///////////////////////////////////////////////////////////////////////////////
/// Accumulation
+ /// \param a1 Optional named parameter to be passed to all the accumulators
void operator ()()
{
this->visit(
@@ -243,7 +244,6 @@ struct accumulator_set
);
}
- /// \param a1 Optional named parameter to be passed to all the accumulators
template<typename A1>
void operator ()(A1 const &a1)
{
diff --git a/boost/accumulators/framework/extractor.hpp b/boost/accumulators/framework/extractor.hpp
index dec36dad07..98281cecb9 100644
--- a/boost/accumulators/framework/extractor.hpp
+++ b/boost/accumulators/framework/extractor.hpp
@@ -94,6 +94,7 @@ struct extractor
};
/// Extract the result associated with Feature from the accumulator set
+ /// \param acc The accumulator set object from which to extract the result
template<typename Arg1>
typename detail::extractor_result<Arg1, Feature>::type
operator ()(Arg1 const &arg1) const
@@ -105,7 +106,6 @@ struct extractor
/// \overload
///
- /// \param acc The accumulator set object from which to extract the result
/// \param a1 Optional named parameter to be passed to the accumulator's result() function.
template<typename AccumulatorSet, typename A1>
typename detail::extractor_result<AccumulatorSet, Feature>::type
diff --git a/boost/algorithm/string/finder.hpp b/boost/algorithm/string/finder.hpp
index 9fc195d75b..93f7ec304a 100644
--- a/boost/algorithm/string/finder.hpp
+++ b/boost/algorithm/string/finder.hpp
@@ -43,6 +43,7 @@ namespace boost {
The result is given as an \c iterator_range delimiting the match.
\param Search A substring to be searched for.
+ \param Comp An element comparison predicate
\return An instance of the \c first_finder object
*/
template<typename RangeT>
@@ -61,7 +62,6 @@ namespace boost {
//! "First" finder
/*!
\overload
- \param Comp An element comparison predicate
*/
template<typename RangeT,typename PredicateT>
inline detail::first_finderF<
@@ -84,6 +84,7 @@ namespace boost {
The result is given as an \c iterator_range delimiting the match.
\param Search A substring to be searched for.
+ \param Comp An element comparison predicate
\return An instance of the \c last_finder object
*/
template<typename RangeT>
@@ -101,7 +102,6 @@ namespace boost {
//! "Last" finder
/*!
\overload
- \param Comp An element comparison predicate
*/
template<typename RangeT, typename PredicateT>
inline detail::last_finderF<
@@ -124,6 +124,7 @@ namespace boost {
\param Search A substring to be searched for.
\param Nth An index of the match to be find
+ \param Comp An element comparison predicate
\return An instance of the \c nth_finder object
*/
template<typename RangeT>
@@ -143,7 +144,6 @@ namespace boost {
//! "Nth" finder
/*!
\overload
- \param Comp An element comparison predicate
*/
template<typename RangeT, typename PredicateT>
inline detail::nth_finderF<
@@ -230,6 +230,7 @@ namespace boost {
\param Begin Beginning of the range
\param End End of the range
+ \param Range The range.
\return An instance of the \c range_finger object
*/
template< typename ForwardIteratorT >
@@ -244,7 +245,6 @@ namespace boost {
//! "Range" finder
/*!
\overload
- \param Range The range.
*/
template< typename ForwardIteratorT >
inline detail::range_finderF<ForwardIteratorT>
diff --git a/boost/algorithm/string/formatter.hpp b/boost/algorithm/string/formatter.hpp
index e333844927..de8681bc3f 100644
--- a/boost/algorithm/string/formatter.hpp
+++ b/boost/algorithm/string/formatter.hpp
@@ -76,6 +76,8 @@ namespace boost {
Constructs an \c empty_formatter. Empty formatter always returns an empty
sequence.
+ \param Input container used to select a correct value_type for the
+ resulting empty_container<>.
\return An instance of the \c empty_formatter object.
*/
template<typename RangeT>
diff --git a/boost/date_time/dst_rules.hpp b/boost/date_time/dst_rules.hpp
index feffffb59c..32290190d9 100644
--- a/boost/date_time/dst_rules.hpp
+++ b/boost/date_time/dst_rules.hpp
@@ -94,7 +94,7 @@ namespace boost {
* @param dst_start_offset Time offset within day for dst boundary
* @param dst_end_day Ending day of dst for the given locality
* @param dst_end_offset Time offset within day given in dst for dst boundary
- * @param dst_length_minutes length of dst adjustment
+ * @param dst_length lenght of dst adjusment
* @retval The time is either ambiguous, invalid, in dst, or not in dst
*/
static time_is_dst_result
diff --git a/boost/date_time/strings_from_facet.hpp b/boost/date_time/strings_from_facet.hpp
index 7596be9856..800919a0b5 100644
--- a/boost/date_time/strings_from_facet.hpp
+++ b/boost/date_time/strings_from_facet.hpp
@@ -21,9 +21,8 @@ namespace boost { namespace date_time {
* all the month strings from a locale. This is handy when building
* custom date parsers or formatters that need to be localized.
*
- *! charT The type of char to use when gathering, typically char
- * or wchar_t.
- *
+ *@param charT The type of char to use when gathering typically char
+ * or wchar_t.
*@param locale The locale to use when gathering the strings
*@param short_strings True(default) to gather short strings,
* false for long strings.
@@ -72,9 +71,8 @@ gather_month_strings(const std::locale& locale, bool short_strings=true)
* 'Sunday'. This is handy when building custom date parsers or
* formatters that need to be localized.
*
- *! charT The type of char to use when gathering, typically char
- * or wchar_t.
- *
+ *@param charT The type of char to use when gathering typically char
+ * or wchar_t.
*@param locale The locale to use when gathering the strings
*@param short_strings True(default) to gather short strings,
* false for long strings.
diff --git a/boost/date_time/time_zone_names.hpp b/boost/date_time/time_zone_names.hpp
index 63ecfca571..405e7e0a70 100644
--- a/boost/date_time/time_zone_names.hpp
+++ b/boost/date_time/time_zone_names.hpp
@@ -43,7 +43,7 @@ namespace date_time {
* name: Pacific Standard Time and the abbreviated name: PST.
* During daylight savings there are additional names:
* Pacific Daylight Time and PDT.
- *@param CharT Allows the class to support different character types
+ *@parm CharT Allows class to support different character types
*/
template<class CharT>
class time_zone_names_base
diff --git a/boost/intrusive/linear_slist_algorithms.hpp b/boost/intrusive/linear_slist_algorithms.hpp
index d8eb4f93c8..31e5594384 100644
--- a/boost/intrusive/linear_slist_algorithms.hpp
+++ b/boost/intrusive/linear_slist_algorithms.hpp
@@ -65,7 +65,7 @@ class linear_slist_algorithms
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
- //! <b>Effects</b>: Constructs n non-used list element, putting the next
+ //! <b>Effects</b>: Constructs an non-used list element, putting the next
//! pointer to null:
//! <tt>NodeTraits::get_next(this_node) == node_ptr()</tt>
//!
diff --git a/boost/mpi/collectives.hpp b/boost/mpi/collectives.hpp
index 6e0cbdd0e9..e74fd72bb0 100644
--- a/boost/mpi/collectives.hpp
+++ b/boost/mpi/collectives.hpp
@@ -235,6 +235,10 @@ all_to_all(const communicator& comm, const T* in_values, int n, T* out_values);
* non-roots will reshape the objects held in their proxies based on
* the skeleton sent from the root.
*
+ * @param n When supplied, the number of values that the pointer @p
+ * values points to, for broadcasting an array of values. The value
+ * of @p n must be the same for all processes in @p comm.
+ *
* @param root The rank/process ID of the process that will be
* transmitting the value.
*/
@@ -243,10 +247,6 @@ void broadcast(const communicator& comm, T& value, int root);
/**
* \overload
- * @param n When supplied, the number of values that the pointer @p
- * values points to, for broadcasting an array of values. The value
- * of @p n must be the same for all processes in @p comm.
- *
*/
template<typename T>
void broadcast(const communicator& comm, T* values, int n, int root);
diff --git a/boost/mpi/operations.hpp b/boost/mpi/operations.hpp
index 4949786c0e..c1189e4364 100644
--- a/boost/mpi/operations.hpp
+++ b/boost/mpi/operations.hpp
@@ -13,7 +13,7 @@
* This header provides a mapping from function objects to @c MPI_Op
* constants used in MPI collective operations. It also provides
* several new function object types not present in the standard @c
- * &lt;functional&gt; header that have direct mappings to @c MPI_Op.
+ * <functional> header that have direct mappings to @c MPI_Op.
*/
#ifndef BOOST_MPI_IS_MPI_OP_HPP
#define BOOST_MPI_IS_MPI_OP_HPP
diff --git a/boost/program_options/value_semantic.hpp b/boost/program_options/value_semantic.hpp
index 940a80b446..081e997bb3 100644
--- a/boost/program_options/value_semantic.hpp
+++ b/boost/program_options/value_semantic.hpp
@@ -401,7 +401,7 @@ namespace boost { namespace program_options {
typed_value<T, wchar_t>*
wvalue(T* v);
- /** Works the same way as the 'value&lt;bool&gt;' function, but the created
+ /** Works the same way as the 'value<bool>' function, but the created
value_semantic won't accept any explicit value. So, if the option
is present on the command line, the value will be 'true'.
*/
diff --git a/packaging/boost.spec b/packaging/boost.spec
index 0ff8bb9156..c1019cbb95 100644
--- a/packaging/boost.spec
+++ b/packaging/boost.spec
@@ -1,7 +1,13 @@
-%define ver 1.57.0
-%define file_version 1_57_0
-%define short_version 1_57
-%define lib_appendix 1_57_0
+%define run_tests 0
+%if %{run_tests}
+ # check is defined off at .rpmmacros file.
+ %define check %%check
+%endif
+
+%define ver 1.58.0
+%define file_version 1_58_0
+%define short_version 1_58
+%define lib_appendix 1_58_0
#Only define to 1 to generate the man pages
%define build_docs 0
@@ -28,21 +34,21 @@
%define disable_long_double 0
%endif
-%define boost_libs1 libboost_date_time%{lib_appendix} libboost_filesystem%{lib_appendix} libboost_graph%{lib_appendix}
-%define boost_libs2 libboost_iostreams%{lib_appendix} libboost_math%{lib_appendix} libboost_test%{lib_appendix}
-%define boost_libs3 libboost_program_options%{lib_appendix} libboost_python%{lib_appendix} libboost_serialization%{lib_appendix}
-%define boost_libs4 libboost_signals%{lib_appendix} libboost_system%{lib_appendix} libboost_thread%{lib_appendix}
-%define boost_libs5 libboost_wave%{lib_appendix} libboost_regex%{lib_appendix} libboost_regex%{lib_appendix}
-%define boost_libs6 libboost_random%{lib_appendix} libboost_chrono%{lib_appendix} libboost_locale%{lib_appendix}
-%define boost_libs7 libboost_timer%{lib_appendix} libboost_atomic%{lib_appendix} libboost_log%{lib_appendix} libboost_container%{lib_appendix}
+%define boost_libs1 boost-date-time%{lib_appendix} boost-filesystem%{lib_appendix} boost-graph%{lib_appendix}
+%define boost_libs2 boost-iostreams%{lib_appendix} boost-math%{lib_appendix} boost-test%{lib_appendix}
+%define boost_libs3 boost-program-options%{lib_appendix} boost-python%{lib_appendix} boost-serialization%{lib_appendix}
+%define boost_libs4 boost-signals%{lib_appendix} boost-system%{lib_appendix} boost-thread%{lib_appendix}
+%define boost_libs5 boost-wave%{lib_appendix} boost-regex%{lib_appendix}
+%define boost_libs6 boost-random%{lib_appendix} boost-chrono%{lib_appendix} boost-locale%{lib_appendix}
+%define boost_libs7 boost-timer%{lib_appendix} boost-atomic%{lib_appendix} boost-log%{lib_appendix} boost-container%{lib_appendix}
%if %build_context
-%define boost_libs_context libboost_context%{lib_appendix} libboost_coroutine%{lib_appendix}
+%define boost_libs_context boost-context%{lib_appendix} boost-coroutine%{lib_appendix}
%endif
%define most_libs %boost_libs1 %boost_libs2 %boost_libs3 %boost_libs4 %boost_libs5 %boost_libs6 %boost_libs7 %{?boost_libs_context}
%if %build_mpi
-%define all_libs %{most_libs} libboost_graph_parallel%lib_appendix libboost_mpi%{lib_appendix}
+%define all_libs %{most_libs} boost-graph-parallel%{lib_appendix} boost-mpi%{lib_appendix}
%else
%define all_libs %{most_libs}
%endif
@@ -56,6 +62,7 @@ BuildRequires: bzip2-devel
BuildRequires: zlib-devel
BuildRequires: expat-devel
BuildRequires: libicu-devel
+BuildRequires: python
BuildRequires: python-devel
BuildRequires: xz
BuildRequires: fdupes
@@ -63,7 +70,7 @@ Url: http://www.boost.org
Summary: Boost C++ Libraries
License: BSL-1.0
Group: Base/Libraries
-Version: 1.57.0
+Version: 1.58.0
Release: 0
Source0: %{name}_%{file_version}.tar.bz2
Source1: boost-rpmlintrc
@@ -120,234 +127,234 @@ BuildArch: noarch
This package contains the documentation of the boost dynamic libraries
in HTML format.
-%package -n libboost_atomic%{lib_appendix}
+%package -n boost-atomic%{lib_appendix}
Summary: Run-Time component of boost atomic library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
-%description -n libboost_atomic%{lib_appendix}
+%description -n boost-atomic%{lib_appendix}
Run-Time support for Boost.Atomic, a library that provides atomic data types
and operations on these data types, as well as memory ordering constraints
required for coordinating multiple threads through atomic variables.
-%package -n libboost_container%{lib_appendix}
+%package -n boost-container%{lib_appendix}
Summary: Boost::Container Runtime libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
-%description -n libboost_container%{lib_appendix}
+%description -n boost-container%{lib_appendix}
This package contains the Boost Container runtime libraries.
-%package -n libboost_context%{lib_appendix}
+%package -n boost-context%{lib_appendix}
Summary: Run-Time component of boost context switching library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
-%description -n libboost_context%{lib_appendix}
+%description -n boost-context%{lib_appendix}
Run-Time support for Boost.Context, a foundational library that
provides a sort of cooperative multitasking on a single thread.
-%package -n libboost_coroutine%{lib_appendix}
+%package -n boost-coroutine%{lib_appendix}
Summary: Boost::Coroutine Runtime libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
-%description -n libboost_coroutine%{lib_appendix}
+%description -n boost-coroutine%{lib_appendix}
This package contains the Boost Coroutine runtime libraries.
-%package -n libboost_date_time%{lib_appendix}
+%package -n boost-date-time%{lib_appendix}
Summary: Boost::Date.Time Runtime libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
-Provides: boost-datetime
+Provides: boost-date-time
-%description -n libboost_date_time%{lib_appendix}
+%description -n boost-date-time%{lib_appendix}
This package contains the Boost Date.Time runtime libraries.
-%package -n libboost_filesystem%{lib_appendix}
+%package -n boost-filesystem%{lib_appendix}
Summary: Boost::Filesystem Runtime Libraries
Group: System/Localization
Requires: boost-license%{lib_appendix}
Provides: boost-filesystem
-%description -n libboost_filesystem%{lib_appendix}
+%description -n boost-filesystem%{lib_appendix}
This package contains the Boost::Filesystem libraries.
-%package -n libboost_graph%{lib_appendix}
+%package -n boost-graph%{lib_appendix}
Summary: Boost::Graph Runtime Libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-graph
-%description -n libboost_graph%{lib_appendix}
+%description -n boost-graph%{lib_appendix}
This package contains the Boost::Graph Runtime libraries.
%if %build_mpi
-%package -n libboost_graph_parallel%lib_appendix
+%package -n boost-graph-parallel%{lib_appendix}
Summary: Boost graph::distributed runtime libraries
Group: System/Libraries
-Requires: boost-license%lib_appendix
+Requires: boost-license%{lib_appendix}
-%description -n libboost_graph_parallel%lib_appendix
+%description -n boost-graph-parallel%{lib_appendix}
This package contains the boost::graph::distributed runtime libraries.
%endif
-%package -n libboost_iostreams%{lib_appendix}
+%package -n boost-iostreams%{lib_appendix}
Summary: Boost::IOStreams Runtime Libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-iostreams
-%description -n libboost_iostreams%{lib_appendix}
+%description -n boost-iostreams%{lib_appendix}
This package contains the Boost::IOStreams Runtime libraries.
-%package -n libboost_log%{lib_appendix}
+%package -n boost-log%{lib_appendix}
Summary: Run-Time component of boost logging library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-log
-%description -n libboost_log%{lib_appendix}
+%description -n boost-log%{lib_appendix}
Boost.Log library aims to make logging significantly easier for the
application developer. It provides a wide range of out-of-the-box
tools along with public interfaces for extending the library.
-%package -n libboost_math%{lib_appendix}
+%package -n boost-math%{lib_appendix}
Summary: Boost::Math Runtime Libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-math
-%description -n libboost_math%{lib_appendix}
+%description -n boost-math%{lib_appendix}
This package contains the Boost::Math Runtime libraries.
%if %build_mpi
-%package -n libboost_mpi%{lib_appendix}
+%package -n boost-mpi%{lib_appendix}
Summary: Boost::MPI Runtime libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-mpi
-%description -n libboost_mpi%{lib_appendix}
+%description -n boost-mpi%{lib_appendix}
This package contains the Boost::MPI Runtime libraries.
%endif
-%package -n libboost_test%{lib_appendix}
+%package -n boost-test%{lib_appendix}
Summary: Boost::Test Runtime Libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-test
-%description -n libboost_test%{lib_appendix}
+%description -n boost-test%{lib_appendix}
This package contains the Boost::Test runtime libraries.
-%package -n libboost_program_options%{lib_appendix}
+%package -n boost-program-options%{lib_appendix}
Summary: Boost::ProgramOptions Runtime libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-program-options
-%description -n libboost_program_options%{lib_appendix}
+%description -n boost-program-options%{lib_appendix}
This package contains the Boost::ProgramOptions Runtime libraries.
-%package -n libboost_python%{lib_appendix}
+%package -n boost-python%{lib_appendix}
Summary: Boost::Python Runtime Libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-python
-%description -n libboost_python%{lib_appendix}
+%description -n boost-python%{lib_appendix}
This package contains the Boost::Python Runtime libraries.
-%package -n libboost_serialization%{lib_appendix}
+%package -n boost-serialization%{lib_appendix}
Summary: Boost::Serialization Runtime Libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-serialization
-%description -n libboost_serialization%{lib_appendix}
+%description -n boost-serialization%{lib_appendix}
This package contains the Boost::Serialization Runtime libraries.
-%package -n libboost_signals%{lib_appendix}
+%package -n boost-signals%{lib_appendix}
Summary: Boost::Signals Runtime Libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-signals
-%description -n libboost_signals%{lib_appendix}
+%description -n boost-signals%{lib_appendix}
This package contains the Boost::Signals Runtime libraries.
-%package -n libboost_system%{lib_appendix}
+%package -n boost-system%{lib_appendix}
Summary: Boost::System Runtime Libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-system
-%description -n libboost_system%{lib_appendix}
+%description -n boost-system%{lib_appendix}
This package contains the Boost::System runtime libraries.
-%package -n libboost_thread%{lib_appendix}
+%package -n boost-thread%{lib_appendix}
Summary: Boost::Thread Runtime Libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-thread
-%description -n libboost_thread%{lib_appendix}
+%description -n boost-thread%{lib_appendix}
This package contains the Boost::Thread runtime libraries.
-%package -n libboost_wave%{lib_appendix}
+%package -n boost-wave%{lib_appendix}
Summary: Boost::Wave Runtime Libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-wave
-%description -n libboost_wave%{lib_appendix}
+%description -n boost-wave%{lib_appendix}
This package contains the Boost::Wave runtime libraries.
-%package -n libboost_regex%{lib_appendix}
+%package -n boost-regex%{lib_appendix}
Summary: The Boost::Regex runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-regex
-%description -n libboost_regex%{lib_appendix}
+%description -n boost-regex%{lib_appendix}
This package contains the Boost::Regex runtime library.
-%package -n libboost_random%{lib_appendix}
+%package -n boost-random%{lib_appendix}
Summary: The Boost::Random runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-random
-%description -n libboost_random%{lib_appendix}
+%description -n boost-random%{lib_appendix}
This package contains the Boost::Random runtime library.
-%package -n libboost_chrono%{lib_appendix}
+%package -n boost-chrono%{lib_appendix}
Summary: The Boost::Chrono runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-chrono
-%description -n libboost_chrono%{lib_appendix}
+%description -n boost-chrono%{lib_appendix}
This package contains the Boost::Chrono runtime library.
-%package -n libboost_locale%{lib_appendix}
+%package -n boost-locale%{lib_appendix}
Summary: The Boost::Locale runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-locale
-%description -n libboost_locale%{lib_appendix}
+%description -n boost-locale%{lib_appendix}
This package contains the Boost::Locale runtime library.
-%package -n libboost_timer%{lib_appendix}
+%package -n boost-timer%{lib_appendix}
Summary: The Boost::Timer runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
Provides: boost-timer
-%description -n libboost_timer%{lib_appendix}
+%description -n boost-timer%{lib_appendix}
This package contains the Boost::Timer runtime library.
@@ -440,6 +447,14 @@ cd doc
../b2 --user-config=../user-config.jam --v2 man
%endif
+%check
+%if %{run_tests}
+BOOST_LIBS="chrono,program_options,thread,system,filesystem,date_time,regex,serialization,iostreams,random,test"
+ chmod 777 ./run_test.sh
+ echo "RUN run_test.sh"
+ ./run_test.sh %{version} $BOOST_LIBS || exit 0
+%endif
+
%install
# Read shared build instructions
@@ -519,64 +534,64 @@ rm -f %{buildroot}%{_libdir}/*.a
mkdir -p %{buildroot}/usr/share/licenses
cp -af LICENSE_1_0.txt %{buildroot}/usr/share/licenses/%{name}
-%post -n libboost_atomic%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_container%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_context%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_coroutine%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_date_time%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_filesystem%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_iostreams%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_log%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_test%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_program_options%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_python%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_regex%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_serialization%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_signals%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_thread%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_math%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-atomic%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-container%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-context%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-coroutine%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-date-time%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-filesystem%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-iostreams%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-log%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-test%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-program-options%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-python%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-regex%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-serialization%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-signals%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-thread%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-math%{lib_appendix} -p /sbin/ldconfig
%if %build_mpi
-%post -n libboost_mpi%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-mpi%{lib_appendix} -p /sbin/ldconfig
%endif
-%post -n libboost_graph%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_system%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_wave%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_random%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_chrono%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_locale%{lib_appendix} -p /sbin/ldconfig
-%post -n libboost_timer%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-graph%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-system%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-wave%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-random%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-chrono%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-locale%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-timer%{lib_appendix} -p /sbin/ldconfig
%if %build_mpi
-%post -n libboost_graph_parallel%{lib_appendix} -p /sbin/ldconfig
+%post -n boost-graph-parallel%{lib_appendix} -p /sbin/ldconfig
%endif
-%postun -n libboost_atomic%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_container%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_context%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_coroutine%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_date_time%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_filesystem%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_iostreams%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_log%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_test%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_program_options%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_python%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_regex%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_serialization%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_signals%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_thread%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_math%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-atomic%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-container%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-context%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-coroutine%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-date-time%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-filesystem%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-iostreams%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-log%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-test%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-program-options%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-python%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-regex%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-serialization%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-signals%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-thread%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-math%{lib_appendix} -p /sbin/ldconfig
%if %build_mpi
-%postun -n libboost_mpi%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-mpi%{lib_appendix} -p /sbin/ldconfig
%endif
-%postun -n libboost_graph%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_system%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_wave%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_random%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_chrono%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_locale%{lib_appendix} -p /sbin/ldconfig
-%postun -n libboost_timer%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-graph%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-system%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-wave%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-random%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-chrono%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-locale%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-timer%{lib_appendix} -p /sbin/ldconfig
%if %build_mpi
-%postun -n libboost_graph_parallel%{lib_appendix} -p /sbin/ldconfig
+%postun -n boost-graph-parallel%{lib_appendix} -p /sbin/ldconfig
%endif
%files
@@ -590,134 +605,134 @@ cp -af LICENSE_1_0.txt %{buildroot}/usr/share/licenses/%{name}
#%%doc %%{_docdir}/NEWS
%doc %{_docdir}/LICENSE_1_0.txt
-%files -n libboost_atomic%{lib_appendix}
+%files -n boost-atomic%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_atomic*.so.*
-%files -n libboost_container%{lib_appendix}
+%files -n boost-container%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_container*.so.*
%if %build_context
%manifest %{name}.manifest
-%files -n libboost_context%{lib_appendix}
+%files -n boost-context%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_context*.so.*
-%files -n libboost_coroutine%{lib_appendix}
+%files -n boost-coroutine%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_coroutine*.so.*
%endif
-%files -n libboost_date_time%{lib_appendix}
+%files -n boost-date-time%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_date_time*.so.*
-%files -n libboost_filesystem%{lib_appendix}
+%files -n boost-filesystem%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_filesystem*.so.*
-%files -n libboost_graph%{lib_appendix}
+%files -n boost-graph%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_graph.so.*
%if %build_mpi
-%files -n libboost_graph_parallel%lib_appendix
+%files -n boost-graph-parallel%lib_appendix
%manifest %{name}.manifest
%defattr(-,root,root)
%_libdir/libboost_graph_parallel.so.*
%endif
-%files -n libboost_iostreams%{lib_appendix}
+%files -n boost-iostreams%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_iostreams*.so.*
-%files -n libboost_log%{lib_appendix}
+%files -n boost-log%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_log*.so.*
-%files -n libboost_math%{lib_appendix}
+%files -n boost-math%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_math_*.so.*
%if %build_mpi
%manifest %{name}.manifest
-%files -n libboost_mpi%{lib_appendix}
+%files -n boost-mpi%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_mpi*.so.*
%endif
-%files -n libboost_test%{lib_appendix}
+%files -n boost-test%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_prg_exec_monitor*.so.*
%{_libdir}/libboost_unit_test_framework*.so.*
-%files -n libboost_program_options%{lib_appendix}
+%files -n boost-program-options%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_program_options*.so.*
-%files -n libboost_python%{lib_appendix}
+%files -n boost-python%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_python*.so.*
-%files -n libboost_serialization%{lib_appendix}
+%files -n boost-serialization%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_*serialization*.so.*
-%files -n libboost_signals%{lib_appendix}
+%files -n boost-signals%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_signals*.so.*
-%files -n libboost_system%{lib_appendix}
+%files -n boost-system%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_system*.so.*
-%files -n libboost_thread%{lib_appendix}
+%files -n boost-thread%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_thread*.so.*
-%files -n libboost_wave%{lib_appendix}
+%files -n boost-wave%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_wave*.so.*
-%files -n libboost_regex%{lib_appendix}
+%files -n boost-regex%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_regex*.so.*
-%files -n libboost_random%{lib_appendix}
+%files -n boost-random%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_random*.so.*
-%files -n libboost_chrono%{lib_appendix}
+%files -n boost-chrono%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_chrono*.so.*
-%files -n libboost_locale%{lib_appendix}
+%files -n boost-locale%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_locale*.so.*
-%files -n libboost_timer%{lib_appendix}
+%files -n boost-timer%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)
%{_libdir}/libboost_timer*.so.*
diff --git a/run_test.sh b/run_test.sh
new file mode 100755
index 0000000000..9d5fab3b0f
--- /dev/null
+++ b/run_test.sh
@@ -0,0 +1,68 @@
+#!/bin/bash
+
+BOOST_VERSION=$1
+BOOST_PACKAGE_LIST=${2//,/ }
+
+echo "Boost package list: [$BOOST_PACKAGE_LIST]"
+
+TEST_LOG="/tmp/boost_test"
+export TEST_LOG
+rm -f ${TEST_LOG}
+
+# Color
+Color_Off='\e[0m' # Text Reset
+
+# Regular Colors
+Red='\e[0;31m' # Red
+Green='\e[0;32m' # Green
+Cyan='\e[0;36m' # Cyank
+
+# Bold
+BWhite='\e[1;37m' # White
+
+
+for ix in $BOOST_PACKAGE_LIST;
+do
+# echo "Build [$ix] test case"
+ pushd ./libs/${ix}/test
+ ../../../b2 > /dev/null 2>&1
+ popd
+
+# echo "Check [$ix] test result"
+ pushd ./bin.v2/libs/${ix}/test
+ for iy in `find . -name "*.output"`;
+ do
+ result=`cat $iy | grep "EXIT STATUS:" | awk '{print $3}'`
+ if [ $result -eq 0 ]
+ then
+ echo -e "${Green}PASS${Color_Off}: [$ix] [${iy##*/}]"
+ echo "TEST: PASS: [$ix] [${iy##*/}]" >> ${TEST_LOG}
+ else
+ echo -e "${Red}FAIL${Color_Off}: [$ix] [${iy##*/}]"
+ echo "TEST: FAIL: [$ix] [${iy##*/}]" >> ${TEST_LOG}
+ fi
+ done
+ popd
+done
+
+
+TOTAL_CNT=`grep "TEST:" ${TEST_LOG} | wc -l`
+PASS_CNT=`grep "PASS:" ${TEST_LOG} | wc -l`
+FAIL_CNT=`grep "FAIL:" ${TEST_LOG} | wc -l`
+SKIP_CNT=`grep "SKIP:" ${TEST_LOG} | wc -l`
+
+
+br='==================='; br=$br$br$br$br;
+
+echo -e "${Green}$br ${Color_Off}"
+echo -e "${Green}Testshite summary for Boost ${BOOST_VERSION}${Color_Off}"
+echo -e "${Green}$br ${Color_Off}"
+echo -e "#${BWhite} TOTAL: $TOTAL_CNT ${Color_Off}"
+echo -e "#${Green} PASS${Color_Off} : $PASS_CNT"
+echo -e "#${Red} FAIL${Color_Off} : $FAIL_CNT"
+echo -e "#${Cyan} SKIP${Color_Off} : $SKIP_CNT"
+echo -e "${Green}$br ${Color_Off}"
+
+rm -f ${TEST_LOG}
+exit 0
+