2007-01-16 00:06:09 +01:00
|
|
|
#
|
2010-09-16 09:41:49 +02:00
|
|
|
# spec file for package boost (Version 1.44.0)
|
2007-01-16 00:06:09 +01:00
|
|
|
#
|
2010-04-28 22:27:10 +02:00
|
|
|
# Copyright (c) 2010 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
|
|
|
|
|
2010-09-16 09:41:49 +02:00
|
|
|
%define ver 1.44.0
|
|
|
|
%define file_version 1_44_0
|
|
|
|
%define short_version 1_44
|
|
|
|
%define lib_appendix 1_44_0
|
|
|
|
|
|
|
|
#Version of autoconf archive the boost macros where taken from.
|
|
|
|
%define archive_version 20100819
|
2010-04-28 22:27:11 +02:00
|
|
|
|
|
|
|
#Only define to 1 to generate the man pages
|
|
|
|
%define build_docs 0
|
|
|
|
|
|
|
|
# Just hardcode build_mpi to 1 as soon as openmpi builds on all
|
|
|
|
# named architectures.
|
|
|
|
|
2010-05-20 10:16:39 +02:00
|
|
|
%ifarch s390 s390x ia64 hppa
|
2008-10-24 14:59:11 +02:00
|
|
|
%define build_mpi 0
|
|
|
|
%else
|
|
|
|
%define build_mpi 1
|
|
|
|
%endif
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2010-05-25 14:33:36 +02:00
|
|
|
%ifarch hppa
|
|
|
|
%define disable_long_double 1
|
|
|
|
%else
|
|
|
|
%define disable_long_double 0
|
|
|
|
%endif
|
|
|
|
|
2010-09-16 09:41:49 +02:00
|
|
|
%define boost_libs1 libboost_date_time%{lib_appendix} libboost_filesystem%{lib_appendix} libboost_graph%{lib_appendix}
|
|
|
|
%define boost_libs2 libboost_iostreams%{lib_appendix} libboost_math%{lib_appendix} libboost_test%{lib_appendix}
|
|
|
|
%define boost_libs3 libboost_program_options%{lib_appendix} libboost_python%{lib_appendix} libboost_serialization%{lib_appendix}
|
|
|
|
%define boost_libs4 libboost_signals%{lib_appendix} libboost_system%{lib_appendix} libboost_thread%{lib_appendix}
|
|
|
|
%define boost_libs5 libboost_wave%{lib_appendix} libboost_regex%{lib_appendix} libboost_regex%{lib_appendix}
|
2010-10-21 13:35:20 +02:00
|
|
|
%define boost_libs6 libboost_random%{lib_appendix}
|
2010-09-16 09:41:49 +02:00
|
|
|
|
2010-10-21 13:35:20 +02:00
|
|
|
%define most_libs %boost_libs1 %boost_libs2 %boost_libs3 %boost_libs4 %boost_libs5 %boost_libs6
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
%if %build_mpi
|
2010-04-28 22:27:11 +02:00
|
|
|
%define all_libs %{most_libs} libboost_mpi%{lib_appendix}
|
2008-11-17 16:44:58 +01:00
|
|
|
%else
|
|
|
|
%define all_libs %{most_libs}
|
|
|
|
%endif
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
%define debug_package_requires %{all_libs}
|
2008-04-10 13:09:23 +02:00
|
|
|
|
2007-01-16 00:06:09 +01:00
|
|
|
Name: boost
|
2010-04-28 22:27:11 +02:00
|
|
|
BuildRequires: boost-jam >= 3.1.18 dos2unix gcc-c++ libbz2-devel libicu-devel python-devel xorg-x11-devel
|
2010-09-16 09:41:49 +02:00
|
|
|
BuildRequires: chrpath 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
|
2010-04-28 22:27:11 +02:00
|
|
|
%if %build_docs
|
2010-09-16 09:41:49 +02:00
|
|
|
BuildRequires: docbook docbook-xsl-stylesheets doxygen libxslt python-devel texlive-latex
|
2010-04-28 22:27:11 +02:00
|
|
|
%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
|
2010-06-18 06:05:47 +02:00
|
|
|
License: BSD3c
|
2007-01-16 00:06:09 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Summary: Boost C++ Libraries
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-04-28 22:27:11 +02:00
|
|
|
Version: %{ver}
|
2010-10-25 17:58:31 +02:00
|
|
|
Release: 3
|
2010-04-28 22:27:11 +02:00
|
|
|
Source0: %{name}_%{file_version}.tar.bz2
|
2008-01-30 17:55:59 +01:00
|
|
|
Source1: boost-rpmlintrc
|
2010-09-16 09:41:49 +02:00
|
|
|
Source2: %{name}_%{short_version}_man.tar.bz2
|
|
|
|
Source3: %{name}_%{short_version}_pdf.tar.bz2
|
2010-04-28 22:27:11 +02:00
|
|
|
Source4: existing_extra_docs
|
2010-09-16 09:41:49 +02:00
|
|
|
Source5: boost-autoconf-%{archive_version}.tar.bz2
|
2007-01-16 00:06:09 +01:00
|
|
|
Patch1: boost-thread.patch
|
2010-04-28 22:27:11 +02:00
|
|
|
Patch2: boost-no_type_punning.patch
|
|
|
|
Patch4: boost-visit_each.diff
|
|
|
|
Patch8: boost-no_segfault_in_Regex_filter.patch
|
|
|
|
Patch19: boost-sane_versioning.patch
|
|
|
|
Patch20: boost-strict_aliasing.patch
|
|
|
|
Patch21: boost-lib64.patch
|
|
|
|
Patch50: boost-use_std_xml_catalog.patch
|
|
|
|
Patch51: boost-fix_documentation.patch
|
2008-11-17 16:44:58 +01:00
|
|
|
Recommends: %{all_libs}
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2009-02-20 21:48:27 +01:00
|
|
|
%define _docdir %{_datadir}/doc/packages/boost-%{version}
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
%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
|
2010-04-28 22:27:11 +02:00
|
|
|
dynamic libraries are found in their respective package. For development
|
2009-07-30 14:28:33 +02:00
|
|
|
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
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2007-01-16 00:06:09 +01:00
|
|
|
Summary: Development package for Boost C++
|
|
|
|
Group: Development/Libraries/C and C++
|
2009-04-18 13:52:51 +02:00
|
|
|
Requires: %{all_libs} libstdc++-devel
|
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
|
2010-04-28 22:27:11 +02:00
|
|
|
the documentation packages (html, man or pdf).
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n boost-license%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost License
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
AutoReqProv: on
|
2010-05-03 21:22:09 +02:00
|
|
|
Provides: boost-license = %{version}-%{release}
|
|
|
|
Obsoletes: boost-license < %{version}
|
2010-09-16 09:41:49 +02:00
|
|
|
%if 0%{?suse_version} >= 1120
|
2010-04-28 22:27:11 +02:00
|
|
|
BuildArch: noarch
|
2010-09-16 09:41:49 +02:00
|
|
|
%endif
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the license boost is provided under.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package doc-html
|
|
|
|
License: BSD3c
|
2010-09-16 09:41:49 +02:00
|
|
|
Summary: HTML documentation for the Boost C++ Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
AutoReqProv: on
|
2010-09-16 09:41:49 +02:00
|
|
|
%if 0%{?suse_version} >= 1120
|
2010-04-28 22:27:11 +02:00
|
|
|
BuildArch: noarch
|
2010-09-16 09:41:49 +02:00
|
|
|
%endif
|
2010-04-28 22:27:11 +02:00
|
|
|
|
|
|
|
%description doc-html
|
|
|
|
This package contains the documentation of the boost dynamic libraries
|
|
|
|
in HTML format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package doc-man
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2010-09-16 09:41:49 +02:00
|
|
|
Summary: Man documentation for the Boost C++ Libraries
|
2007-01-16 00:06:09 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-10-25 01:48:24 +02:00
|
|
|
AutoReqProv: on
|
2010-09-16 09:41:49 +02:00
|
|
|
%if 0%{?suse_version} >= 1120
|
2010-04-07 17:34:09 +02:00
|
|
|
BuildArch: noarch
|
2010-09-16 09:41:49 +02:00
|
|
|
%endif
|
2007-01-16 00:06:09 +01:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description doc-man
|
|
|
|
This package contains the documentation of the boost dynamic libraries
|
|
|
|
as man pages.
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package doc-pdf
|
|
|
|
License: BSD3c
|
2010-09-16 09:41:49 +02:00
|
|
|
Summary: PDF documentation for the Boost C++ Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
AutoReqProv: on
|
2010-09-16 09:41:49 +02:00
|
|
|
%if 0%{?suse_version} >= 1120
|
2010-04-28 22:27:11 +02:00
|
|
|
BuildArch: noarch
|
2010-09-16 09:41:49 +02:00
|
|
|
%endif
|
2010-04-28 22:27:11 +02:00
|
|
|
|
|
|
|
%description doc-pdf
|
|
|
|
This package contains the documentation of the boost dynamic libraries
|
|
|
|
in PDF format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libboost_date_time%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::Date.Time Runtime libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_date_time%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost Date.Time runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_filesystem%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::Filesystem Runtime Libraries
|
|
|
|
Group: System/Localization
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_filesystem%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Filesystem libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_graph%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::Graph Runtime Libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_graph%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Graph Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_iostreams%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::IOStreams Runtime Libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_iostreams%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::IOStreams Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_math%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::Math Runtime Libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_math%{lib_appendix}
|
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
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_mpi%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::MPI Runtime libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_mpi%{lib_appendix}
|
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
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_test%{lib_appendix}
|
|
|
|
|
2010-05-03 21:22:09 +02:00
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::Test Runtime Libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_test%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Test runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_program_options%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::ProgramOptions Runtime libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_program_options%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::ProgramOptions Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_python%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::Python Runtime Libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_python%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Python Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_serialization%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::Serialization Runtime Libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_serialization%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Serialization Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_signals%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::Signals Runtime Libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_signals%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Signals Runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_system%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::System Runtime Libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_system%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::System runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_thread%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::Thread Runtime Libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_thread%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Thread runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_wave%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: Boost::Wave Runtime Libraries
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_wave%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Wave runtime libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%package -n libboost_regex%{lib_appendix}
|
2010-06-18 06:05:47 +02:00
|
|
|
|
|
|
|
|
2010-04-28 22:27:10 +02:00
|
|
|
License: BSD3c
|
2008-10-12 00:56:50 +02:00
|
|
|
Summary: The Boost::Regex runtime library
|
|
|
|
Group: System/Libraries
|
2010-04-28 22:27:11 +02:00
|
|
|
Requires: boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%description -n libboost_regex%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
This package contains the Boost::Regex runtime library.
|
|
|
|
|
2010-09-16 09:41:49 +02:00
|
|
|
%package -n libboost_random%{lib_appendix}
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD3c
|
|
|
|
Summary: The Boost::Random runtime library
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: boost-license%{lib_appendix}
|
|
|
|
AutoReqProv: on
|
|
|
|
|
|
|
|
%description -n libboost_random%{lib_appendix}
|
|
|
|
This package contains the Boost:Random runtime library.
|
|
|
|
|
2008-10-12 00:56:50 +02:00
|
|
|
|
|
|
|
|
2007-01-16 00:06:09 +01:00
|
|
|
%prep
|
2010-04-28 22:27:11 +02:00
|
|
|
%if %build_docs
|
2010-09-16 09:41:49 +02:00
|
|
|
%setup -q -n %{name}_%{file_version} -a 5 -b 3
|
2010-04-28 22:27:11 +02:00
|
|
|
%else
|
2010-09-16 09:41:49 +02:00
|
|
|
%setup -q -n %{name}_%{file_version} -a 2 -a 5 -b 3
|
2010-04-28 22:27:11 +02:00
|
|
|
%endif
|
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 {} +
|
2010-04-28 22:27:11 +02:00
|
|
|
%patch1
|
|
|
|
%patch2
|
|
|
|
%patch4
|
|
|
|
%patch8
|
|
|
|
%patch19
|
|
|
|
%patch20
|
|
|
|
%patch21
|
|
|
|
%patch50
|
|
|
|
%patch51
|
|
|
|
|
2008-01-30 17:55:59 +01:00
|
|
|
#stupid build machinery copies .orig files
|
|
|
|
find . -name \*.orig -exec rm {} +
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
%build
|
2008-01-30 17:55:59 +01:00
|
|
|
find . -type f -exec chmod u+w {} +
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2007-01-16 00:06:09 +01:00
|
|
|
# Now build it
|
2008-11-17 16:44:58 +01:00
|
|
|
J_P=%{jobs}
|
2010-09-16 09:41:49 +02:00
|
|
|
J_G=$(getconf _NPROCESSORS_ONLN)
|
|
|
|
[ $J_G -gt 64 ] && J_G=64
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
if test -z "$JOBS"; then
|
|
|
|
JOBS=$J_G
|
|
|
|
else
|
|
|
|
test 1 -gt "$JOBS" && JOBS=1
|
|
|
|
fi
|
|
|
|
if test "$JOBS" == "0"; then
|
|
|
|
JOBS=1
|
|
|
|
fi
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
# In case you want more parallel jobs then autobuild grants you
|
|
|
|
#if [ $J_P -gt $J_I ]; then
|
|
|
|
# JOBS=$J_G
|
|
|
|
#fi
|
2010-05-25 14:33:36 +02:00
|
|
|
%if %{disable_long_double}
|
|
|
|
export LONG_DOUBLE_FLAGS="--disable-long-double"
|
|
|
|
%endif
|
2008-11-17 16:44:58 +01:00
|
|
|
BJAM_CONFIG="-d2 -j$JOBS -sICU_PATH=%{_prefix}"
|
2008-01-30 17:55:59 +01:00
|
|
|
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-11-17 16:44:58 +01:00
|
|
|
export EXPAT_INCLUDE=/usr/include EXPAT_LIBPATH=%{_libdir} REGEX_FLAGS="--with-icu"
|
|
|
|
export PYTHON_FLAGS
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
cat << EOF >user-config.jam
|
|
|
|
# Boost.Build Configuration
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
# Compiler configuration
|
|
|
|
using gcc ;
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
# Python configuration
|
|
|
|
using python : ${PYTHON_VERSION} : %{_prefix} ;
|
2010-04-28 22:27:11 +02:00
|
|
|
EOF
|
|
|
|
|
|
|
|
%if %build_docs
|
|
|
|
cat << EOF >>user-config.jam
|
|
|
|
using xsltproc ;
|
|
|
|
|
|
|
|
using boostbook ;
|
|
|
|
|
|
|
|
using doxygen ;
|
|
|
|
EOF
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %build_mpi
|
|
|
|
cat << EOF >>user-config.jam
|
2008-11-17 16:44:58 +01:00
|
|
|
using mpi ;
|
|
|
|
EOF
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
# Set PATH, MANPATH and LD_LIBRARY_PATH
|
2009-04-18 13:52:51 +02:00
|
|
|
source /var/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh
|
2008-11-20 15:17:22 +01:00
|
|
|
%endif
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2010-05-25 14:33:36 +02:00
|
|
|
%{_bindir}/bjam ${BJAM_CONFIG} --user-config=user-config.jam ${LONG_DOUBLE_FLAGS} cflags="%{optflags}" cxxflags="%{optflags}" stage || \
|
2010-04-28 22:27:11 +02:00
|
|
|
(echo "Not all Boost libraries built properly."; exit 1)
|
|
|
|
|
|
|
|
%if %build_docs
|
|
|
|
cd doc
|
|
|
|
%{_bindir}/bjam ${BJAM_CONFIG} --user-config=../user-config.jam --v2 man
|
|
|
|
%endif
|
2007-01-16 00:06:09 +01:00
|
|
|
|
|
|
|
%install
|
2008-11-17 16:44:58 +01:00
|
|
|
# Now build it
|
|
|
|
J_P=%{jobs}
|
2010-09-16 09:41:49 +02:00
|
|
|
J_G=$(getconf _NPROCESSORS_ONLN)
|
|
|
|
[ $J_G -gt 64 ] && J_G=64
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
if test -z "$JOBS"; then
|
|
|
|
JOBS=$J_G
|
|
|
|
else
|
|
|
|
test 1 -gt "$JOBS" && JOBS=1
|
|
|
|
fi
|
|
|
|
if test "$JOBS" == "0"; then
|
|
|
|
JOBS=1
|
|
|
|
fi
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
# In case you want more parallel jobs then autobuild grants you
|
2010-04-28 22:27:11 +02:00
|
|
|
if [ $J_P -gt $J_G ]; then
|
2008-11-17 16:44:58 +01:00
|
|
|
JOBS=$J_G
|
|
|
|
fi
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
BJAM_CONFIG="-d2 -j$JOBS -sICU_PATH=%{_prefix}"
|
|
|
|
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"
|
|
|
|
export EXPAT_INCLUDE=/usr/include EXPAT_LIBPATH=%{_libdir} REGEX_FLAGS="--with-icu"
|
|
|
|
export PYTHON_FLAGS
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
# Set PATH, MANPATH and LD_LIBRARY_PATH
|
2008-11-20 15:17:22 +01:00
|
|
|
%if %build_mpi
|
2009-04-18 13:52:51 +02:00
|
|
|
source /var/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh
|
2008-11-20 15:17:22 +01:00
|
|
|
%endif
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2010-05-25 14:33:36 +02:00
|
|
|
%{_bindir}/bjam ${BJAM_CONFIG} ${LONG_DOUBLE_FLAGS} --user-config=user-config.jam \
|
2008-11-17 16:44:58 +01:00
|
|
|
--prefix=%{buildroot}%{_prefix} \
|
|
|
|
--exec-prefix=$%{buildroot}%{_prefix} \
|
|
|
|
--libdir=%{buildroot}%{_libdir} \
|
|
|
|
--includedir=%{buildroot}%{_includedir} \
|
|
|
|
install || echo "Not all Boost libraries built properly."
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2009-02-20 21:48:27 +01:00
|
|
|
mkdir -p %{buildroot}%{_docdir}
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-11-17 16:44:58 +01:00
|
|
|
pushd %{buildroot}%{_libdir}
|
2010-09-16 09:41:49 +02:00
|
|
|
blibs=$(find . -name \*.so.%{version})
|
|
|
|
echo $blibs | xargs chrpath -d
|
|
|
|
|
|
|
|
for lib in ${blibs}; do
|
2008-11-17 16:44:58 +01:00
|
|
|
BASE=$(basename ${lib} .so.%{version})
|
|
|
|
SONAME_MT="$BASE-mt.so"
|
|
|
|
ln -sf ${lib} $SONAME_MT
|
2008-10-22 17:41:57 +02:00
|
|
|
done
|
2008-11-17 16:44:58 +01:00
|
|
|
popd
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-01-30 17:55:59 +01:00
|
|
|
#install the man pages
|
2010-04-28 22:27:11 +02:00
|
|
|
rm -rf doc/man/man3/boost::units::operator
|
|
|
|
|
|
|
|
for sec in 3 7 9; do
|
|
|
|
install -d %buildroot/%{_mandir}/man${sec}
|
2008-01-30 17:55:59 +01:00
|
|
|
done
|
2010-04-28 22:27:11 +02:00
|
|
|
pushd doc/man
|
|
|
|
rm -f *.manifest
|
|
|
|
tar -cf - .| tar -C %{buildroot}/%{_mandir} -xvf -
|
2008-01-30 17:55:59 +01:00
|
|
|
popd
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
#install the pdf documentation
|
|
|
|
install -d %buildroot/%{_docdir}/pdf
|
2010-09-16 09:41:49 +02:00
|
|
|
install -p -m 644 ../%{name}_%{short_version}_pdf/*.pdf %{buildroot}/%{_docdir}/pdf/
|
2010-04-28 22:27:11 +02:00
|
|
|
|
2009-02-16 14:08:16 +01:00
|
|
|
#install autoconf macros
|
|
|
|
install -d %{buildroot}%{_datadir}/aclocal
|
|
|
|
install -m 644 m4/*.m4 %{buildroot}%{_datadir}/aclocal
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2008-01-30 17:55:59 +01:00
|
|
|
#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
|
2009-02-23 12:40:30 +01:00
|
|
|
find . -name \*.htm\* -o -name \*.gif -o -name \*.css -o -name \*.jpg -o -name \*.png -o -name \*.ico | \
|
2010-04-28 22:27:11 +02:00
|
|
|
tar --files-from=%{S:4} -cf - --files-from=- | tar -C %{buildroot}%{_docdir} -xf -
|
2009-02-20 21:48:27 +01:00
|
|
|
rm -rf %{buildroot}%{_docdir}/boost
|
|
|
|
ln -s /usr/include/boost %{buildroot}%{_docdir}
|
|
|
|
ln -s ../LICENSE_1_0.txt %{buildroot}%{_docdir}/libs
|
2009-03-03 21:54:43 +01:00
|
|
|
#only for documentation, doesn't need to be executable
|
2009-02-20 21:48:27 +01:00
|
|
|
find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} +
|
2009-04-18 13:52:51 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.a
|
2008-01-30 17:55:59 +01:00
|
|
|
#symlink dupes
|
|
|
|
%if 0%suse_version > 1020
|
|
|
|
%fdupes %buildroot
|
|
|
|
%endif
|
2007-01-16 00:06:09 +01:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%post -n libboost_date_time%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%post -n libboost_filesystem%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%post -n libboost_iostreams%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%post -n libboost_test%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%post -n libboost_program_options%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%post -n libboost_python%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%post -n libboost_regex%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%post -n libboost_serialization%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%post -n libboost_signals%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%post -n libboost_thread%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%post -n libboost_math%{lib_appendix} -p /sbin/ldconfig
|
2008-10-23 17:06:19 +02:00
|
|
|
%if %build_mpi
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%post -n libboost_mpi%{lib_appendix} -p /sbin/ldconfig
|
2008-10-23 17:06:19 +02:00
|
|
|
%endif
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-09-16 09:41:49 +02:00
|
|
|
%post -n libboost_graph%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-09-16 09:41:49 +02:00
|
|
|
%post -n libboost_system%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-09-16 09:41:49 +02:00
|
|
|
%post -n libboost_wave%{lib_appendix} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libboost_random%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_date_time%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_filesystem%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_iostreams%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_test%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_program_options%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_python%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_regex%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_serialization%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_signals%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_thread%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_math%{lib_appendix} -p /sbin/ldconfig
|
2008-10-23 17:06:19 +02:00
|
|
|
%if %build_mpi
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_mpi%{lib_appendix} -p /sbin/ldconfig
|
2008-10-23 17:06:19 +02:00
|
|
|
%endif
|
2008-10-22 17:41:57 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_graph%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_system%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%postun -n libboost_wave%{lib_appendix} -p /sbin/ldconfig
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-09-16 09:41:49 +02:00
|
|
|
%postun -n libboost_random%{lib_appendix} -p /sbin/ldconfig
|
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n boost-license%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2009-03-03 21:54:43 +01:00
|
|
|
%dir %{_docdir}
|
2009-02-20 21:48:27 +01:00
|
|
|
%doc %{_docdir}/LICENSE_1_0.txt
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_date_time%{lib_appendix}
|
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
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_filesystem%{lib_appendix}
|
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
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_graph%{lib_appendix}
|
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
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_iostreams%{lib_appendix}
|
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
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_math%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_math_*.so.*
|
2010-04-07 17:34:10 +02:00
|
|
|
|
2010-04-07 17:06:34 +02:00
|
|
|
%if %build_mpi
|
2010-04-28 22:27:10 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_mpi%{lib_appendix}
|
2008-10-12 00:56:50 +02:00
|
|
|
%defattr(-, root, root, -)
|
2008-10-22 17:41:57 +02:00
|
|
|
%{_libdir}/libboost_mpi*.so.*
|
2008-11-17 16:44:58 +01:00
|
|
|
%{_libdir}/mpi.so
|
2008-10-23 17:06:19 +02:00
|
|
|
%endif
|
2008-10-12 00:56:50 +02:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_test%{lib_appendix}
|
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
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_program_options%{lib_appendix}
|
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
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_python%{lib_appendix}
|
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
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_serialization%{lib_appendix}
|
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
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_signals%{lib_appendix}
|
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
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_system%{lib_appendix}
|
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
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_thread%{lib_appendix}
|
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
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_wave%{lib_appendix}
|
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
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files -n libboost_regex%{lib_appendix}
|
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
|
|
|
|
2010-09-16 09:41:49 +02:00
|
|
|
%files -n libboost_random%{lib_appendix}
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%{_libdir}/libboost_random*.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
|
2008-11-28 16:22:25 +01:00
|
|
|
%if %build_mpi
|
|
|
|
%exclude %{_libdir}/mpi.so
|
|
|
|
%endif
|
2009-02-16 14:08:16 +01:00
|
|
|
%{_datadir}/aclocal/*.m4
|
2007-01-16 00:06:09 +01:00
|
|
|
|
2010-04-28 22:27:11 +02:00
|
|
|
%files doc-html
|
2008-01-30 17:55:59 +01:00
|
|
|
%defattr(-, root, root, -)
|
2010-04-28 22:27:11 +02:00
|
|
|
%doc %{_docdir}/*
|
|
|
|
%exclude %{_docdir}/pdf
|
|
|
|
|
|
|
|
%files doc-man
|
|
|
|
%defattr(644, root, root, -)
|
2008-01-30 17:55:59 +01:00
|
|
|
%doc %{_mandir}/man3/*.3.gz
|
|
|
|
%doc %{_mandir}/man7/*.7.gz
|
2010-04-28 22:27:11 +02:00
|
|
|
%doc %{_mandir}/man9/*.9.gz
|
|
|
|
|
|
|
|
%files doc-pdf
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%doc %{_docdir}/pdf
|
2008-01-18 18:43:35 +01:00
|
|
|
|
2007-03-24 19:51:47 +01:00
|
|
|
%changelog
|