2007-01-16 00:06:09 +01:00
|
|
|
#
|
2008-10-12 00:56:50 +02:00
|
|
|
# spec file for package boost (Version 1.36.0)
|
2007-01-16 00:06:09 +01:00
|
|
|
#
|
2008-01-18 18:43:35 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:06:09 +01:00
|
|
|
#
|
2008-10-12 00:56:50 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:06:09 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-10-24 14:59:11 +02:00
|
|
|
%ifarch s390 s390x ia64
|
|
|
|
%define build_mpi 0
|
|
|
|
%else
|
|
|
|
%define build_mpi 1
|
|
|
|
%endif
|
2008-04-10 13:09:23 +02:00
|
|
|
|
2007-01-16 00:06:09 +01:00
|
|
|
Name: boost
|
2008-10-12 00:56:50 +02:00
|
|
|
BuildRequires: boost-jam >= 3.1.16 dos2unix gcc-c++ libbz2-devel libicu-devel python-devel xorg-x11-devel
|
2008-10-23 17:06:19 +02:00
|
|
|
BuildRequires: libexpat-devel
|
2008-10-24 14:59:11 +02:00
|
|
|
%if %build_mpi
|
2008-10-23 17:06:19 +02:00
|
|
|
BuildRequires: openmpi-devel
|
|
|
|
%endif
|
2008-01-30 17:55:59 +01:00
|
|
|
%if 0%suse_version > 1020
|
|
|
|
BuildRequires: fdupes
|
|
|
|
%endif
|
2007-10-25 01:48:24 +02:00
|
|
|
Url: http://www.boost.org
|
2007-07-16 10:16:23 +02:00
|
|
|
License: BSD 3-Clause
|
2007-01-16 00:06:09 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Summary: Boost C++ Libraries
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-10-12 00:56:50 +02:00
|
|
|
Version: 1.36.0
|
2008-10-24 14:59:11 +02:00
|
|
|
Release: 5
|
|
|
|
Source0: %{name}_1_36_0.tar.bz2
|
2008-01-30 17:55:59 +01:00
|
|
|
Source1: boost-rpmlintrc
|
2008-10-24 14:59:11 +02:00
|
|
|
Source2: boost_1_33_1_man.tar.bz2
|
2008-01-30 17:55:59 +01:00
|
|
|
Source3: existing_extra_docs
|
2008-10-12 00:56:50 +02:00
|
|
|
Source4: README
|
2008-10-24 14:59:11 +02:00
|
|
|
Source5: mkspec.sh
|
|
|
|
Source6: boost.spec.in
|
|
|
|
Source7: Makefile
|
2008-01-30 17:55:59 +01:00
|
|
|
Patch0: boost-threading.patch
|
2007-01-16 00:06:09 +01:00
|
|
|
Patch1: boost-thread.patch
|
2008-01-30 17:55:59 +01:00
|
|
|
Patch2: boost-no_type_punning.patch
|
|
|
|
Patch4: boost-visit_each.diff
|
|
|
|
Patch5: boost-pass_BJAM_CONFIG.patch
|
|
|
|
Patch6: boost-use_rpm_optflags.patch
|
|
|
|
Patch8: boost-no_segfault_in_Regex_filter.patch
|
2008-06-23 02:47:50 +02:00
|
|
|
Patch17: boost-ppc-asm.patch
|
2008-10-22 17:41:57 +02:00
|
|
|
Requires: libboost_date_time-gcc43-mt-1_36-1_36_0
|
|
|
|
Requires: libboost_filesystem-gcc43-mt-1_36-1_36_0
|
2008-10-24 14:59:11 +02:00
|
|
|
Requires: libboost_graph-gcc43-mt-1_36-1_36_0
|
2008-10-22 17:41:57 +02:00
|
|
|
Requires: libboost_iostreams-gcc43-mt-1_36-1_36_0
|
2008-10-24 14:59:11 +02:00
|
|
|
Requires: libboost_math-gcc43-mt-1_36-1_36_0
|
|
|
|
%if %build_mpi
|
|
|
|
Requires: libboost_mpi-gcc43-mt-1_36-1_36_0
|
|
|
|
%endif
|
2008-10-22 17:41:57 +02:00
|
|
|
Requires: libboost_test-gcc43-mt-1_36-1_36_0
|
|
|
|
Requires: libboost_program_options-gcc43-mt-1_36-1_36_0
|
|
|
|
Requires: libboost_python-gcc43-mt-1_36-1_36_0
|
|
|
|
Requires: libboost_serialization-gcc43-mt-1_36-1_36_0
|
|
|
|
Requires: libboost_signals-gcc43-mt-1_36-1_36_0
|
2008-10-24 14:59:11 +02:00
|
|
|
Requires: libboost_system-gcc43-mt-1_36-1_36_0
|
2008-10-22 17:41:57 +02:00
|
|
|
Requires: libboost_thread-gcc43-mt-1_36-1_36_0
|
2008-10-24 14:59:11 +02:00
|
|
|
Requires: libboost_wave-gcc43-mt-1_36-1_36_0
|
|
|
|
Requires: libboost_regex-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
Requires: boost-license
|
2007-01-16 00:06:09 +01:00
|
|
|
%define _prefix /usr
|
|
|
|
|
|
|
|
%description
|
|
|
|
Boost provides free peer-reviewed portable C++ source libraries. The
|
|
|
|
emphasis is on libraries that work well with the C++ Standard Library.
|
|
|
|
One goal is to establish "existing practice" and provide reference
|
|
|
|
implementations so that the Boost libraries are suitable for eventual
|
|
|
|
standardization. Some of the libraries have already been proposed for
|
|
|
|
inclusion in the C++ Standards Committee's upcoming C++ Standard
|
|
|
|
Library Technical Report.
|
|
|
|
|
|
|
|
Although Boost was begun by members of the C++ Standards Committee
|
|
|
|
Library Working Group, membership has expanded to include nearly two
|
|
|
|
thousand members of the C++ community at large.
|
|
|
|
|
2008-10-12 00:56:50 +02:00
|
|
|
This package is mainly needed for updating from a prior version, the
|
2008-10-22 17:41:57 +02:00
|
|
|
dynamic libraries are found in their respective package. For
|
|
|
|
development using Boost, you also need the boost-devel package. For
|
|
|
|
documentation, see the boost-doc package.
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-12 00:56:50 +02:00
|
|
|
%package devel
|
2008-04-10 13:09:23 +02:00
|
|
|
License: BSD 3-Clause
|
2007-01-16 00:06:09 +01:00
|
|
|
Summary: Development package for Boost C++
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{name} = %{version}
|
2007-10-25 01:48:24 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all that is needed to develop/compile
|
|
|
|
applications that use the Boost C++ libraries. For documentation see
|
|
|
|
the package boost-doc.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-12 00:56:50 +02:00
|
|
|
%package license
|
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost License
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
AutoReqProv: on
|
|
|
|
|
|
|
|
%description license
|
|
|
|
This package contains the license boost is provided under.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-24 14:59:11 +02:00
|
|
|
%package doc
|
2008-04-10 13:09:23 +02:00
|
|
|
License: BSD 3-Clause
|
2007-03-24 19:51:47 +01:00
|
|
|
Summary: Documentation for the Boost C++ Libraries
|
2007-01-16 00:06:09 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2008-10-12 00:56:50 +02:00
|
|
|
Requires: %{name}-license = %{version}
|
2007-10-25 01:48:24 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
%description doc
|
2007-03-24 19:51:47 +01:00
|
|
|
This package contains documentation about the boost dynamic libraries.
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_date_time-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::Date.Time Runtime libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_date_time-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost Date.Time runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_filesystem-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::Filesystem Runtime Libraries
|
|
|
|
Group: System/Localization
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_filesystem-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Filesystem libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_graph-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::Graph Runtime Libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_graph-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Graph Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_iostreams-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::IOStreams Runtime Libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_iostreams-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::IOStreams Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_math-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::Math Runtime Libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_math-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Math Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-23 17:06:19 +02:00
|
|
|
%if %build_mpi
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_mpi-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::MPI Runtime libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_mpi-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::MPI Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-23 17:06:19 +02:00
|
|
|
%endif
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_test-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::Test Runtime Libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_test-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Test runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_program_options-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::ProgramOptions Runtime libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_program_options-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::ProgramOptions Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_python-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::Python Runtime Libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_python-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Python Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_serialization-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::Serialization Runtime Libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_serialization-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Serialization Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_signals-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::Signals Runtime Libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_signals-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Signals Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_system-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::System Runtime Libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_system-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::System runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_thread-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::Thread Runtime Libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_thread-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Thread runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_wave-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: Boost::Wave Runtime Libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_wave-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Wave runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%package -n libboost_regex-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
License: BSD 3-Clause
|
|
|
|
Summary: The Boost::Regex runtime library
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-license = %{version}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%description -n libboost_regex-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Regex runtime library.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:06:09 +01:00
|
|
|
%prep
|
2008-10-24 14:59:11 +02:00
|
|
|
%setup -q -n %{name}_1_36_0 -a 2
|
2008-10-22 17:41:57 +02:00
|
|
|
cp %{S:4} .
|
2008-01-30 17:55:59 +01:00
|
|
|
find -name .cvsignore -exec rm -f {} +
|
2007-01-16 00:06:09 +01:00
|
|
|
#everything in the tarball has the executable flag set ......
|
2008-01-30 17:55:59 +01:00
|
|
|
find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {} +
|
2007-01-16 00:06:09 +01:00
|
|
|
%patch
|
|
|
|
%patch1
|
2008-01-30 17:55:59 +01:00
|
|
|
%patch2
|
2007-01-16 00:06:09 +01:00
|
|
|
%patch4
|
|
|
|
%patch5
|
2008-10-22 17:41:57 +02:00
|
|
|
%patch6
|
2007-01-16 00:06:09 +01:00
|
|
|
%patch8
|
2008-06-23 02:47:50 +02:00
|
|
|
%patch17
|
2008-01-30 17:55:59 +01:00
|
|
|
chmod +x configure
|
|
|
|
#stupid build machinery copies .orig files
|
|
|
|
find . -name \*.orig -exec rm {} +
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
%build
|
2008-10-22 17:41:57 +02:00
|
|
|
# define bjam_config -d2 --layout=system %{?jobs:-j%jobs}
|
|
|
|
%define bjam_config -d2 %{?jobs:-j%jobs}
|
2008-01-30 17:55:59 +01:00
|
|
|
find . -type f -exec chmod u+w {} +
|
2007-01-16 00:06:09 +01:00
|
|
|
# Now build it
|
2008-01-30 17:55:59 +01:00
|
|
|
BUILD_FLAGS="--with-toolset=gcc --prefix=%{buildroot}/usr --libdir=%{buildroot}%{_libdir} --with-bjam=/usr/bin/bjam"
|
|
|
|
PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
|
|
|
|
PYTHON_FLAGS="--with-python-root=/usr --with-python-version=$PYTHON_VERSION"
|
|
|
|
REGEX_FLAGS="--with-icu"
|
2008-10-22 17:41:57 +02:00
|
|
|
#BJAM_TARGET=rpm
|
2008-10-12 00:56:50 +02:00
|
|
|
export EXPAT_INCLUDE=/usr/include EXPAT_LIBPATH=%{_libdir}
|
2008-10-22 17:41:57 +02:00
|
|
|
BJAM_CONFIG="%bjam_config" BJAM_TARGET="$BJAM_TARGET" ./configure $BUILD_FLAGS $PYTHON_FLAGS $REGEX_FLAGS
|
2008-10-23 17:06:19 +02:00
|
|
|
%if %build_mpi
|
2008-10-12 00:56:50 +02:00
|
|
|
echo "using mpi ;" >> user-config.jam
|
2008-10-23 17:06:19 +02:00
|
|
|
%endif
|
2008-10-22 17:41:57 +02:00
|
|
|
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-deprecated"
|
2008-01-30 17:55:59 +01:00
|
|
|
make all
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
%install
|
2008-01-30 17:55:59 +01:00
|
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
|
|
mkdir -p %{buildroot}%{_includedir}
|
|
|
|
mkdir -p %{buildroot}%{_docdir}/boost-%{version}
|
|
|
|
# install lib
|
2008-10-22 17:41:57 +02:00
|
|
|
for i in $(find stage -type f -name \*.a); do
|
|
|
|
NAME=$(basename $i);
|
2008-01-30 17:55:59 +01:00
|
|
|
install -p -m 0644 $i %{buildroot}%{_libdir}/$NAME;
|
|
|
|
done;
|
2008-10-22 17:41:57 +02:00
|
|
|
cd stage/lib
|
2008-10-24 14:59:11 +02:00
|
|
|
for lib in $(find . -follow -name \*-gcc??-mt-1_36.so); do
|
2008-10-22 17:41:57 +02:00
|
|
|
NAME=${lib}.%{version}
|
2008-10-24 14:59:11 +02:00
|
|
|
SONAME_MT=$(echo $lib | sed -e 's/-gcc..-mt-1_36/-mt/g')
|
|
|
|
SONAME=$(echo $lib | sed -e 's/-gcc..-mt-1_36//g')
|
2008-10-22 17:41:57 +02:00
|
|
|
rm $lib
|
|
|
|
ln -sf $NAME $SONAME_MT
|
|
|
|
ln -sf $NAME $SONAME
|
|
|
|
done
|
|
|
|
cd ../..
|
|
|
|
mv stage/lib/*.so* %{buildroot}%{_libdir}
|
2008-01-30 17:55:59 +01:00
|
|
|
# install include files
|
|
|
|
for i in $(find boost -type d); do
|
|
|
|
mkdir -p %{buildroot}%{_includedir}/$i
|
|
|
|
done
|
|
|
|
for i in $(find boost -type f); do
|
|
|
|
install -p -m 644 $i %{buildroot}%{_includedir}/$i
|
|
|
|
done
|
|
|
|
chmod +x %{buildroot}%{_includedir}/boost/signals/detail/gen_signal_N.pl \
|
|
|
|
%{buildroot}%{_includedir}/boost/pool/detail/pool_construct_simple.sh \
|
|
|
|
%{buildroot}%{_includedir}/boost/pool/detail/pool_construct.sh \
|
|
|
|
%{buildroot}%{_includedir}/boost/function/gen_function_N.pl \
|
|
|
|
%{buildroot}%{_includedir}/boost/function/detail/gen_maybe_include.pl
|
|
|
|
#install the man pages
|
|
|
|
install -d %buildroot/%{_mandir}/man3
|
|
|
|
install -d %buildroot/%{_mandir}/man7
|
2008-10-24 14:59:11 +02:00
|
|
|
pushd boost-1.33.1/doc/man
|
2008-01-30 17:55:59 +01:00
|
|
|
for page in $(find . -type f); do
|
|
|
|
install -p -m 644 $page %buildroot/%{_mandir}/$page
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
#install doc files
|
|
|
|
dos2unix libs/ptr_container/doc/tutorial_example.html \
|
|
|
|
libs/parameter/doc/html/reference.html \
|
|
|
|
libs/parameter/doc/html/index.html \
|
|
|
|
libs/iostreams/doc/tree/tree.js \
|
2008-10-22 17:41:57 +02:00
|
|
|
libs/graph/doc/lengauer_tarjan_dominator.htm \
|
|
|
|
libs/test/test/test_files/errors_handling_test.pattern \
|
|
|
|
libs/test/test/test_files/result_report_test.pattern
|
2008-10-12 00:56:50 +02:00
|
|
|
find . -name \*.htm\* -o -name \*.gif -o -name \*.css -o -name \*.jpg -o -name \*.png -o -name \*.ico | tar --files-from=%{S:3} -cf - --files-from=- | tar -C %{buildroot}%{_docdir}/boost-%{version} -xf -
|
2008-01-30 17:55:59 +01:00
|
|
|
rm -rf %{buildroot}%{_docdir}/boost-%{version}/boost
|
|
|
|
ln -s /usr/include/boost %{buildroot}%{_docdir}/boost-%{version}/
|
|
|
|
ln -s ../LICENSE_1_0.txt %{buildroot}%{_docdir}/boost-%{version}/libs
|
|
|
|
#only for documentation, don't need to be executable
|
|
|
|
find %{buildroot}%{_docdir}/boost-%{version} -name \*.py -exec chmod -x {} +
|
|
|
|
#symlink dupes
|
|
|
|
%if 0%suse_version > 1020
|
|
|
|
%fdupes %buildroot
|
|
|
|
%endif
|
2007-01-16 00:06:09 +01:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%post -n libboost_date_time-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_filesystem-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_iostreams-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_test-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_program_options-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_python-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_regex-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_serialization-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_signals-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_thread-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_math-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
2008-10-23 17:06:19 +02:00
|
|
|
%if %build_mpi
|
2008-10-22 17:41:57 +02:00
|
|
|
|
|
|
|
%post -n libboost_mpi-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
2008-10-23 17:06:19 +02:00
|
|
|
%endif
|
2008-10-22 17:41:57 +02:00
|
|
|
|
|
|
|
%post -n libboost_graph-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_system-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_wave-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libboost_date_time-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libboost_filesystem-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libboost_iostreams-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libboost_test-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libboost_program_options-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libboost_python-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libboost_regex-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libboost_serialization-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libboost_signals-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libboost_thread-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libboost_math-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
2008-10-23 17:06:19 +02:00
|
|
|
%if %build_mpi
|
2008-10-22 17:41:57 +02:00
|
|
|
|
|
|
|
%postun -n libboost_mpi-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
2008-10-23 17:06:19 +02:00
|
|
|
%endif
|
2008-10-22 17:41:57 +02:00
|
|
|
|
|
|
|
%postun -n libboost_graph-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libboost_system-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
2007-01-16 00:06:09 +01:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%postun -n libboost_wave-gcc43-mt-1_36-1_36_0 -p /sbin/ldconfig
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
%files
|
2008-01-30 17:55:59 +01:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-12 00:56:50 +02:00
|
|
|
%doc README
|
|
|
|
|
|
|
|
%files license
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%doc LICENSE_1_0.txt
|
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_date_time-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_date_time*.so.*
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_filesystem-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_filesystem*.so.*
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_graph-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_graph*.so.*
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_iostreams-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_iostreams*.so.*
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_math-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_math_*.so.*
|
2008-10-23 17:06:19 +02:00
|
|
|
%if %build_mpi
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_mpi-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_mpi*.so.*
|
|
|
|
#%{_libdir}/libboost_mpi*.so
|
|
|
|
#%{_libdir}/mpi*.so.%{version}
|
|
|
|
#%{_libdir}/mpi*.so
|
2008-10-23 17:06:19 +02:00
|
|
|
%endif
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_test-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_prg_exec_monitor*.so.*
|
|
|
|
%{_libdir}/libboost_unit_test_framework*.so.*
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_program_options-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_program_options*.so.*
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_python-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_python*.so.*
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_serialization-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_*serialization*.so.*
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_signals-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_signals*.so.*
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_system-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_system*.so.*
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_thread-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_thread*.so.*
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_wave-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_wave*.so.*
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2008-10-22 17:41:57 +02:00
|
|
|
%files -n libboost_regex-gcc43-mt-1_36-1_36_0
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_regex*.so.*
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
%files devel
|
2008-01-30 17:55:59 +01:00
|
|
|
%defattr(-, root, root, -)
|
2007-01-16 00:06:09 +01:00
|
|
|
%{_includedir}/boost
|
2008-01-30 17:55:59 +01:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.a
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
%files doc
|
2008-01-30 17:55:59 +01:00
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%doc %{_docdir}/boost-%{version}
|
|
|
|
%doc %{_mandir}/man3/*.3.gz
|
|
|
|
%doc %{_mandir}/man7/*.7.gz
|
2008-01-18 18:43:35 +01:00
|
|
|
|
2007-03-24 19:51:47 +01:00
|
|
|
%changelog
|
2008-10-24 14:59:11 +02:00
|
|
|
* Thu Oct 23 2008 pth@suse.de
|
|
|
|
- Use a script and a Makefile to generate boost.spec.
|
|
|
|
- Pull in all libraries on update.
|
|
|
|
- Modify README to apply to both openSUSE and SLE.
|
2008-10-23 17:06:19 +02:00
|
|
|
* Thu Oct 23 2008 ro@suse.de
|
|
|
|
- fix regexp for short symlinks
|
|
|
|
- hook all mpi related parts to build_mpi macro
|
|
|
|
- disable build_mpi on ia64 s390 s390x for the moment
|
2008-10-22 17:41:57 +02:00
|
|
|
* Fri Oct 17 2008 pth@suse.de
|
|
|
|
- Using a rpm macros in package name doesn't work with autobuild.
|
|
|
|
* Wed Oct 15 2008 pth@suse.de
|
|
|
|
- Fix naming of library packages to match the horribly broken
|
|
|
|
sonames of the boost libraries.
|
|
|
|
- Add post/postun for all library packages.
|
|
|
|
- Stop rpmlint warning about explicit library dependencies
|
|
|
|
needed to pull in all library subpackages during updates.
|
|
|
|
* Tue Oct 14 2008 pth@suse.de
|
|
|
|
- Fix build failure (README not in build directory).
|
2008-10-12 00:56:50 +02:00
|
|
|
* Tue Sep 02 2008 pth@suse.de
|
|
|
|
- Split off runtime libraries into their own packages.
|
|
|
|
- Update to 1.36.0:
|
|
|
|
New Libraries
|
|
|
|
* Accumulators: Framework for incremental calculation, and
|
|
|
|
collection of statistical accumulators.
|
|
|
|
* Exception: A library for transporting of arbitrary data in
|
|
|
|
exception objects, and transporting of exceptions
|
|
|
|
between threads.
|
|
|
|
* Units: Zero-overhead dimensional analysis and unit/quantity
|
|
|
|
manipulation and conversion.
|
|
|
|
* Unordered: Unordered associative containers.
|
|
|
|
Updated Libraries
|
|
|
|
* Asio:
|
|
|
|
o Added support for serial ports.
|
|
|
|
o Added support for UNIX domain sockets.
|
|
|
|
o Added support for raw sockets and ICMP.
|
|
|
|
o Added wrappers for POSIX stream-oriented file descriptors
|
|
|
|
(excluding regular files).
|
|
|
|
o Added support for reactor-style operations using a new
|
|
|
|
null_buffers type.
|
|
|
|
o Added an iterator type for bytewise traversal of buffer
|
|
|
|
sequences.
|
|
|
|
o Added new read_until() and async_read_until() overloads that
|
|
|
|
take a user-defined function object for locating message
|
|
|
|
boundaries.
|
|
|
|
o Added an experimental two-lock queue (enabled by defining
|
|
|
|
BOOST_ASIO_ENABLE_TWO_LOCK_QUEUE) that may provide better
|
|
|
|
io_service scalability across many processors.
|
|
|
|
o Various fixes, performance improvements, and more complete
|
|
|
|
coverage of the custom memory allocation support.
|
|
|
|
* Assign:list_of() (and its variants) now has overloaded comparison
|
|
|
|
operators. This allows you to write test code such as
|
|
|
|
BOOST_CHECK_EQUAL(my_container,list_of(2)(3)(4)(5));.
|
|
|
|
* Foreach:BOOST_FOREACH macro for easily iterating over the elements
|
|
|
|
of a sequence.
|
|
|
|
o New BOOST_REVERSE_FOREACH macro for iterating over a sequence
|
|
|
|
in reverse.
|
|
|
|
* Function:
|
|
|
|
o Improved allocator support.
|
|
|
|
* Hash: Minor updates and fixes, for more info see the change log.
|
|
|
|
* Interprocess:
|
|
|
|
o Added anonymous shared memory for UNIX systems.
|
|
|
|
o Fixed missing move semantics on managed memory classes.
|
|
|
|
o Added copy_on_write and open_read_only options for shared
|
|
|
|
memory and mapped file managed classes.
|
|
|
|
o shared_ptr is movable and supports aliasing.
|
|
|
|
* Intrusive:
|
|
|
|
o Added linear<> and cache_last<> options to singly linked lists.
|
|
|
|
o Added optimize_multikey<> option to unordered container hooks.
|
|
|
|
o Optimized unordered containers when store_hash option is used
|
|
|
|
in the hook.
|
|
|
|
o Implementation changed to avoid explicit use of try-catch
|
|
|
|
blocks and be compilable with exceptions disabled.
|
|
|
|
* Math:
|
|
|
|
o Added new non-central Chi-Square, Beta, F and T distributions.
|
|
|
|
o Added Exponential Integral and Zeta special functions.
|
|
|
|
o Added Rounding, Truncation, and Unit-in-the-last-place
|
|
|
|
functions.
|
|
|
|
o Added support for compile time powers of a runtime base.
|
|
|
|
o Added a few SSE2 based optimisations for the Lanczos
|
|
|
|
approximations.
|
|
|
|
* MPI:
|
|
|
|
o Added support for non-blocking operations in Python
|
|
|
|
o Added support for graph topologies.
|
|
|
|
* Multi-index Containers: Minor additions and maintenance fixes.
|
|
|
|
Consult the library release notes for
|
|
|
|
further information.
|
|
|
|
* PtrContainer: Support for a few more containers, and addition
|
|
|
|
of insert iterators. For details see upgrading
|
|
|
|
details.
|
|
|
|
* Spirit: Integrated the "Classic" Spirit V1.8.x code base with
|
|
|
|
Spirit V2, "The New Generation". See Change Log.
|
|
|
|
* Thread:
|
|
|
|
o New generic lock and try_lock functions for locking multiple
|
|
|
|
mutexes at once.
|
|
|
|
o Rvalue reference support for move semantics where the
|
|
|
|
compilers supports it.
|
|
|
|
o A few bugs fixed and missing functions added (including
|
|
|
|
the serious win32 condition variable bug).
|
|
|
|
o scoped_try_lock types are now backwards-compatible with
|
|
|
|
Boost 1.34.0 and previous releases.
|
|
|
|
o Support for passing function arguments to the thread
|
|
|
|
function by supplying additional arguments to the thread
|
|
|
|
constructor.
|
|
|
|
o Backwards-compatibility overloads added for timed_lock and
|
|
|
|
timed_wait functions to allow use of xtime for timeouts.
|
|
|
|
* Wave:
|
|
|
|
o Wave V2.0 is a new major release introducing some breaking
|
|
|
|
API changes, preventing it to be used with Boost versions
|
|
|
|
earlier than V1.36.0. Mainly, the API and hook interface
|
|
|
|
have been streamlined for more consistency.
|
|
|
|
o Fixed a couple of bugs, improved regression test system to
|
|
|
|
include testing of the preporcessing hooks interface
|
|
|
|
(for details see: Changelog).
|
|
|
|
* Xpressive:
|
|
|
|
o Regular expressions that can be written as strings or as
|
|
|
|
expression templates, and that can refer to each other and
|
|
|
|
themselves recursively with the power of context-free
|
|
|
|
grammars.
|
|
|
|
o skip() for specifying which parts of the input sequence
|
|
|
|
to ignore when matching it against a regex.
|
|
|
|
o regex_replace() accepts formatter objects and formatter
|
|
|
|
expressions in addition to format strings.
|
|
|
|
o Range-based regex_replace() algorithm.
|
|
|
|
o Fix crash when semantic actions are placed in look-aheads,
|
|
|
|
look-behinds or independent sub-expressions.
|
2008-06-26 17:50:19 +02:00
|
|
|
* Mon Jun 23 2008 pth@suse.de
|
|
|
|
- Qualify name to avoid clash (bnc#401964)
|
2008-06-23 02:47:50 +02:00
|
|
|
* Fri Jun 20 2008 schwab@suse.de
|
|
|
|
- Fix ppc atomic ops.
|
2008-04-10 13:09:23 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
2008-01-30 17:55:59 +01:00
|
|
|
* Mon Jan 28 2008 schwab@suse.de
|
|
|
|
- Remove obsolete patch again.
|
|
|
|
* Fri Jan 18 2008 pth@suse.de
|
|
|
|
- Fix CVE-2008-0171 and CVE-2008-0171 (bugzilla #353180)
|
|
|
|
- Qualify special_values_parser (bugzilla #353897)
|
|
|
|
* Thu Jan 17 2008 schwab@suse.de
|
|
|
|
- Remove obsolete patch.
|
|
|
|
* Mon Jan 14 2008 pth@suse.de
|
|
|
|
- Move 1.34.1 from BS to Autobuild
|
|
|
|
- Add patch for critical bug in Boost.Function.
|
|
|
|
- Include C headers where necessary.
|
|
|
|
- Make the tests for ULONG_MAX more readable 64.
|
2008-01-18 18:43:35 +01:00
|
|
|
* Wed Oct 24 2007 rguenther@suse.de
|
2007-10-25 01:48:24 +02:00
|
|
|
- Use -fpermissive in addition to -O2 for building.
|
|
|
|
- Add patch to enable building wave with GCC 4.3.
|
2008-01-30 17:55:59 +01:00
|
|
|
* Mon Aug 20 2007 pth@suse.de
|
|
|
|
- Only use fdupes from 10.3 onwards.
|
|
|
|
* Sat Aug 11 2007 aj@suse.de
|
|
|
|
- Fix spec file to build again.
|
|
|
|
* Thu Aug 09 2007 pth@suse.de
|
|
|
|
- Add man pages (made for 1.33.1).
|
|
|
|
- Package html documentation differently.
|
|
|
|
- Check all links and add missing files that do exist.
|
|
|
|
- Use %%fdupes
|
|
|
|
- Add patch by rschiele@gmail.com to pass compiler flags into
|
|
|
|
Boost.build.
|
|
|
|
- Update to 1.34.1 and use .spec file from bkoz@redhat.com as
|
|
|
|
a basis.
|
|
|
|
Changes 1.33.1 -> 1.34.0:
|
|
|
|
New Libraries:
|
|
|
|
* Foreach Library: BOOST_FOREACH macro for easily iterating over
|
|
|
|
the elements of a sequence,
|
|
|
|
* Statechart Library: Arbitrarily complex finite state machines
|
|
|
|
can be implemented in easily readable and
|
|
|
|
maintainable C++ code,
|
|
|
|
* TR1 Library: An implementation of the C++ Technical Report on Standard
|
|
|
|
Library Extensions, from John Maddock. This library does
|
|
|
|
not itself implement the TR1 components, rather it's a
|
|
|
|
thin wrapper that will include your standard library's
|
|
|
|
TR1 implementation (if it has one), otherwise it will
|
|
|
|
include the Boost Library equivalents, and import them
|
|
|
|
into namespace std::tr1. Highlights include: Reference
|
|
|
|
Wrappers, Smart Pointers, result_of, Function Object
|
|
|
|
Binders, Polymorphic function wrappers, Type Traits,
|
|
|
|
Random Number Generators and Distributions, Tuples, Fixed
|
|
|
|
Size Array, Hash Function Objects, Regular Expressions,
|
|
|
|
and Complex Number Additional Algorithms.
|
|
|
|
* Typeof Library: Typeof operator emulation, from Arkadiy Vertleyb
|
|
|
|
and Peder Holt.
|
|
|
|
* Xpressive Library: Regular expressions that can be written as strings
|
|
|
|
or as expression templates, and that can refer to
|
|
|
|
each other and themselves recursively with the
|
|
|
|
power of context-free grammars, from Eric Niebler.
|
|
|
|
Updated Libraries:
|
|
|
|
* Assign Library:
|
|
|
|
o Support for ptr_map<key,T> via the new function ptr_map_insert()
|
|
|
|
o Support for initialization of Pointer Containers when the
|
|
|
|
containers hold pointers to an abstract base class.
|
|
|
|
* Date_time library:
|
|
|
|
o Support for new US/Canada timezone rules and other bug fixes.
|
|
|
|
See Change History for details.
|
|
|
|
* Filesystem Library: Major upgrade in preparation for submission to the
|
|
|
|
C++ Standards Committee for TR2. Changes include:
|
|
|
|
o Internationalization, provided by class templates basic_path,
|
|
|
|
basic_filesystem_error, basic_directory_iterator, and
|
|
|
|
basic_directory_entry.
|
|
|
|
o Simplification of the path interface by eliminating special
|
|
|
|
constructors to identify native formats.
|
|
|
|
o Rationalization of predicate function design, including the
|
|
|
|
addition of several new functions.
|
|
|
|
o Clearer specification by reference to POSIX, the ISO/IEEE Single
|
|
|
|
Unix Standard, with provisions for Windows and other operating
|
|
|
|
systems.
|
|
|
|
o Preservation of existing user code whenever possible.
|
|
|
|
o More efficient directory iteration.
|
|
|
|
o Addition of a recursive directory iterator.
|
|
|
|
* Function Library: Boost.Function now implements a small buffer
|
|
|
|
optimization, which can drastically improve the
|
|
|
|
performance when copying or constructing
|
|
|
|
Boost.Function objects storing small function
|
|
|
|
objects. For instance, bind(&X:foo, &x, _1, _2)
|
|
|
|
requires no heap allocation when placed into a
|
|
|
|
Boost.Function object.
|
|
|
|
* Functional/Hash Library
|
|
|
|
o Use declarations for standard classes, so that the library
|
|
|
|
doesn't need to include all of their headers
|
|
|
|
o Deprecated the <boost/functional/hash/*.hpp> headers.
|
|
|
|
o Add support for the BOOST_HASH_NO_EXTENSIONS macro, which
|
|
|
|
disables the extensions to TR1
|
|
|
|
o Minor improvements to the hash functions for floating point numbers.
|
|
|
|
* Graph Library:
|
|
|
|
o edmonds_maximum_cardinality_matching,
|
|
|
|
o lengauer_tarjan_dominator_tree,
|
|
|
|
o compressed_sparse_row_graph,
|
|
|
|
o sorted_erdos_renyi_iterator,
|
|
|
|
o biconnected_components now supports a visitor and named
|
|
|
|
parameters,
|
|
|
|
o adjacency_matrix now models the Bidirectional Graph concept.
|
|
|
|
o dijkstra_shortest_paths now calls vis.initialize_vertex for each
|
|
|
|
vertex during initialization.
|
|
|
|
o Note: the name of the compiled library for the GraphViz reader has
|
|
|
|
changed to boost_graph (from bgl-viz) to match Boost conventions.
|
|
|
|
o See the complete revision history for more information.
|
|
|
|
* MultiArray Library: Boost.MultiArray now by default provides
|
|
|
|
range-checking for operator[]. Range checking can
|
|
|
|
be disabled by defining the macro
|
|
|
|
BOOST_DISABLE_ASSERTS before including
|
|
|
|
multi_array.hpp. A bug in multi_array::resize()
|
|
|
|
related to storage orders was fixed.
|
|
|
|
* Multi-index Containers Library:
|
|
|
|
o New random access indices.
|
|
|
|
o Non key-based indices feature new rearrange facilities.
|
|
|
|
o This version also includes a number of optimizations and usage
|
|
|
|
improvements. For a complete list of changes, see the library
|
|
|
|
release notes.
|
|
|
|
* Optional Library:
|
|
|
|
o boost::none_t and boost::none now added to Optional's
|
|
|
|
documentation
|
|
|
|
o Relational operators now directly support arguments of type
|
|
|
|
'T' and 'none_t'
|
|
|
|
o operator->() now also works with reference types.
|
|
|
|
o Helper functions make_optional(val), make_optional(cond,val)
|
|
|
|
and get_optional_value_or(opt,alternative_value) added.
|
|
|
|
o Constructor taking a boolean condition (as well as a value)
|
|
|
|
added.
|
|
|
|
o Member function get_value_or(alternative_value) added.
|
|
|
|
o Incompatbility bug with mpl::apply<> fixed.
|
|
|
|
o Converting assignment bug with uninitialized lvalues fixed.
|
|
|
|
* Parameter Library:
|
|
|
|
o Every ArgumentPack is now a valid MPL Forward Sequence.
|
|
|
|
o Support for unnamed arguments (those whose keyword is
|
|
|
|
deduced from their types) is added.
|
|
|
|
o Support for named and unnamed template arguments is added.
|
|
|
|
o New overload generation macros solve the forwarding problem
|
|
|
|
directly.
|
|
|
|
o See also the Python library changes, below.
|
|
|
|
* Pointer Container Library:
|
|
|
|
o Support for serialization via Boost.Serialization.
|
|
|
|
o Exceptions can be disabled by defining the macro
|
|
|
|
BOOST_PTR_CONTAINER_NO_EXCEPTIONS before including any header.
|
|
|
|
This macro is defined by default if BOOST_NO_EXCEPTIONS is defined.
|
|
|
|
o Additional std::auto_ptr<T> overloads added s.t. one can also
|
|
|
|
pass std::auto_ptr<T> instead of only T* arguments to member
|
|
|
|
functions.
|
|
|
|
o transfer() now has weaker requirements s.t. one can transfer
|
|
|
|
objects from ptr_container<Derived> to ptr_container<Base>,
|
|
|
|
* Python Library:
|
|
|
|
o Boost.Python now automatically appends C++ signatures to
|
|
|
|
docstrings. The new docstring_options.hpp header is available to
|
|
|
|
control the content of docstrings.
|
|
|
|
o stl_input_iterator, for turning a Python iterable object into an
|
|
|
|
STL input iterator, from Eric Niebler.
|
|
|
|
o Support for void* conversions is added.
|
|
|
|
o Integrated support for wrapping C++ functions built with the
|
|
|
|
parameter library; keyword names are automatically known to
|
|
|
|
docsstrings.
|
|
|
|
o Enhancements to the API for better embedding support
|
|
|
|
(boost::python::import(), boost::python::exec(), and
|
|
|
|
boost::python::exec_file()).
|
|
|
|
* Signals Library: More improvements to signal invocation performance.
|
|
|
|
* Smart Pointers Library:
|
|
|
|
o Allocator support as proposed in N1851 (162 Kb PDF).
|
|
|
|
o pointer_cast and pointer_to_other utilities to allow
|
|
|
|
pointer-independent code,
|
|
|
|
* String Algorithm Library:
|
|
|
|
o lexicographical_compare
|
|
|
|
o join
|
|
|
|
o New comparison predicates is_less, is_not_greater.
|
|
|
|
o Negative indexes support (like Perl) in various algorihtms
|
|
|
|
(*_head/tail, *_nth).
|
|
|
|
* Wave Library:
|
|
|
|
o Wave now correctly recognizes pp-number tokens as mandated by
|
|
|
|
the C++ Standard, which are converted to C++ tokens right before
|
|
|
|
they are returned from the library.
|
|
|
|
o Several new preprocessing hooks have been added. For a complete
|
|
|
|
description please refer to the related documentation page: The
|
|
|
|
Context Policy.
|
|
|
|
o Shared library (dll) support has been added for the generated
|
|
|
|
Wave libraries.
|
|
|
|
o The overall error handling has been improved. It is now possible
|
|
|
|
to recover and continue after an error or a warning was issued.
|
|
|
|
o Support for optional comment and/or full whitespace
|
|
|
|
preservation in the generated output stream has been added.
|
|
|
|
o The Wave library now performs automatic include guard
|
|
|
|
detection to avoid accessing header files more than once, if
|
|
|
|
appropriate.
|
|
|
|
o Full interactive mode has been added to the Wave tool. Now the
|
|
|
|
Wave tool can be used just like Python or Perl for instance to
|
|
|
|
interactively try out your BOOST_PP macros. Additionally it is
|
|
|
|
now possible to load and save the current state of an
|
|
|
|
interactive session (macro tables et.al.).
|
|
|
|
o The overall performance has been improved by upto 40-60%%,
|
|
|
|
depending on the concrete files to process.
|
|
|
|
o Support for new pragmas has been added allowing to control
|
|
|
|
certain library features from inside the preprocessed sources
|
|
|
|
(partial output redirection, control of generated whitespace
|
|
|
|
and #line directives).
|
|
|
|
o Optional support for #pragma message "..." has been added.
|
|
|
|
o This version also includes a number of bug fixes and usage
|
|
|
|
improvements. For a complete list of changes, see the
|
|
|
|
libraries change log.
|
|
|
|
Fixes in 1.34.1:
|
|
|
|
* Fixes for build on IBM pSeries for AIX and Linux
|
|
|
|
* gcc-4.2 atomicity.h location fixed
|
|
|
|
* [iostreams] zlib_compressor memory leaks in 1.34.0
|
|
|
|
* filtering ostream problem... pushing zlib_compressor works in 1_33,
|
|
|
|
dies in 1_34
|
|
|
|
* [doc] The "Getting Started" page mentions incorrect library names
|
|
|
|
* [filesystem] missing documentation or bad links
|
|
|
|
* add missing docs for boost.python API enhancements.
|
|
|
|
* Entire iostreams library outdated in 1.34.0
|
|
|
|
* numeric_limits specializations in limits.hpp are incorrect
|
|
|
|
* Updated ICU support in Boost.Regex
|
|
|
|
* Make boost.python compatible with python 2.5
|
|
|
|
* ::boost::detail::empty_base improved
|
|
|
|
* Fix failing uild of libs/python/example/quickstart.
|
|
|
|
* Fix problems when building Python modules on boost 1.34.0
|
|
|
|
* Patches to allow boost 1.34.0 to compile with stricter warning
|
|
|
|
checking under mac OS and gcc
|
|
|
|
* Unable to compile Python example, tutorial, or quickstart with
|
|
|
|
Boost 1_34_0
|
|
|
|
* Improper overflow handling in shortest paths algorithms
|
|
|
|
* Multiple include paths for Python
|
|
|
|
* Add documentation for the iter_find/split algorithms
|
|
|
|
* regex_token_iterator crashes
|
|
|
|
* regex_error exception when quantifying some non-capturing groups
|
|
|
|
* read_write_mutex docs don't clearly specify that the functionality
|
|
|
|
is not present
|
|
|
|
- Remove patches not needed anymore.
|
|
|
|
- Replace file dupes by symlinks.
|
|
|
|
- Add rpmlintrc to suppress rpmlint warnings for things that won't be
|
|
|
|
changed.
|
2008-01-18 18:43:35 +01:00
|
|
|
* Sun Jul 15 2007 schwab@suse.de
|
2007-07-16 10:16:23 +02:00
|
|
|
- Fix reference to atomicity.h.
|
2008-01-18 18:43:35 +01:00
|
|
|
* Sat Mar 24 2007 aj@suse.de
|
2007-03-24 19:51:47 +01:00
|
|
|
- Add libbz2-devel to BuildRequires.
|
2008-01-18 18:43:35 +01:00
|
|
|
* Fri Sep 22 2006 pth@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Apply patch from community to build with Python 2.5
|
2008-01-18 18:43:35 +01:00
|
|
|
* Fri Jul 14 2006 sf@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- fixed wrong usage of visit_each() (Bug #192116 )
|
2008-01-18 18:43:35 +01:00
|
|
|
* Thu Jul 13 2006 sf@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- fixed link creation to libboost_thread.so, using %%_lib instead
|
|
|
|
of lib
|
2008-01-18 18:43:35 +01:00
|
|
|
* Mon Jun 19 2006 jw@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- added a libboost_thread.so as a symlink to libboost_thread-mt.so
|
2008-01-18 18:43:35 +01:00
|
|
|
* Tue Apr 04 2006 pth@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Add libboost_wave.a to file list
|
2008-01-18 18:43:35 +01:00
|
|
|
* Tue Apr 04 2006 pth@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Use explicit file names instead of wildcards to detect libraries
|
|
|
|
that weren't built.
|
2008-01-18 18:43:35 +01:00
|
|
|
* Wed Feb 08 2006 schwab@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Fix broken assembler constraints [#148429].
|
2008-01-18 18:43:35 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-01-30 17:55:59 +01:00
|
|
|
* Wed Jan 18 2006 schwab@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Don't strip binaries.
|
2008-01-18 18:43:35 +01:00
|
|
|
* Wed Dec 07 2005 pth@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Fix cases of type-punning in boost::python
|
|
|
|
- Compile without -fno-strict-aliasing again.
|
|
|
|
- Remove unnecessary type attributes in forward declarations.
|
2008-01-18 18:43:35 +01:00
|
|
|
* Tue Dec 06 2005 pth@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Update to 1.33.1.
|
|
|
|
- Fix use of uninitialized variable.
|
|
|
|
- Compile with -fno-strict-aliasing.
|
|
|
|
- Update NEWS file
|
2008-01-18 18:43:35 +01:00
|
|
|
* Thu Aug 25 2005 pth@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Incorporate fixes that are bound to be in 1.33.1
|
|
|
|
- Build boost.regex with unicode support.
|
2008-01-18 18:43:35 +01:00
|
|
|
* Fri Aug 19 2005 pth@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Add a NEWS file.
|
2008-01-18 18:43:35 +01:00
|
|
|
* Thu Aug 18 2005 pth@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Update to 1.33.0 with 5 new libraries. See NEWS for specifics.
|
|
|
|
- Fix use of uninitialized class member (matz@suse.de)
|
|
|
|
- Compile with -O2 instead of -O3
|
|
|
|
- Make build process use %%optflags
|
2008-01-18 18:43:35 +01:00
|
|
|
* Thu Mar 10 2005 pth@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Update to 1.32.0
|
2008-01-18 18:43:35 +01:00
|
|
|
* Fri May 07 2004 pth@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Add convenience symlinks (#38491)
|
2008-01-18 18:43:35 +01:00
|
|
|
* Sun Apr 25 2004 coolo@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- build with several jobs
|
2008-01-18 18:43:35 +01:00
|
|
|
* Fri Mar 05 2004 pth@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Update to 1.31.0.
|
|
|
|
- Make building boost work on Linux platforms where gcc does not
|
|
|
|
define _REENTRANT when passed -pthread. Patch was done by
|
|
|
|
Robert Schiele.
|
2008-01-18 18:43:35 +01:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- add %%run_ldconfig
|
2008-01-18 18:43:35 +01:00
|
|
|
* Wed Aug 20 2003 pthomas@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Update to 1.30.2, a bugfix release
|
2008-01-18 18:43:35 +01:00
|
|
|
* Wed Jul 23 2003 pthomas@suse.de
|
2007-01-16 00:06:09 +01:00
|
|
|
- Initial package, based on the work by Robert Schiele.
|
|
|
|
- Fix building with Python 2.3
|