boost/boost.spec

2186 lines
76 KiB
RPMSpec
Raw Normal View History

#
# spec file for package boost
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define ver 1.63.0
%define file_version 1_63_0
%define docs_version 1.56.0
%define short_version 1_56
%define lib_appendix 1_63_0
%bcond_with build_docs
%bcond_without package_pdf
%bcond_without build_quickbook
%define my_docdir %{_docdir}/boost-%{version}
# Build with OpenMPI
%ifarch ia64 hppa
%bcond_with build_mpi
%else
%bcond_without build_mpi
%endif
%if 0%{?suse_version} < 1200
%bcond_with python3
%else
%bcond_without python3
%endif
# context hasn't been ported to most architectures yet
%ifarch %ix86 x86_64 %arm aarch64 mips ppc ppc64 ppc64le
%bcond_without build_context
%else
%bcond_with build_context
%endif
# needs newer *default* GCC to compile runtime
%if %{with build_context} && 0%{?suse_version} > 1320
%bcond_without boost_fiber
%else
%bcond_with boost_fiber
%endif
#%ifarch hppa
#%bcond_with long_double
#%else
#%bcond_without long_double
#%endif
Name: boost
%define package_name boost_1_63
Version: 1.63.0
Release: 0
Summary: Boost C++ Libraries
License: BSL-1.0
Group: Development/Libraries/C and C++
Url: http://www.boost.org
Source0: http://downloads.sourceforge.net/project/boost/boost/%{version}/boost_%{file_version}.tar.bz2
Source1: boost-rpmlintrc
Source3: http://downloads.sourceforge.net/project/boost/boost-docs/%{docs_version}/boost_%{short_version}_pdf.tar.bz2
Source4: existing_extra_docs
#Source5: NEWS
Source10: exception.objdump
Source11: __init__.py
Source100: baselibs.conf
Source101: symbol_diff.sh
Source102: README.boost-devel
Patch1: boost-thread.patch
Patch2: boost-no_type_punning.patch
Patch3: boost-no_segfault_in_Regex_filter.patch
Patch4: boost-pool_check_overflow.patch
Patch5: boost-strict_aliasing.patch
Patch6: boost-use_std_xml_catalog.patch
Patch7: boost-rpmoptflags-only.patch
Patch9: boost-aarch64-flags.patch
Patch10: boost-disable-pch-on-aarch64.patch
Patch13: boost-visibility.patch
Patch14: boost-1.57.0-python-libpython_dep.patch
Patch15: boost-1.57.0-python-abi_letters.patch
Patch16: boost-1.55.0-python-test-PyImport_AppendInittab.patch
Patch17: python_mpi.patch
Patch18: dynamic_linking.patch
Patch100: gcc_path.patch
BuildRequires: chrpath
BuildRequires: dos2unix
BuildRequires: fdupes
%if %{with boost_fiber}
BuildRequires: gcc-c++ > 5
%else
BuildRequires: gcc-c++
%endif
%if 0%{?suse_version} <= 1320
# boost requires quadmath.h
BuildRequires: gcc-fortran
%endif
BuildRequires: libbz2-devel
BuildRequires: libexpat-devel
BuildRequires: libicu-devel
BuildRequires: python-devel
%if %{with python3}
BuildRequires: python3-devel
%endif
#!BuildIgnore: python
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with build_mpi}
BuildRequires: openmpi-devel
%endif
%if %{with build_docs}
BuildRequires: docbook
BuildRequires: docbook-xsl-stylesheets
BuildRequires: doxygen
BuildRequires: libxslt-tools
BuildRequires: texlive-latex
%endif
%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.
This package is mainly needed for updating from a prior version, the
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.
%package -n %{package_name}-devel
Summary: Development package for Boost C++
Group: Development/Libraries/C and C++
Requires: libboost_atomic%{lib_appendix}-devel
Requires: libboost_chrono%{lib_appendix}-devel
Requires: libboost_container%{lib_appendix}-devel
%if %{with build_context}
Requires: libboost_context%{lib_appendix}-devel
Requires: libboost_coroutine%{lib_appendix}-devel
%endif
Requires: libboost_date_time%{lib_appendix}-devel
%if %{with boost_fiber}
Requires: libboost_fiber%{lib_appendix}-devel
%endif
Requires: libboost_filesystem%{lib_appendix}-devel
Requires: libboost_graph%{lib_appendix}-devel
Requires: libboost_iostreams%{lib_appendix}-devel
Requires: libboost_locale%{lib_appendix}-devel
Requires: libboost_log%{lib_appendix}-devel
Requires: libboost_math%{lib_appendix}-devel
%if %{with build_mpi}
Requires: libboost_graph_parallel%{lib_appendix}-devel
Requires: libboost_mpi%{lib_appendix}-devel
%endif
Requires: libboost_program_options%{lib_appendix}-devel
Requires: libboost_python-py2_7-%{lib_appendix}-devel
%if %{with python3}
Requires: libboost_python-py3-%{lib_appendix}-devel
%endif
Requires: libboost_random%{lib_appendix}-devel
Requires: libboost_regex%{lib_appendix}-devel
Requires: libboost_serialization%{lib_appendix}-devel
Requires: libboost_signals%{lib_appendix}-devel
Requires: libboost_system%{lib_appendix}-devel
Requires: libboost_test%{lib_appendix}-devel
Requires: libboost_thread%{lib_appendix}-devel
Requires: libboost_timer%{lib_appendix}-devel
Requires: libboost_type_erasure%{lib_appendix}-devel
Requires: libboost_wave%{lib_appendix}-devel
Requires: libstdc++-devel
Provides: boost-devel = %version
Conflicts: otherproviders(boost-devel)
%description -n %{package_name}-devel
This package contains all that is needed to develop/compile
applications that use the Boost C++ libraries. For documentation see
the documentation packages (html, man or pdf).
%package -n libboost_headers%{lib_appendix}-devel
Summary: Development headers for Boost
Group: Development/Libraries/C and C++
Requires: libstdc++-devel
Provides: libboost_headers-devel = %{version}
Conflicts: otherproviders(libboost_headers-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_headers%{lib_appendix}-devel
A collection of header-only libraries for Boost.
%package -n %{package_name}-jam
Summary: A Boost Make Replacement
Group: Development/Tools/Building
Provides: boost-jam
Conflicts: otherproviders(boost-jam)
%description -n %{package_name}-jam
Boost Jam is a build tool based on FTJam, which in turn is based on
Perforce Jam. It contains significant improvements made to facilitate
its use in the Boost Build System.
%package -n boost-license%{lib_appendix}
Summary: Boost License
Group: Development/Libraries/C and C++
Provides: boost-license = %{version}-%{release}
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description -n boost-license%{lib_appendix}
This package contains the license boost is provided under.
%package -n %{package_name}-doc-html
Summary: HTML documentation for the Boost C++ Libraries
Group: Development/Libraries/C and C++
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description -n %{package_name}-doc-html
This package contains the documentation of the boost dynamic libraries
in HTML format.
%if %{with build_docs}
%package doc-man
Summary: Man documentation for the Boost C++ Libraries
Group: Development/Libraries/C and C++
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description doc-man
This package contains the documentation of the boost dynamic libraries
as man pages.
%endif
%if %{with package_pdf}
%package -n %{package_name}-doc-pdf
Summary: PDF documentation for the Boost C++ Libraries
Group: Development/Libraries/C and C++
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description -n %{package_name}-doc-pdf
This package contains the documentation of the boost dynamic libraries
in PDF format.
%endif
%package -n libboost_atomic%{lib_appendix}
Summary: Boost.Atomic runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_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_atomic%{lib_appendix}-devel
Summary: Development headers for Boost.Atomic
Group: Development/Libraries/C and C++
Requires: libboost_atomic%{lib_appendix} = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libstdc++-devel
Provides: libboost_atomic-devel = %{version}
Conflicts: otherproviders(libboost_atomic-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_atomic%{lib_appendix}-devel
Development 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}
Summary: Boost.Container runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_container%{lib_appendix}
This package contains the Boost.Container runtime library.
%package -n libboost_container%{lib_appendix}-devel
Summary: Development headers for Boost.Container
Group: Development/Libraries/C and C++
Requires: libboost_container%{lib_appendix} = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libstdc++-devel
Provides: libboost_container-devel = %{version}
Conflicts: otherproviders(libboost_container-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_container%{lib_appendix}-devel
Development header files and libraries for Boost.Container.
Boost.Container library implements several well-known containers,
including STL containers. The aim of the library is to offers advanced
features not present in standard containers or to offer the latest
standard draft features for compilers that don't comply with the latest
C++ standard.
%package -n libboost_context%{lib_appendix}
Summary: Boost.Context runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_context%{lib_appendix}
Runtime support for Boost.Context, a library that providing cooperative
multitasking support.
%package -n libboost_context%{lib_appendix}-devel
Summary: Development headers for Boost.Context
Group: Development/Libraries/C and C++
Requires: libboost_context%{lib_appendix} = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libstdc++-devel
Provides: libboost_context-devel = %{version}
Conflicts: otherproviders(libboost_context-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_context%{lib_appendix}-devel
Development headers and libraries for Boost.Context, a library that
providing cooperative multitasking support.
%package -n libboost_coroutine%{lib_appendix}
Summary: Boost::Coroutine runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_coroutine%{lib_appendix}
This package contains the Boost Coroutine runtime library.
%package -n libboost_coroutine%{lib_appendix}-devel
Summary: Development headers for Boost.Coroutine
Group: Development/Libraries/C and C++
Requires: libboost_context%{lib_appendix}-devel = %{version}
Requires: libboost_coroutine%{lib_appendix} = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libstdc++-devel
Provides: libboost_coroutine-devel = %{version}
Conflicts: otherproviders(libboost_coroutine-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_coroutine%{lib_appendix}-devel
This package provides headers for Boost.Coroutine libraries.
Boost.Coroutine2 provides templates for generalized subroutines which
allow suspending and resuming execution at certain locations.
%package -n libboost_date_time%{lib_appendix}
Summary: Boost.DateTime runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_date_time%{lib_appendix}
This package contains the Boost Date.DateTime runtime libraries.
%package -n libboost_date_time%{lib_appendix}-devel
Summary: Development headers for Boost.DateTime library
Group: Development/Libraries/C and C++
Requires: libboost_date_time%{lib_appendix} = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Recommends: libboost_serialization%{lib_appendix}-devel = %{version}
Requires: libstdc++-devel
Provides: libboost_date_time-devel = %{version}
Conflicts: otherproviders(libboost_date_time-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_date_time%{lib_appendix}-devel
This package contains development header files and libraries for
Boost.DateTime library.
%package -n libboost_fiber%{lib_appendix}
Summary: Boost.Fiber runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_fiber%{lib_appendix}
This package contains Boost.Fiber runtime library.
%package -n libboost_fiber%{lib_appendix}-devel
Summary: Development headers for Boost.Fiber library
Group: Development/Libraries/C and C++
Requires: libboost_context%{lib_appendix}-devel = %{version}
Requires: libboost_fiber%{lib_appendix} = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libstdc++-devel
Provides: libboost_fiber-devel = %{version}
Conflicts: otherproviders(libboost_fiber-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_fiber%{lib_appendix}-devel
This package contains development header files and libraries for
Boost.Fiber library. Boost.Fiber is a cooperative multi-tasking
userland threading library.
%package -n libboost_filesystem%{lib_appendix}
Summary: Boost.Filesystem Runtime Libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_filesystem%{lib_appendix}
This package contains the Boost.Filesystem library.
%package -n libboost_filesystem%{lib_appendix}-devel
Summary: Development headers for Boost.Filesystem library
Group: Development/Libraries/C and C++
Requires: libboost_filesystem%{lib_appendix} = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_system%{lib_appendix}-devel = %{version}
Requires: libstdc++-devel
Provides: libboost_filesystem-devel = %{version}
Conflicts: otherproviders(libboost_filesystem-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_filesystem%{lib_appendix}-devel
Development headers for Boost.Filesystem library, a library providing
facilities to manipulate files and directories, and the paths that
identify them.
%package -n libboost_graph%{lib_appendix}
Summary: Boost.Graph runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_graph%{lib_appendix}
This package contains the Boost.Graph runtime library.
%package -n libboost_graph%{lib_appendix}-devel
Summary: Development headers for Boost.Graph library
Group: Development/Libraries/C and C++
Requires: libboost_graph%{lib_appendix} = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
## FIXME:!!!! need better list of requirements here
Requires: libstdc++-devel
Provides: libboost_graph-devel = %{version}
Conflicts: otherproviders(libboost_graph-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_graph%{lib_appendix}-devel
Development headers for Boost.Graph library. The BGL algorithms consist
of a core set of algorithm patterns and a larger set of graph
algorithms. The core algorithm patterns are Breadth First Search, Depth
First Search, and Uniform Cost Search.
%package -n libboost_iostreams%{lib_appendix}
Summary: Boost.IOStreams Runtime Libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_iostreams%{lib_appendix}
This package contains the Boost.IOStreams Runtime libraries.
%package -n libboost_iostreams%{lib_appendix}-devel
Summary: Development headers for Boost.IOStreans library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_iostreams%{lib_appendix} = %{version}
Provides: libboost_iostreams-devel = %{version}
Conflicts: otherproviders(libboost_iostreams-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_iostreams%{lib_appendix}-devel
Boost.IOStreams provides a framework for defining streams, stream
buffers and IO filters
%package -n libboost_log%{lib_appendix}
Summary: Boost.Log runtime Run-Time library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_log%{lib_appendix}
This package contains runtime library for Boost.Log.
%package -n libboost_log%{lib_appendix}-devel
Summary: Development headers for Boost.Log library
Group: Development/Libraries/C and C++
Requires: libboost_date_time%{lib_appendix}-devel = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_log%{lib_appendix} = %{version}
Requires: libboost_system%{lib_appendix} = %{version}
Requires: libboost_thread%{lib_appendix} = %{version}
Provides: libboost_log-devel = %{version}
Conflicts: otherproviders(libboost_log-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_log%{lib_appendix}-devel
Development headers for Boost.Log library which 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}
Summary: Boost.Math runtime libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_math%{lib_appendix}
This package contains the Boost.Math Runtime libraries.
%package -n libboost_math%{lib_appendix}-devel
Summary: Development headers for Boost.Math libraries
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_math%{lib_appendix} = %{version}
Provides: libboost_math-devel = %{version}
Conflicts: otherproviders(libboost_math-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_math%{lib_appendix}-devel
Development headers for Boost.Math* boost libraries.
%if %{with build_mpi}
%package -n libboost_mpi%{lib_appendix}
Summary: Boost.MPI runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_mpi%{lib_appendix}
This package contains the Boost.MPI runtime library.
%package -n libboost_mpi%{lib_appendix}-devel
Summary: Development headers for Boost.MPI library
Group: Development/Libraries/C and C++
Requires: libboost_graph%{lib_appendix}-devel
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_python-py2_7-%{lib_appendix}-devel
%if %{with python3}
Requires: libboost_python-py3-%{lib_appendix}-devel
%endif
Requires: libboost_mpi%{lib_appendix} = %{version}
Requires: libboost_serialization%{lib_appendix}-devel
Requires: openmpi-devel
Provides: libboost_mpi-devel = %{version}
Conflicts: otherproviders(libboost_mpi-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_mpi%{lib_appendix}-devel
Development headers for Boost.MPI boost library
%package -n libboost_graph_parallel%{lib_appendix}
Summary: Boost.Graph.Distributed runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_graph_parallel%{lib_appendix}
This package contains the Boost.Graph parallel runtime library
%package -n libboost_graph_parallel%{lib_appendix}-devel
Summary: Development headers for Boost.Graph parallel library
Group: Development/Libraries/C and C++
Requires: libboost_graph_parallel%{lib_appendix} = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_mpi%{lib_appendix}-devel = %{version}
Provides: libboost_graph_parallel-devel = %{version}
Conflicts: otherproviders(libboost_graph_parallel-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_graph_parallel%{lib_appendix}-devel
Development headers for Boost.Graph parallel boost library.
%package -n libboost_mpi_python-py2_7-%{lib_appendix}
Summary: Boost.MPI Python serialization library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_mpi_python-py2_7-%{lib_appendix}
This package contains the Boost.MPI Python 2.7 serialization library
%package -n libboost_mpi_python-py2_7-%{lib_appendix}-devel
Summary: Development library for Boost.MPI Python 2.7 serialization
Group: Development/Libraries/C and C++
Requires: libboost_mpi%{lib_appendix}-devel = %{version}
Requires: libboost_mpi_python-py2_7-%{lib_appendix} = %{version}
Requires: libboost_python-py2_7-%{lib_appendix} = %{version}
Provides: libboost_mpi_python-devel = %{version}
Conflicts: otherproviders(libboost_mpi_python-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_mpi_python-py2_7-%{lib_appendix}-devel
This package contains the Boost.MPI development library for Python 2.7
serialization interface.
%package -n python-boost_parallel_mpi%{lib_appendix}
Summary: Python 2.7 bindings for Boost.Parallel.MPI library
Group: Development/Languages/Python
Provides: python-boost_parallel_mpi = %{version}
Conflicts: otherproviders(python-boost_parallel_mpi)
%description -n python-boost_parallel_mpi%{lib_appendix}
This package contains the Boost.Parallel.MPI bindings for Python 2.7
%if %{with python3}
%package -n libboost_mpi_python-py3-%{lib_appendix}
Summary: Boost.MPI Python 3.x serialization library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_mpi_python-py3-%{lib_appendix}
This package contains the Boost.MPI Python 3.x serialization
inteface.
%package -n libboost_mpi_python-py3-%{lib_appendix}-devel
Summary: Development library for Boost.MPI Python 3.x serialization
Group: Development/Libraries/C and C++
Requires: libboost_mpi%{lib_appendix}-devel = %{version}
Requires: libboost_mpi_python-py3-%{lib_appendix} = %{version}
Requires: libboost_python-py3-%{lib_appendix}-devel = %{version}
Provides: libboost_mpi_python3-devel = %{version}
Conflicts: otherproviders(libboost_mpi_python3-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_mpi_python-py3-%{lib_appendix}-devel
This package contains the Boost.MPI development library for Python 3.x
serialization interface
%package -n python3-boost_parallel_mpi%{lib_appendix}
Summary: Python 3.x bindings for Boost.Parallel.MPI library
Group: Development/Languages/Python
Provides: python3-boost_parallel_mpi = %{version}
Conflicts: otherproviders(python3-boost_parallel_mpi)
%description -n python3-boost_parallel_mpi%{lib_appendix}
This package contains the Boost.Parallel.MPI bindings for Python 3.x
%endif # python3
%endif # mpi
%package -n libboost_test%{lib_appendix}
Summary: Boost.Test runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_test%{lib_appendix}
This package contains the BoosttTest runtime library.
%package -n libboost_test%{lib_appendix}-devel
Summary: Development headers for Boost.Test library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_test%{lib_appendix} = %{version}
Provides: libboost_test-devel = %{version}
Conflicts: otherproviders(libboost_test-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_test%{lib_appendix}-devel
Development headers for Boost.Test library. Boost.Test supports for
simple program testing, full unit testing, and for program execution
monitoring.
%package -n libboost_program_options%{lib_appendix}
Summary: Boost.ProgramOptions runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_program_options%{lib_appendix}
This package contains the Boost.ProgramOptions runtime library.
%package -n libboost_program_options%{lib_appendix}-devel
Summary: Development headers for Boost.ProgramOptions library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_program_options%{lib_appendix} = %{version}
Provides: libboost_program_options-devel = %{version}
Conflicts: otherproviders(libboost_program_options-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_program_options%{lib_appendix}-devel
This package contains development headers for Boost.ProgramOptions
library.
%package -n libboost_python-py2_7-%{lib_appendix}
Summary: Boost.Python runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_python-py2_7-%{lib_appendix}
This package contains the Boost::Python runtime library for default
version of python.
%package -n libboost_python-py2_7-%{lib_appendix}-devel
Summary: Development headers for Boost.Python library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_python-py2_7-%{lib_appendix} = %{version}
Provides: libboost_python-devel = %{version}
Conflicts: otherproviders(libboost_python-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_python-py2_7-%{lib_appendix}-devel
Development headers for Boost.Python library for the default version of
python.
%if %{with python3}
%package -n libboost_python-py3-%{lib_appendix}
Summary: Boost.Python runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_python-py3-%{lib_appendix}
This package contains the Boost.Python runtime libraries for python3
bindings.
%package -n libboost_python-py3-%{lib_appendix}-devel
Summary: Development headers for Boost.Python library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_python-py2_7-%{lib_appendix}-devel = %{version}
Requires: libboost_python-py3-%{lib_appendix} = %{version}
Provides: libboost_python3-devel = %{version}
Conflicts: otherproviders(libboost_python3-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_python-py3-%{lib_appendix}-devel
Development headers for Boost.Python library. This package contains
library for python3 development for boost.
%endif # with python3
%package -n libboost_serialization%{lib_appendix}
Summary: Boost.Serialization runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_serialization%{lib_appendix}
This package contains the Boost.Serialization runtime library.
%package -n libboost_serialization%{lib_appendix}-devel
Summary: Development headers for Boost.Serialization library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_serialization%{lib_appendix}-devel = %{version}
Provides: libboost_serialization-devel = %{version}
Conflicts: otherproviders(libboost_serialization-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_serialization%{lib_appendix}-devel
This package contains development headers for Boost.Serialization
library.
%package -n libboost_signals%{lib_appendix}
Summary: Boost.Signals runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_signals%{lib_appendix}
This package contains the Boost::Signals Runtime library.
%package -n libboost_signals%{lib_appendix}-devel
Summary: Development headers for Boost.Signals library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_signals%{lib_appendix} = %{version}
Provides: libboost_signals-devel = %{version}
Conflicts: otherproviders(libboost_signals-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_signals%{lib_appendix}-devel
This package contains development headers for Boost.Signals library.
Boost.Signals is deprecated in favour of Boost.Signals2, a header-only
library and part of libboost_headers-devel.
%package -n libboost_system%{lib_appendix}
Summary: Boost.System runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_system%{lib_appendix}
This package contains the Boost.System runtime library.
%package -n libboost_system%{lib_appendix}-devel
Summary: Development headers for Boost.System library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_system%{lib_appendix} = %{version}
Provides: libboost_system-devel = %{version}
Conflicts: otherproviders(libboost_system-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_system%{lib_appendix}-devel
This package contains development headers for Boost.System library.
%package -n libboost_thread%{lib_appendix}
Summary: Boost.Thread runtime libraries
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_thread%{lib_appendix}
This package contains the Boost.Thread runtime library.
%package -n libboost_thread%{lib_appendix}-devel
Summary: Development headers for Boost.Thread library
Group: Development/Libraries/C and C++
Requires: libboost_chrono%{lib_appendix}-devel = %{version}
Requires: libboost_date_time%{lib_appendix}-devel = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_thread%{lib_appendix} = %{version}
Provides: libboost_thread-devel = %{version}
Conflicts: otherproviders(libboost_thread-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_thread%{lib_appendix}-devel
This package contains development headers for Boost.Thread library.
%package -n libboost_wave%{lib_appendix}
Summary: Boost.Wave runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_wave%{lib_appendix}
This package contains the Boost::Wave runtime library.
%package -n libboost_wave%{lib_appendix}-devel
Summary: Development headers for Boost.Wave library
Group: Development/Libraries/C and C++
Requires: libboost_filesystem%{lib_appendix}-devel = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_serialization%{lib_appendix}-devel = %{version}
Requires: libboost_wave%{lib_appendix} = %{version}
Provides: libboost_wave-devel = %{version}
Conflicts: otherproviders(libboost_wave-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_wave%{lib_appendix}-devel
This package contains development headers for Boost.Wave library.
%package -n libboost_regex%{lib_appendix}
Summary: Boost.Regex runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_regex%{lib_appendix}
This package contains the Boost.Regex runtime library.
%package -n libboost_regex%{lib_appendix}-devel
Summary: Development headers for Boost.Regex library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_regex%{lib_appendix} = %{version}
Provides: libboost_regex-devel = %{version}
Conflicts: otherproviders(libboost_regex-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_regex%{lib_appendix}-devel
This package contains development headers for Boost.Regex library.
%package -n libboost_random%{lib_appendix}
Summary: Boost.Random runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_random%{lib_appendix}
This package contains the Boost.Random runtime library.
%package -n libboost_random%{lib_appendix}-devel
Summary: Development headers for Boost.Random library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_random%{lib_appendix} = %{version}
Provides: libboost_random-devel = %{version}
Conflicts: otherproviders(libboost_random-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_random%{lib_appendix}-devel
This package contains Boost.Random development headers.
%package -n libboost_chrono%{lib_appendix}
Summary: The Boost::Chrono runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_chrono%{lib_appendix}
This package contains the Boost::Chrono runtime library.
%package -n libboost_chrono%{lib_appendix}-devel
Summary: Development headers for Boost.Chrono library
Group: Development/Libraries/C and C++
Requires: libboost_chrono%{lib_appendix} = %{version}
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Provides: libboost_chrono-devel = %{version}
Conflicts: otherproviders(libboost_chrono-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_chrono%{lib_appendix}-devel
This package contains Boost.Chrono development headers.
%package -n libboost_locale%{lib_appendix}
Summary: Boost::Locale runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_locale%{lib_appendix}
This package contains Boost::Locale runtime library.
%package -n libboost_locale%{lib_appendix}-devel
Summary: Development headers for Boost.Locale library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_locale%{lib_appendix} = %{version}
Provides: libboost_locale-devel = %{version}
Conflicts: otherproviders(libboost_locale-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_locale%{lib_appendix}-devel
This package contains development headers for Boost.Locale library.
%package -n libboost_timer%{lib_appendix}
Summary: Boost.Timer runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_timer%{lib_appendix}
This package contains Boost.Timer runtime library.
%package -n libboost_timer%{lib_appendix}-devel
Summary: Development headers for Boost.Timer library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_system%{lib_appendix}-devel = %{version}
Requires: libboost_timer%{lib_appendix} = %{version}
Provides: libboost_timer-devel = %{version}
Conflicts: otherproviders(libboost_timer-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_timer%{lib_appendix}-devel
This package contains development headers for Boost.Timer library.
%package -n libboost_type_erasure%{lib_appendix}
Summary: Boost.TypeErasure runtime library
Group: System/Libraries
Requires: boost-license%{lib_appendix}
%description -n libboost_type_erasure%{lib_appendix}
This package contains Boost::TypeErasure runtime library.
%package -n libboost_type_erasure%{lib_appendix}-devel
Summary: Development headers for Boost.TypeErasure library
Group: Development/Libraries/C and C++
PreReq: libboost_headers%{lib_appendix}-devel = %{version}
Requires: libboost_type_erasure%{lib_appendix} = %{version}
Provides: libboost_type_erasure-devel = %{version}
Conflicts: otherproviders(libboost_type_erasure-devel)
Conflicts: boost-devel < 1.63
%description -n libboost_type_erasure%{lib_appendix}-devel
This package contains development headers for Boost.TypeErasure library.
%if %{with build_quickbook}
%package -n %{package_name}-quickbook
Summary: Documentation tool geared towards C++
Group: Development/Tools/Doc Generators
Requires: boost-license%{lib_appendix}
Provides: quickbook = %version
Conflicts: otherproviders(quickbook)
%description -n %{package_name}-quickbook
QuickBook is a WikiWiki style documentation tool geared towards C++
documentation using simple rules and markup for simple formatting
tasks.
%endif
%prep
%setup -q -n boost_%{lib_appendix} -b 3
#everything in the tarball has the executable flag set ...
find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {} +
%patch1 -p1
%patch2
%patch3
%patch4
%patch5
%patch6 -p1
%patch7
%patch9 -p1
%patch10 -p1
%patch13
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%patch100 -p1
#stupid build machinery copies .orig files
# find . -name \*.orig -exec rm {} +
%build
find . -type f -exec chmod u+w {} +
# Since boost build system is broken and incable of handling multiple python versions,
# we need to build boost piece by piece. First time to build all the non-python bits,
# then we build MPI and/or PYTHON modules for two python versions we need.
# MPI builds a python module.
cat << \EOF >.build
#%if ! %{with long_double}
#export LONG_DOUBLE_FLAGS="--disable-long-double"
#%endif
#BJAM_CONFIG="-d2 -sICU_PATH=%{_prefix}"
# export REGEX_FLAGS="--with-icu"
# export EXPAT_INCLUDE=%{_includedir} EXPAT_LIBPATH=%{_libdir}
# Python and MPI (which has python module) build seperately
# and install into special staging directories. Boost build system
# has "issues" building bindings for multiple python versions.
export PY_LIBRARIES_FLAGS="--with-python"
%if %{with build_mpi}
PY_LIBRARIES_FLAGS+=" --with-mpi"
%endif
export LIBRARIES_FLAGS="--without-python"
%if ! %{with build_context}
# coroutine/coroutine2 depend on context
LIBRARIES_FLAGS+=" --without-context --without-coroutine --without-coroutine2"
%endif
%if ! %{with boost_fiber}
LIBRARIES_FLAGS+=" --without-fiber"
%endif
EOF
# Read shared build instructions
. ./.build
%if %{with build_mpi}
# Set PATH, MANPATH and LD_LIBRARY_PATH for mpi
#. %{_localstatedir}/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh
# fixme: use mpi-selector ????
%endif
# Need specific Boost Jam config files.
# 1. one all "normal" libraries
# 2. one for each python version for for python/mpi libraries
# use staging directories for MPI/PYTHON combinations.
# General case
cat << EOF >user-config.jam
import os ;
local RPM_OPT_FLAGS = [ os.environ RPM_OPT_FLAGS ] ;
using gcc : : : <compileflags>\$(RPM_OPT_FLAGS) ;
EOF
# Build boost base PYTHON and MPI, installed in python staging
./bootstrap.sh \
--prefix=%{_prefix} --exec-prefix=%{_bindir} \
--libdir=%{_libdir} --includedir=%{_includedir} \
--with-toolset=gcc
cp user-config.jam user-config-py.jam
cat << EOF >> user-config-py.jam
using python
: %{py_ver}
: %{__python2}
: %{py_incdir}
: %{py_libdir}
:
:
;
%if %{with build_mpi}
using mpi ;
%endif
EOF
./b2 -d+2 -q --user-config=./user-config-py.jam \
--build-type=minimal --build-dir=./python-build \
--python-buildid=py2.7 \
--stagedir=./python-stage %{?_smp_mflags} \
$PY_LIBRARIES_FLAGS \
threading=multi link=shared runtime-link=shared stage
# Build boost python3 and MPI, installed in python3 staging
%if %{with python3}
cp user-config.jam user-config-py3.jam
cat << EOF >> user-config-py3.jam
using python
: %{py3_ver}
: /usr/bin/python%{py3_ver}%{py3_abiflags}
: %{py3_incdir}
:
:
: .%{py3_soflags}
: %{py3_abiflags}
;
%if %{with build_mpi}
using mpi ;
%endif
EOF
./b2 -d+2 -q --user-config=./user-config-py3.jam \
--build-type=minimal --build-dir=./python3-build \
--python-buildid=py3 \
--stagedir=./python3-stage %{?_smp_mflags} \
$PY_LIBRARIES_FLAGS \
threading=multi link=shared runtime-link=shared stage
%endif # python3
# Build rest of boost, without python and MPI
#./bootstrap.sh $LIBRARIES_FLAGS \
# --prefix=%{_prefix} --exec-prefix=%{_bindir} \
# --libdir=%{_libdir} --includedir=%{_includedir} \
# --with-toolset=gcc
%if %{with build_docs}
cat << EOF >>user-config.jam
using xsltproc ;
using boostbook
: %{_datadir}/xml/docbook/stylesheet/nwalsh/current
: %{_datadir}/xml/docbook/schema/dtd/4.2
;
using doxygen ;
EOF
%endif
# needed to get graph_parallel built
%if %{with build_mpi}
echo 'using mpi ;' >> ./user-config.jam
%endif
./b2 -d+2 -q --user-config=./user-config.jam \
--build-type=minimal --build-dir=./build \
--stagedir=./stage %{?_smp_mflags} \
$LIBRARIES_FLAGS \
threading=multi link=shared runtime-link=shared stage
# Verify that all symbols built in different stages are interchangeable.
# Can't be too careful!
cp %{SOURCE101} .
chmod +x symbol_diff.sh
./symbol_diff.sh python3-stage/lib/libboost_mpi.so python-stage/lib/libboost_mpi.so
./symbol_diff.sh python3-stage/lib/libboost_mpi.so stage/lib/libboost_mpi.so
./symbol_diff.sh python3-stage/lib/libboost_serialization.so python-stage/lib/libboost_serialization.so
./symbol_diff.sh python3-stage/lib/libboost_serialization.so stage/lib/libboost_serialization.so
# Build documentation
%if %{with build_quickbook}
pushd tools/quickbook
../../b2 --user-config=../../user-config.jam --v2 dist-bin %{?_smp_mflags}
popd
%endif
%if %{with build_docs}
cd doc
./b2 --user-config=../user-config.jam --v2 man %{?_smp_mflags}
%endif
%install
# Read shared build instructions
. ./.build
%if %{with build_mpi}
# Set PATH, MANPATH and LD_LIBRARY_PATH for mpi
#. %{_localstatedir}/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh
%endif
%if %{with python3}
./b2 -d+2 -q --user-config=./user-config-py3.jam \
--build-type=minimal --build-dir=./python3-build \
--python-buildid=py3 \
--prefix=%{buildroot}%{_prefix} --exec-prefix=%{buildroot}%{_bindir} \
--libdir=%{buildroot}%{_libdir} --includedir=%{buildroot}%{_includedir} \
--stagedir=./python3-stage %{?_smp_mflags} \
$PY_LIBRARIES_FLAGS \
threading=multi link=shared runtime-link=shared install
%endif
./b2 -d+2 -q --user-config=./user-config-py.jam \
--build-type=minimal --build-dir=./python-build \
--python-buildid=py2.7 \
--prefix=%{buildroot}%{_prefix} --exec-prefix=%{buildroot}%{_bindir} \
--libdir=%{buildroot}%{_libdir} --includedir=%{buildroot}%{_includedir} \
--stagedir=./python-stage %{?_smp_mflags} \
$PY_LIBRARIES_FLAGS \
threading=multi link=shared runtime-link=shared install
./b2 -d+2 -q \
--build-type=minimal --build-dir=./build --stagedir=./stage \
--prefix=%{buildroot}%{_prefix} --exec-prefix=%{buildroot}%{_bindir} \
--libdir=%{buildroot}%{_libdir} --includedir=%{buildroot}%{_includedir} \
--user-config=./user-config.jam \
$LIBRARIES_FLAGS \
threading=multi link=shared runtime-link=shared install
mkdir -p %{buildroot}%{_bindir}
install -m 755 bjam %{buildroot}%{_bindir}
ln -s bjam %{buildroot}%{_bindir}/jam
# Make sure nothing depends on non-id'ed python binaries!
rm %{buildroot}%{_libdir}/libboost_mpi_python.so
rm %{buildroot}%{_libdir}/libboost_mpi_python.so.%{version}
rm %{buildroot}%{_libdir}/libboost_python.so
rm %{buildroot}%{_libdir}/libboost_python.so.1.63.0
! $(ldd %{buildroot}%{_libdir}/*.so* | grep python\\.)
ln -s libboost_mpi_python-py2_7.so %{buildroot}%{_libdir}/libboost_mpi_python.so
ln -s libboost_python-py2_7.so %{buildroot}%{_libdir}/libboost_python.so
%if %{with python3}
rm %{buildroot}%{_libdir}/libboost_python3-py3.so
rm %{buildroot}%{_libdir}/libboost_python3-py3.so.%{version}
! $(ldd %{buildroot}%{_libdir}/*.so* | grep python3-\\.)
ln -s libboost_python-py3.so %{buildroot}%{_libdir}/libboost_python3.so
%endif
# Move Python libraries over to proper places
mkdir -p %{buildroot}%{py_sitedir}/boost/parallel/mpi/
mv %{buildroot}/%{_libdir}/mpi.so %{buildroot}%{py_sitedir}/boost/parallel/mpi/
install -m 0644 libs/mpi/build/__init__.py %{buildroot}%{py_sitedir}/boost/parallel/mpi/
install -m 0644 %{SOURCE11} %{buildroot}%{py_sitedir}/boost/parallel
install -m 0644 %{SOURCE11} %{buildroot}%{py_sitedir}/boost
%if %{with python3}
mkdir -p %{buildroot}%{python3_sitearch}/boost/parallel/mpi/
mv %{buildroot}/%{_libdir}/mpi.%{py3_soflags}.so %{buildroot}%{python3_sitearch}/boost/parallel/mpi/
install -m 0644 libs/mpi/build/__init__.py %{buildroot}%{python3_sitearch}/boost/parallel/mpi/
install -m 0644 %{SOURCE11} %{buildroot}%{python3_sitearch}/boost/parallel
install -m 0644 %{SOURCE11} %{buildroot}%{python3_sitearch}/boost
%endif
# Remove exception library, but only if the symbols are not
# actually used. For now, the only symbol that is linked is
# should never be used as it's only available on Windows. So,
# verify that here.
objdump -Ctj .text -Ctj .text %{buildroot}%{_libdir}/libboost_exception.so | \
grep '^[0-9a-f]\+[[:space:]]\+g[[:space:]]\+F' | \
sed -e 's#[0-9a-f]\+[[:space:]]\+g[[:space:]]\+F[[:space:]]\+\.text[[:space:]]\+[0-9a-f]\+[[:space:]]\+##' | \
diff %{SOURCE10} - || echo "WARNING: libexception symbol change?"
rm %{buildroot}%{_libdir}/libboost_exception.so
rm %{buildroot}%{_libdir}/libboost_exception.so.%{version}
#pushd %{buildroot}%{_libdir}
#blibs=$(find . -name \*.so.%{version})
#echo $blibs | xargs chrpath -d
#
#for lib in ${blibs}; do
# BASE=$(basename ${lib} .so.%{version})
## SONAME_MT="$BASE-mt.so"
# ln -sf ${lib} $SONAME_MT
#done
#popd
# install the man pages
# rm -rf doc/man/man3/boost::units::operator
# mv doc/man/man3/path.3 doc/man/man3/boost::property_tree::path.3
# mv doc/man/man3/string.3 doc/man/man3/boost::container::string.3
#
# for sec in 3 7 9; do
# install -d %%buildroot/%%{_mandir}/man${sec}
# done
# pushd doc/man
# rm -f *.manifest
# tar -cf - .| tar -C %%{buildroot}/%%{_mandir} -xvf -
# popd
#install doc files
mkdir -p %{buildroot}%{my_docdir}
install -m 0644 %{SOURCE102} %{buildroot}%{my_docdir}
find libs/ -name \*.htm\* -o -name \*.css -o -name \*.js | xargs dos2unix
find . -name \*.htm\* -o -name \*.gif -o -name \*.css -o -name \*.jpg -o -name \*.png -o -name \*.ico | \
tar --files-from=%{SOURCE4} -cf - --files-from=- | tar -C %{buildroot}%{my_docdir} -xf -
rm -rf %{buildroot}%{my_docdir}/boost
ln -s %{_includedir}/boost %{buildroot}%{my_docdir}
ln -s ../LICENSE_1_0.txt %{buildroot}%{my_docdir}/libs
find %{buildroot}%{my_docdir} -name \*.py -exec chmod -x {} +
chmod -x ../boost_%{short_version}_pdf/*.pdf
#rm -f %{buildroot}%{_libdir}/*.a
#symlink dupes
%fdupes %{buildroot}
%if %{with build_quickbook}
mkdir -p %{buildroot}%{_bindir}
install -m 0755 dist/bin/quickbook %{buildroot}%{_bindir}/quickbook
%endif
# Remove cruft
# FIXME: these shouldn't be built in the first place
rm %{buildroot}%{_libdir}/libboost_chrono.a
rm %{buildroot}%{_libdir}/libboost_system.a
rm %{buildroot}%{_libdir}/libboost_timer.a
rm %{buildroot}%{_libdir}/libboost_unit_test_framework.a
%if ! %{with boost_fiber}
rm -r %{buildroot}%{_includedir}/boost/fiber
%endif
%if ! %{with build_mpi}
rm -r %{buildroot}%{_includedir}/boost/mpi
rm %{buildroot}%{_includedir}/boost/mpi.hpp
%endif
%if ! %{with build_context}
rm -r %{buildroot}%{_includedir}/boost/coroutine
rm -r %{buildroot}%{_includedir}/boost/coroutine2
rm -r %{buildroot}%{_includedir}/boost/context
%endif
%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_fiber%{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-py2_7-%{lib_appendix} -p /sbin/ldconfig
%if %{with python3}
%post -n libboost_python-py3-%{lib_appendix} -p /sbin/ldconfig
%endif
%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_type_erasure%{lib_appendix} -p /sbin/ldconfig
%post -n libboost_math%{lib_appendix} -p /sbin/ldconfig
%if %{with build_mpi}
%post -n libboost_mpi%{lib_appendix} -p /sbin/ldconfig
%post -n libboost_graph_parallel%{lib_appendix} -p /sbin/ldconfig
%post -n libboost_mpi_python-py2_7-%{lib_appendix} -p /sbin/ldconfig
%if %{with python3}
%post -n libboost_mpi_python-py3-%{lib_appendix} -p /sbin/ldconfig
%endif
%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
%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_fiber%{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-py2_7-%{lib_appendix} -p /sbin/ldconfig
%if %{with python3}
%postun -n libboost_python-py3-%{lib_appendix} -p /sbin/ldconfig
%endif
%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_type_erasure%{lib_appendix} -p /sbin/ldconfig
%postun -n libboost_math%{lib_appendix} -p /sbin/ldconfig
%if %{with build_mpi}
%postun -n libboost_mpi%{lib_appendix} -p /sbin/ldconfig
%postun -n libboost_graph_parallel%{lib_appendix} -p /sbin/ldconfig
%postun -n libboost_mpi_python-py2_7-%{lib_appendix} -p /sbin/ldconfig
%if %{with python3}
%postun -n libboost_mpi_python-py3-%{lib_appendix} -p /sbin/ldconfig
%endif
%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
%files -n %{package_name}-jam
%defattr(-, root, root, -)
%{_bindir}/bjam
%{_bindir}/jam
%files -n boost-license%{lib_appendix}
%defattr(-, root, root, -)
%dir %{my_docdir}
%doc %{my_docdir}/LICENSE_1_0.txt
%files -n libboost_atomic%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_atomic.so.%{version}
%files -n libboost_atomic%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_atomic.so
#%{_libdir}/libboost_atomic-mt.so
%dir %{_includedir}/boost/atomic
%{_includedir}/boost/atomic/*
%{_includedir}/boost/atomic.hpp
%files -n libboost_container%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_container.so.%{version}
%files -n libboost_container%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_container.so
#%{_libdir}/libboost_container-mt.so
%dir %{_includedir}/boost/container
%{_includedir}/boost/container/*
%if %{with build_context}
%files -n libboost_context%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_context.so.%{version}
%files -n libboost_context%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_context.so
#%{_libdir}/libboost_context-mt.so
%dir %{_includedir}/boost/context
%{_includedir}/boost/context/*
%files -n libboost_coroutine%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_coroutine.so.%{version}
%files -n libboost_coroutine%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_coroutine.so
#%{_libdir}/libboost_coroutine-mt.so
%dir %{_includedir}/boost/coroutine
%dir %{_includedir}/boost/coroutine2
%{_includedir}/boost/coroutine/*
%{_includedir}/boost/coroutine2/*
%endif # if with build_context
%files -n libboost_date_time%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_date_time.so.%{version}
%files -n libboost_date_time%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_date_time.so
#%{_libdir}/libboost_date_time-mt.so
%dir %{_includedir}/boost/date_time
%{_includedir}/boost/date_time/*
%{_includedir}/boost/date_time.hpp
%if %{with boost_fiber}
%files -n libboost_fiber%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_fiber.so.%{version}
%files -n libboost_fiber%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_fiber.so
#%{_libdir}/libboost_fiber-mt.so
%dir %{_includedir}/boost/fiber
%{_includedir}/boost/fiber/*
%endif # with boost_fiber
%files -n libboost_filesystem%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_filesystem.so.%{version}
%files -n libboost_filesystem%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_filesystem.so
#%{_libdir}/libboost_filesystem-mt.so
%dir %{_includedir}/boost/filesystem
%{_includedir}/boost/filesystem/*
%{_includedir}/boost/filesystem.hpp
%files -n libboost_graph%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_graph.so.%{version}
%files -n libboost_graph%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_graph.so
#%{_libdir}/libboost_graph-mt.so
%dir %{_includedir}/boost/graph
%{_includedir}/boost/graph/*
%exclude %{_includedir}/boost/graph/distributed/*
%exclude %{_includedir}/boost/graph/parallel/*
%files -n libboost_iostreams%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_iostreams.so.%{version}
%files -n libboost_iostreams%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_iostreams.so
#%{_libdir}/libboost_iostreams-mt.so
%dir %{_includedir}/boost/iostreams
%{_includedir}/boost/iostreams/*
%files -n libboost_log%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_log.so.%{version}
%{_libdir}/libboost_log_setup.so.%{version}
%files -n libboost_log%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_log.so
#%{_libdir}/libboost_log-mt.so
%{_libdir}/libboost_log_setup.so
#%{_libdir}/libboost_log_setup-mt.so
%dir %{_includedir}/boost/log
%{_includedir}/boost/log/*
%files -n libboost_math%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_math_c99f.so.%{version}
%{_libdir}/libboost_math_c99l.so.%{version}
%{_libdir}/libboost_math_c99.so.%{version}
%{_libdir}/libboost_math_tr1f.so.%{version}
%{_libdir}/libboost_math_tr1l.so.%{version}
%{_libdir}/libboost_math_tr1.so.%{version}
%files -n libboost_math%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_math_c99f.so
#%{_libdir}/libboost_math_c99f-mt.so
%{_libdir}/libboost_math_c99l.so
#%{_libdir}/libboost_math_c99l-mt.so
%{_libdir}/libboost_math_c99.so
#%{_libdir}/libboost_math_c99-mt.so
%{_libdir}/libboost_math_tr1f.so
#%{_libdir}/libboost_math_tr1f-mt.so
%{_libdir}/libboost_math_tr1l.so
#%{_libdir}/libboost_math_tr1l-mt.so
%{_libdir}/libboost_math_tr1.so
#%{_libdir}/libboost_math_tr1-mt.so
%dir %{_includedir}/boost/math
%{_includedir}/boost/math/*
%{_includedir}/boost/math_fwd.hpp
%if %{with build_mpi}
%files -n libboost_mpi%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_mpi.so.%{version}
%files -n libboost_mpi%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_mpi.so
#%{_libdir}/libboost_mpi-mt.so
%dir %{_includedir}/boost/mpi
%{_includedir}/boost/mpi/*
%{_includedir}/boost/mpi.hpp
%files -n libboost_graph_parallel%{lib_appendix}
%defattr(-,root,root)
%{_libdir}/libboost_graph_parallel.so.%{version}
%files -n libboost_graph_parallel%{lib_appendix}-devel
%defattr(-,root,root)
%{_libdir}/libboost_graph_parallel.so
#%{_libdir}/libboost_graph_parallel-mt.so
%dir %{_includedir}/boost/graph/distributed
%dir %{_includedir}/boost/graph/parallel
%{_includedir}/boost/graph/distributed/*
%{_includedir}/boost/graph/parallel/*
%files -n libboost_mpi_python-py2_7-%{lib_appendix}
%defattr(-,root,root)
%{_libdir}/libboost_mpi_python-py2_7.so.%{version}
%files -n libboost_mpi_python-py2_7-%{lib_appendix}-devel
%defattr(-,root,root)
%{_libdir}/libboost_mpi_python-py2_7.so
%{_libdir}/libboost_mpi_python.so
%files -n python-boost_parallel_mpi%{lib_appendix}
%dir %{py_sitedir}/boost
%dir %{py_sitedir}/boost/parallel
%dir %{py_sitedir}/boost/parallel/mpi
%{py_sitedir}/boost/__init__.py
%{py_sitedir}/boost/parallel/__init__.py
%{py_sitedir}/boost/parallel/mpi/__init__.py
%{py_sitedir}/boost/parallel/mpi/mpi.so
%if %{with python3}
%files -n libboost_mpi_python-py3-%{lib_appendix}
%defattr(-,root,root)
%{_libdir}/libboost_mpi_python-py3.so.%{version}
%files -n libboost_mpi_python-py3-%{lib_appendix}-devel
%defattr(-,root,root)
%{_libdir}/libboost_mpi_python-py3.so
%files -n python3-boost_parallel_mpi%{lib_appendix}
%dir %{python3_sitearch}/boost
%dir %{python3_sitearch}/boost/parallel
%dir %{python3_sitearch}/boost/parallel/mpi
%{python3_sitearch}/boost/__init__.py
%{python3_sitearch}/boost/parallel/__init__.py
%{python3_sitearch}/boost/parallel/mpi/__init__.py
%{python3_sitearch}/boost/parallel/mpi/mpi.%{py3_soflags}.so
%endif # with python3
%endif # with build_mpi
%files -n libboost_test%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_prg_exec_monitor.so.%{version}
%{_libdir}/libboost_test_exec_monitor.so.%{version}
%{_libdir}/libboost_unit_test_framework.so.%{version}
%files -n libboost_test%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_prg_exec_monitor.so
%{_libdir}/libboost_test_exec_monitor.so
#%{_libdir}/libboost_prg_exec_monitor-mt.so
%{_libdir}/libboost_unit_test_framework.so
#%{_libdir}/libboost_unit_test_framework-mt.so
%dir %{_includedir}/boost/test
%{_includedir}/boost/test/*
%files -n libboost_program_options%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_program_options.so.%{version}
%files -n libboost_program_options%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_program_options.so
#%{_libdir}/libboost_program_options-mt.so
%dir %{_includedir}/boost/program_options
%{_includedir}/boost/program_options/*
%{_includedir}/boost/program_options.hpp
%files -n libboost_python-py2_7-%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_python-py2_7.so.%{version}
%files -n libboost_python-py2_7-%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_python.so
%{_libdir}/libboost_python-py2_7.so
#%{_libdir}/libboost_python-mt.so
%dir %{_includedir}/boost/python
%{_includedir}/boost/python/*
%{_includedir}/boost/python.hpp
%if %{with python3}
%files -n libboost_python-py3-%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_python-py3.so.%{version}
%files -n libboost_python-py3-%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_python3.so
%{_libdir}/libboost_python-py3.so
#%{_libdir}/libboost_python3-mt.so
%endif # with python3
%files -n libboost_serialization%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_serialization.so.%{version}
%{_libdir}/libboost_wserialization.so.%{version}
%files -n libboost_serialization%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_serialization.so
#%{_libdir}/libboost_serialization-mt.so
%{_libdir}/libboost_wserialization.so
#%{_libdir}/libboost_wserialization-mt.so
%dir %{_includedir}/boost/serialization
%{_includedir}/boost/serialization/*
%files -n libboost_signals%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_signals.so.%{version}
%files -n libboost_signals%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_signals.so
#%{_libdir}/libboost_signals-mt.so
%dir %{_includedir}/boost/signals
%{_includedir}/boost/signals/*
%{_includedir}/boost/signal.hpp
%{_includedir}/boost/signals.hpp
%files -n libboost_system%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_system.so.%{version}
%files -n libboost_system%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_system.so
#%{_libdir}/libboost_system-mt.so
%dir %{_includedir}/boost/system
%{_includedir}/boost/system/*
%files -n libboost_thread%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_thread.so.%{version}
%files -n libboost_thread%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_thread.so
#%{_libdir}/libboost_thread-mt.so
%dir %{_includedir}/boost/thread
%{_includedir}/boost/thread/*
%{_includedir}/boost/thread.hpp
%files -n libboost_wave%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_wave.so.%{version}
%files -n libboost_wave%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_wave.so
#%{_libdir}/libboost_wave-mt.so
%dir %{_includedir}/boost/wave
%{_includedir}/boost/wave/*
%{_includedir}/boost/wave.hpp
%files -n libboost_regex%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_regex.so.%{version}
%files -n libboost_regex%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_regex.so
#%{_libdir}/libboost_regex-mt.so
%dir %{_includedir}/boost/regex
%{_includedir}/boost/regex/*
%{_includedir}/boost/regex.h
%{_includedir}/boost/regex.hpp
%{_includedir}/boost/regex_fwd.hpp
%files -n libboost_random%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_random.so.%{version}
%files -n libboost_random%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_random.so
#%{_libdir}/libboost_random-mt.so
%dir %{_includedir}/boost/random
%{_includedir}/boost/random/*
%{_includedir}/boost/random.hpp
%files -n libboost_chrono%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_chrono.so.%{version}
%files -n libboost_chrono%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_chrono.so
#%{_libdir}/libboost_chrono-mt.so
%dir %{_includedir}/boost/chrono
%{_includedir}/boost/chrono/*
%{_includedir}/boost/chrono.hpp
%files -n libboost_locale%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_locale.so.%{version}
%files -n libboost_locale%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_locale.so
#%{_libdir}/libboost_locale-mt.so
%dir %{_includedir}/boost/locale
%{_includedir}/boost/locale/*
%{_includedir}/boost/locale.hpp
%files -n libboost_timer%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_timer.so.%{version}
%files -n libboost_timer%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_timer.so
#%{_libdir}/libboost_timer-mt.so
%dir %{_includedir}/boost/timer
%{_includedir}/boost/timer/*
%{_includedir}/boost/timer.hpp
%files -n libboost_type_erasure%{lib_appendix}
%defattr(-, root, root, -)
%{_libdir}/libboost_type_erasure.so.%{version}
%files -n libboost_type_erasure%{lib_appendix}-devel
%defattr(-, root, root, -)
%{_libdir}/libboost_type_erasure.so
#%{_libdir}/libboost_type_erasure-mt.so
%dir %{_includedir}/boost/type_erasure
%{_includedir}/boost/type_erasure/*
%files -n libboost_headers%{lib_appendix}-devel
%defattr(-, root, root, -)
%dir %{_includedir}/boost
%dir %{_includedir}/boost/accumulators
%{_includedir}/boost/accumulators/*
%dir %{_includedir}/boost/algorithm
%{_includedir}/boost/algorithm/*
%dir %{_includedir}/boost/align
%{_includedir}/boost/align/*
%{_includedir}/boost/align.hpp
%{_includedir}/boost/aligned_storage.hpp
%{_includedir}/boost/any.hpp
%dir %{_includedir}/boost/archive
%{_includedir}/boost/archive/*
%{_includedir}/boost/array.hpp
%dir %{_includedir}/boost/asio
%{_includedir}/boost/asio/*
%{_includedir}/boost/asio.hpp
%{_includedir}/boost/assert.hpp
%dir %{_includedir}/boost/assign
%{_includedir}/boost/assign/*
%{_includedir}/boost/assign.hpp
%dir %{_includedir}/boost/bimap
%{_includedir}/boost/bimap/*
%{_includedir}/boost/bimap.hpp
%dir %{_includedir}/boost/bind
%{_includedir}/boost/bind/*
%{_includedir}/boost/bind.hpp
%{_includedir}/boost/blank.hpp
%{_includedir}/boost/blank_fwd.hpp
%{_includedir}/boost/call_traits.hpp
%{_includedir}/boost/cast.hpp
%{_includedir}/boost/cerrno.hpp
%{_includedir}/boost/checked_delete.hpp
%dir %{_includedir}/boost/circular_buffer
%{_includedir}/boost/circular_buffer/*
%{_includedir}/boost/circular_buffer.hpp
%{_includedir}/boost/circular_buffer_fwd.hpp
%dir %{_includedir}/boost/compatibility
%{_includedir}/boost/compatibility/*
%{_includedir}/boost/compressed_pair.hpp
%dir %{_includedir}/boost/compute
%{_includedir}/boost/compute/*
%{_includedir}/boost/compute.hpp
%dir %{_includedir}/boost/concept
%{_includedir}/boost/concept/*
%{_includedir}/boost/concept_archetype.hpp
%dir %{_includedir}/boost/concept_check
%{_includedir}/boost/concept_check/*
%{_includedir}/boost/concept_check.hpp
%dir %{_includedir}/boost/config
%{_includedir}/boost/config/*
%{_includedir}/boost/config.hpp
%dir %{_includedir}/boost/convert
%{_includedir}/boost/convert/*
%{_includedir}/boost/convert.hpp
%dir %{_includedir}/boost/core
%{_includedir}/boost/core/*
%{_includedir}/boost/crc.hpp
%{_includedir}/boost/cregex.hpp
%{_includedir}/boost/cstdfloat.hpp
%{_includedir}/boost/cstdint.hpp
%{_includedir}/boost/cstdlib.hpp
%{_includedir}/boost/current_function.hpp
%{_includedir}/boost/cxx11_char_types.hpp
%dir %{_includedir}/boost/detail
%{_includedir}/boost/detail/*
%dir %{_includedir}/boost/dll
%{_includedir}/boost/dll/*
%{_includedir}/boost/dll.hpp
%dir %{_includedir}/boost/dynamic_bitset
%{_includedir}/boost/dynamic_bitset/*
%{_includedir}/boost/dynamic_bitset.hpp
%{_includedir}/boost/dynamic_bitset_fwd.hpp
%{_includedir}/boost/enable_shared_from_this.hpp
%dir %{_includedir}/boost/endian
%{_includedir}/boost/endian/*
%dir %{_includedir}/boost/exception
%{_includedir}/boost/exception/*
%{_includedir}/boost/exception_ptr.hpp
%dir %{_includedir}/boost/flyweight
%{_includedir}/boost/flyweight/*
%{_includedir}/boost/flyweight.hpp
%{_includedir}/boost/foreach.hpp
%{_includedir}/boost/foreach_fwd.hpp
%dir %{_includedir}/boost/format
%{_includedir}/boost/format/*
%{_includedir}/boost/format.hpp
%dir %{_includedir}/boost/function
%{_includedir}/boost/function/*
%{_includedir}/boost/function.hpp
%{_includedir}/boost/function_equal.hpp
%{_includedir}/boost/function_output_iterator.hpp
%dir %{_includedir}/boost/function_types
%{_includedir}/boost/function_types/*
%dir %{_includedir}/boost/functional
%{_includedir}/boost/functional/*
%{_includedir}/boost/functional.hpp
%dir %{_includedir}/boost/fusion
%{_includedir}/boost/fusion/*
%{_includedir}/boost/generator_iterator.hpp
%dir %{_includedir}/boost/geometry
%{_includedir}/boost/geometry/*
%{_includedir}/boost/geometry.hpp
%{_includedir}/boost/get_pointer.hpp
%dir %{_includedir}/boost/gil
%{_includedir}/boost/gil/*
%dir %{_includedir}/boost/hana
%{_includedir}/boost/hana/*
%{_includedir}/boost/hana.hpp
%dir %{_includedir}/boost/heap
%{_includedir}/boost/heap/*
%dir %{_includedir}/boost/icl
%{_includedir}/boost/icl/*
%{_includedir}/boost/implicit_cast.hpp
%{_includedir}/boost/indirect_reference.hpp
%dir %{_includedir}/boost/integer
%{_includedir}/boost/integer/*
%{_includedir}/boost/integer.hpp
%{_includedir}/boost/integer_fwd.hpp
%{_includedir}/boost/integer_traits.hpp
%{_includedir}/boost/iterator_adaptors.hpp
%dir %{_includedir}/boost/interprocess
%{_includedir}/boost/interprocess/*
%dir %{_includedir}/boost/intrusive
%{_includedir}/boost/intrusive/*
%{_includedir}/boost/intrusive_ptr.hpp
%dir %{_includedir}/boost/io
%dir %{_includedir}/boost/io/detail
%{_includedir}/boost/io/detail/quoted_manip.hpp
%{_includedir}/boost/io/ios_state.hpp
%{_includedir}/boost/io_fwd.hpp
%{_includedir}/boost/is_placeholder.hpp
%dir %{_includedir}/boost/iterator
%{_includedir}/boost/iterator/*
%{_includedir}/boost/iterator.hpp
%dir %{_includedir}/boost/lambda
%{_includedir}/boost/lambda/*
%{_includedir}/boost/last_value.hpp
%dir %{_includedir}/boost/lexical_cast
%{_includedir}/boost/lexical_cast/*
%{_includedir}/boost/lexical_cast.hpp
%{_includedir}/boost/limits.hpp
%dir %{_includedir}/boost/local_function
%{_includedir}/boost/local_function/*
%{_includedir}/boost/local_function.hpp
%dir %{_includedir}/boost/lockfree
%{_includedir}/boost/lockfree/*
%dir %{_includedir}/boost/logic
%{_includedir}/boost/logic/*
%{_includedir}/boost/make_default.hpp
%{_includedir}/boost/make_shared.hpp
%{_includedir}/boost/make_unique.hpp
%{_includedir}/boost/mem_fn.hpp
%{_includedir}/boost/memory_order.hpp
%dir %{_includedir}/boost/metaparse
%{_includedir}/boost/metaparse/*
%{_includedir}/boost/metaparse.hpp
%dir %{_includedir}/boost/move
%{_includedir}/boost/move/*
%dir %{_includedir}/boost/mpl
%{_includedir}/boost/mpl/*
%dir %{_includedir}/boost/msm
%{_includedir}/boost/msm/*
%dir %{_includedir}/boost/multi_array
%{_includedir}/boost/multi_array/*
%{_includedir}/boost/multi_array.hpp
%dir %{_includedir}/boost/multi_index
%{_includedir}/boost/multi_index/*
%{_includedir}/boost/multi_index_container.hpp
%{_includedir}/boost/multi_index_container_fwd.hpp
%dir %{_includedir}/boost/multiprecision
%{_includedir}/boost/multiprecision/*
%{_includedir}/boost/next_prior.hpp
%{_includedir}/boost/non_type.hpp
%{_includedir}/boost/noncopyable.hpp
%{_includedir}/boost/nondet_random.hpp
%{_includedir}/boost/none.hpp
%{_includedir}/boost/none_t.hpp
%dir %{_includedir}/boost/numeric
%{_includedir}/boost/numeric/*
%{_includedir}/boost/operators.hpp
%{_includedir}/boost/operators_v1.hpp
%dir %{_includedir}/boost/optional
%{_includedir}/boost/optional/*
%{_includedir}/boost/optional.hpp
%dir %{_includedir}/boost/parameter
%{_includedir}/boost/parameter/*
%{_includedir}/boost/parameter.hpp
%dir %{_includedir}/boost/pending
%{_includedir}/boost/pending/*
%dir %{_includedir}/boost/phoenix
%{_includedir}/boost/phoenix/*
%{_includedir}/boost/phoenix.hpp
%{_includedir}/boost/pointee.hpp
%{_includedir}/boost/pointer_cast.hpp
%{_includedir}/boost/pointer_to_other.hpp
%dir %{_includedir}/boost/polygon
%{_includedir}/boost/polygon/*
%{_includedir}/boost/polymorphic_cast.hpp
%{_includedir}/boost/polymorphic_pointer_cast.hpp
%dir %{_includedir}/boost/pool
%{_includedir}/boost/pool/*
%dir %{_includedir}/boost/predef
%{_includedir}/boost/predef/*
%{_includedir}/boost/predef.h
%dir %{_includedir}/boost/preprocessor
%{_includedir}/boost/preprocessor/*
%{_includedir}/boost/preprocessor.hpp
%{_includedir}/boost/progress.hpp
%dir %{_includedir}/boost/property_map
%{_includedir}/boost/property_map/*
%dir %{_includedir}/boost/property_tree
%{_includedir}/boost/property_tree/*
%dir %{_includedir}/boost/proto
%{_includedir}/boost/proto/*
%dir %{_includedir}/boost/ptr_container
%{_includedir}/boost/ptr_container/*
%dir %{_includedir}/boost/qvm
%{_includedir}/boost/qvm/*
%dir %{_includedir}/boost/range
%{_includedir}/boost/range/*
%{_includedir}/boost/range.hpp
%dir %{_includedir}/boost/ratio
%{_includedir}/boost/ratio/*
%{_includedir}/boost/ratio.hpp
%{_includedir}/boost/rational.hpp
%{_includedir}/boost/ref.hpp
%{_includedir}/boost/scope_exit.hpp
%{_includedir}/boost/scoped_array.hpp
%{_includedir}/boost/scoped_ptr.hpp
%{_includedir}/boost/shared_array.hpp
%{_includedir}/boost/shared_container_iterator.hpp
%{_includedir}/boost/shared_ptr.hpp
%dir %{_includedir}/boost/signals2
%{_includedir}/boost/signals2/*
%{_includedir}/boost/signals2.hpp
%dir %{_includedir}/boost/smart_ptr
%{_includedir}/boost/smart_ptr/*
%{_includedir}/boost/smart_ptr.hpp
%dir %{_includedir}/boost/sort
%{_includedir}/boost/sort/*
%dir %{_includedir}/boost/spirit
%{_includedir}/boost/spirit/*
%{_includedir}/boost/spirit.hpp
%dir %{_includedir}/boost/statechart
%{_includedir}/boost/statechart/*
%{_includedir}/boost/static_assert.hpp
%{_includedir}/boost/swap.hpp
%{_includedir}/boost/throw_exception.hpp
%{_includedir}/boost/token_functions.hpp
%{_includedir}/boost/token_iterator.hpp
%{_includedir}/boost/tokenizer.hpp
%dir %{_includedir}/boost/tr1
%{_includedir}/boost/tr1/*
%dir %{_includedir}/boost/tti
%{_includedir}/boost/tti/*
%dir %{_includedir}/boost/tuple
%{_includedir}/boost/tuple/*
%{_includedir}/boost/type.hpp
%dir %{_includedir}/boost/type_index
%{_includedir}/boost/type_index/*
%{_includedir}/boost/type_index.hpp
%dir %{_includedir}/boost/type_traits
%{_includedir}/boost/type_traits/*
%{_includedir}/boost/type_traits.hpp
%dir %{_includedir}/boost/typeof
%{_includedir}/boost/typeof/*
%dir %{_includedir}/boost/units
%{_includedir}/boost/units/*
%dir %{_includedir}/boost/unordered
%{_includedir}/boost/unordered/*
%{_includedir}/boost/unordered_map.hpp
%{_includedir}/boost/unordered_set.hpp
%dir %{_includedir}/boost/utility
%{_includedir}/boost/utility/*
%{_includedir}/boost/utility.hpp
%dir %{_includedir}/boost/uuid
%{_includedir}/boost/uuid/*
%dir %{_includedir}/boost/variant
%{_includedir}/boost/variant/*
%{_includedir}/boost/variant.hpp
%{_includedir}/boost/version.hpp
%{_includedir}/boost/visit_each.hpp
%dir %{_includedir}/boost/vmd
%{_includedir}/boost/vmd/*
%{_includedir}/boost/weak_ptr.hpp
%dir %{_includedir}/boost/xpressive
%{_includedir}/boost/xpressive/*
%files -n %{package_name}-devel
%defattr(-, root, root, -)
%{my_docdir}/README.boost-devel
#%%{_includedir}/boost
#%%{_libdir}/*.so
#%%{_datadir}/aclocal/*.m4
%files -n %{package_name}-doc-html
%defattr(-, root, root, -)
%doc %{my_docdir}/*
%exclude %{my_docdir}/LICENSE_1_0.txt
%exclude %{my_docdir}/README.boost-devel
%if %{with build_docs}
%files doc-man
%defattr(644, root, root, -)
%doc %{_mandir}/man3/*.3.gz
%doc %{_mandir}/man7/*.7.gz
%doc %{_mandir}/man9/*.9.gz
%endif
%if %{with package_pdf}
%files -n %{package_name}-doc-pdf
%defattr(-, root, root, -)
%doc ../boost_%{short_version}_pdf/*.pdf
%endif
%if %{with build_quickbook}
%files -n %{package_name}-quickbook
%defattr(-, root, root, -)
%{_bindir}/quickbook
%endif
%changelog