1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732 |
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- %define _unpackaged_files_terminate_build 1
- # Support for documentation installation As the %%doc macro erases the
- # target directory ($RPM_BUILD_ROOT%%{_docdir}/%%{name}), manually
- # installed documentation must be saved into a temporary dedicated
- # directory.
- # XXX note that as of rpm 4.9.1, this shouldn't be necessary anymore.
- # We should be able to install directly.
- %global boost_docdir __tmp_docdir
- %global boost_examplesdir __tmp_examplesdir
- %bcond_without context
- %bcond_without python3
- %bcond_with mpich
- %bcond_with openmpi
- %define major 1
- %define minor 72
- %define teeny 0
- %define tarname boost
- %define lnkver %{major}_%{minor}
- %define pkgver %{major}_%{minor}_%{teeny}
- %ifnarch %{ix86} x86_64
- # Avoid using Boost.Context on non-x86 arches. s390 is not
- # supported at all and there were _syntax errors_ in PPC code. This
- # should be enabled on a case-by-case basis as the arches are tested
- # and fixed.
- %bcond_with context
- %else
- %bcond_without context
- %endif
- Summary: Portable C++ source libraries
- Summary(ja): ポータブルな C++ ソースライブラリ
- Name: libboost
- Version: %{major}.%{minor}.%{teeny}
- Release: 2%{?_dist_release}
- Group: system
- Vendor: Project Vine
- Distribution: Vine Linux
- License: distributable
- URL: http://www.boost.org/
- Source0: http://downloads.sourceforge.net/%{tarname}/%{tarname}_%{pkgver}.tar.bz2
- Source1: ver.py
- Source2: libboost_thread.so
- BuildRequires: python-devel apache2-devel bzip2-devel zlib-devel libicu-devel
- BuildRequires: libaio-devel lam
- BuildRequires: libquadmath-devel
- %if %{with python3}
- BuildRequires: python3-devel
- %endif
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- # https://svn.boost.org/trac/boost/ticket/6150
- Patch4: 0001-fix-non-utf8-files.patch
- # Add a manual page for bjam, based on the on-line documentation:
- # http://www.boost.org/boost-build2/doc/html/bbv2/overview.html
- Patch5: 0002-add-bjam-man-page.patch
- # https://bugzilla.redhat.com/show_bug.cgi?id=828856
- # https://bugzilla.redhat.com/show_bug.cgi?id=828857
- # https://svn.boost.org/trac/boost/ticket/6701
- Patch15: 0003-pool.patch
- # https://svn.boost.org/trac/boost/ticket/5637
- Patch25: 0004-mpl-print.patch
- # https://svn.boost.org/trac/boost/ticket/9038
- Patch51: 0005-pool-test_linking.patch
- # https://bugzilla.redhat.com/show_bug.cgi?id=1102667
- Patch61: 0006-python-libpython_dep.patch
- Patch62: 0007-python-abi_letters.patch
- # https://bugzilla.redhat.com/show_bug.cgi?id=1190039
- Patch65: 0008-build-optflags.patch
- # Prevent gcc.jam from setting -m32 or -m64.
- Patch68: 0009-address-model.patch
- # https://bugzilla.redhat.com/show_bug.cgi?id=1318383
- Patch82: 0010-no-rpath.patch
- # https://bugzilla.redhat.com/show_bug.cgi?id=1541035
- # deprecated in upstream.
- #Patch83: boost-1.66.0-bjam-build-flags.patch
- # https://bugzilla.redhat.com/show_bug.cgi?id=1673669
- # fixed in upstream.
- #Patch84: boost-1.69-random.patch
- # https://github.com/boostorg/mpi/pull/81
- # fixed in upstream.
- #Patch85: boost-1.69-mpi-c_data.patch
- # https://bugzilla.redhat.com/show_bug.cgi?id=1818723
- Patch86: 0011-format-allocator.patch
- Obsoletes: %{name}-date-time-devel %{name}-filesystem-devel %{name}-graph-devel
- Obsoletes: %{name}-iostreams-devel %{name}-program-options-devel
- Obsoletes: %{name}-python-devel %{name}-regex-devel
- Obsoletes: %{name}-serialization-devel %{name}-signals-devel %{name}-test-devel
- Obsoletes: %{name}-thread-devel %{name}-wave-devel
- %description
- Boost provides free peer-reviewed portable C++ source libraries. The emphasis
- is on libraries which work well with the C++ Standard Library. The libraries
- are intended to be widely useful, and are in regular use by thousands of
- programmers across a broad spectrum of applications.
- A further goal is to establish "existing practice" and provide reference
- implementations so that Boost libraries are suitable for eventual
- standardization. Ten Boost libraries will be included in the C++ Standards
- Committee's upcoming C++ Standard Library Technical Report as a step toward
- becoming part of a future C++ Standard.
- %description -l ja
- Boost は公開レビューされたフリーのC++ライブラリ群です。 C++ の標準ライブラリに
- 準拠することに重点を置いて開発されています。使いやすく、広い分野のアプリ
- ケーションにおいて日常的に多くの開発者に用いられることを目指しています。
- さらなる目標は、最終的な標準化に適合した「存在する実例」としてリファレンス実装
- を提供することです。10 の Boost ライブラリが、将来の C++ 標準になるための一歩
- として、C++ 標準化委員会が策定中の C++ 標準ライブラリテクニカルレポートに
- 含まれる予定です。
- %package atomic
- Summary: Run-Time component of boost atomic library
- Group: system
- %description atomic
- 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 chrono
- Summary: Run-Time component of boost chrono library
- Group: system
- Requires: %{name}-system = %{version}-%{release}
- %description chrono
- Run-Time support for Boost.Chrono, a set of useful time utilities.
- %package container
- Summary: Run-Time component of boost container library
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description 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 comply with C++03.
- %if %{with context}
- %package context
- Summary: Run-Time component of boost context switching library
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description context
- Run-Time support for Boost.Context, a foundational library that
- provides a sort of cooperative multitasking on a single thread.
- %package coroutine
- Summary: Run-Time component of boost coroutine library
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description coroutine
- Run-Time support for Boost.Coroutine, a library that provides
- generalized subroutines which allow multiple entry points for
- suspending and resuming execution.
- %endif
- %package contract
- Summary: Run-time component of boost contract library
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description contract
- Run-time support for boost contract library.
- Contract programming for C++. All contract programming features are supported:
- Subcontracting, class invariants, postconditions (with old and return values),
- preconditions, customizable actions on assertion failure (e.g., terminate
- or throw), optional compilation and checking of assertions, etc,
- from Lorenzo Caminiti.
- %package date-time
- Summary: Set of data-time libralies in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description date-time
- Set of data-time libralies in %{name}
- %package fiber
- Summary: Set of fiber libralies in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description fiber
- Set of fiber libralies in %{name}
- %package filesystem
- Summary: Set of filesystem operation libralies in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description filesystem
- Set of filesystem operation libralies in %{name}
- %package graph
- Summary: Set of Graphviz libralies in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description graph
- Set of Graphviz libralies in %{name}
- %package iostreams
- Summary: Set of streams and i/o filters libralies in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description iostreams
- Set of streams and i/o filters libralies in %{name}
- %package locale
- Summary: Run-Time component of boost locale library
- Group: system
- Requires: %{name}-chrono = %{version}-%{release}
- Requires: %{name}-system = %{version}-%{release}
- Requires: %{name}-thread = %{version}-%{release}
- %description locale
- Run-Time support for Boost.Locale, a set of localization and Unicode
- handling tools.
- %package log
- Summary: Run-Time component of boost logging library
- Group: system
- %description log
- Boost.Log library aims to make logging significantly easier for the
- application developer. It provides a wide range of out-of-the-box
- tools along with public interfaces for extending the library.
- %package math
- Summary: Set of math libralies in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description math
- Set of math libralies in %{name}
- %package program-options
- Summary: Set of program options libralies in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description program-options
- Set of program options libralies in %{name}
- %package python
- Summary: Set of Python libralies in %{name}
- Group: programming
- Requires: %{name} = %{version}-%{release}
- %description python
- Set of Python libralies in %{name}
- %if %{with python3}
- %package python3
- Summary: Run-Time component of boost python library for Python 3
- Group: programming
- %description python3
- The Boost Python Library is a framework for interfacing Python and
- C++. It allows you to quickly and seamlessly expose C++ classes,
- functions and objects to Python, and vice versa, using no special
- tools -- just your C++ compiler. This package contains run-time
- support for Boost Python Library compiled for Python 3.
- %package python3-devel
- Summary: Shared object symbolic links for Boost.Python 3
- Group: programming
- Requires: %{name}-python3 = %{version}-%{release}
- Requires: %{name}-devel = %{version}-%{release}
- %description python3-devel
- Shared object symbolic links for Python 3 variant of Boost.Python.
- %endif
- %package random
- Summary: Set of random number generation libralies in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description random
- Set of random number generation libralies in %{name}
- %package regex
- Summary: Set of regular expression libralies in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description regex
- Set of regular expression libralies in %{name}
- %package serialization
- Summary: Set of serialization libralies in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description serialization
- Set of serialization libralies in %{name}
- %package stacktrace
- Summary: Call-stack libraries in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description stacktrace
- simple C++03 library that provides information about call sequence in a
- human-readable form
- %package system
- Summary: Operating system support
- Requires: %{name} = %{version}-%{release}
- %description system
- Operating system support, including the diagnostics support
- that will be part of the C++0x standard library
- %package test
- Summary: Set of libraries for writing and executing tests in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description test
- Set of libraries for writing and executing tests in %{name}
- %package thread
- Summary: Set of multi-thread libraries in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description thread
- Set of multi-thread libraries in %{name}
- %package timer
- Summary: Run-Time component of boost timer library
- Group: system
- Requires: %{name}-chrono = %{version}-%{release}
- Requires: %{name}-system = %{version}-%{release}
- %description timer
- "How long does my C++ code take to run?"
- The Boost Timer library answers that question and does so portably,
- with as little as one #include and one additional line of code.
- %package type_erasure
- Summary: Run-Time component of boost type erasure library
- Group: system
- Requires: %{name}-chrono = %{version}-%{release}
- Requires: %{name}-system = %{version}-%{release}
- %description type_erasure
- The Boost.TypeErasure library provides runtime polymorphism in C++
- that is more flexible than that provided by the core language.
- %package wave
- Summary: Set of wave libraries in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description wave
- Set of wave libraries in %{name}
- %package devel
- Summary: Header files and libraries for developing apps which will use %{name}
- Summary(ja): %{name}の開発に必要なヘッダファイル及びライブラリ
- Group: programming
- Requires: %{name} = %{version}-%{release}
- Requires: libicu-devel
- Requires: libquadmath-devel
- %description devel
- The %{name}-devel package contains the header files and libraries needed
- to develop programs that use the Boost library.
- %description devel -l ja
- %{name}-devel パッケージは Boost ライブラリを使うプログラムの開発に必要な
- ヘッダファイルやライブラリを含んでいます。
- %package doc
- Summary: Documents of %{name}
- Summary(ja): %{name}のドキュメント
- Group: documentation
- Requires: %{name} = %{version}-%{release}
- %description doc
- The %{name}-doc package contains the documents about the boost library.
- %description doc -l ja
- %{name}-doc パッケージは Boost ライブラリについてのドキュメントを含んでいます。
- %package build
- Summary: Cross platform build system for C++ projects
- Group: programming
- Requires: %{name}-jam
- BuildArch: noarch
- %description build
- Boost.Build is an easy way to build C++ projects, everywhere. You name
- your pieces of executable and libraries and list their sources. Boost.Build
- takes care about compiling your sources with the right options,
- creating static and shared libraries, making pieces of executable, and other
- chores -- whether you're using GCC, MSVC, or a dozen more supported
- C++ compilers -- on Windows, OSX, Linux and commercial UNIX systems.
- %package doctools
- Summary: Tools for working with Boost documentation
- Group: publishing
- Requires: docbook-dtds
- Requires: docbook-style-xsl
- %description doctools
- Tools for working with Boost documentation in BoostBook or QuickBook format.
- %package jam
- Summary: A low-level build tool
- Group: programming
- %description jam
- Boost.Jam (BJam) is the low-level build engine tool for Boost.Build.
- Historically, Boost.Jam is based on on FTJam and on Perforce Jam but has grown
- a number of significant features and is now developed independently
- %if %{with openmpi}
- %package openmpi
- Summary: Run-Time component of Boost.MPI library
- Group: system
- BuildRequires: openmpi-devel
- Requires: %{name}-serialization = %{version}-%{release}
- %description openmpi
- Run-Time support for Boost.MPI-OpenMPI, a library providing a clean C++
- API over the OpenMPI implementation of MPI.
- %package openmpi-python
- Summary: Python run-time component of Boost.MPI library
- Group: programming
- Requires: %{name}-openmpi%{?_isa} = %{version}-%{release}
- Requires: %{name}-python%{?_isa} = %{version}-%{release}
- Requires: %{name}-serialization%{?_isa} = %{version}-%{release}
- %description openmpi-python
- Python support for Boost.MPI-OpenMPI, a library providing a clean C++
- API over the OpenMPI implementation of MPI.
- %package graph-openmpi
- Summary: Run-Time component of parallel boost graph library
- Group: system
- Requires: %{name}-openmpi%{?_isa} = %{version}-%{release}
- Requires: %{name}-serialization%{?_isa} = %{version}-%{release}
- %description graph-openmpi
- Run-Time support for the Parallel BGL graph library. The interface and
- graph components are generic, in the same sense as the the Standard
- Template Library (STL). This libraries in this package use OpenMPI
- back-end to do the parallel work.
- %endif
- %if %{with mpich}
- %package mpich
- Summary: Run-Time component of Boost.MPI library
- Group: system
- BuildRequires: mpich-devel
- Requires: %{name}-serialization%{?_isa} = %{version}-%{release}
- Provides: boost-mpich2 = %{version}-%{release}
- Obsoletes: boost-mpich2 < 1.53.0-9
- %description mpich
- Run-Time support for Boost.MPI-MPICH, a library providing a clean C++
- API over the MPICH implementation of MPI.
- %package mpich-python
- Summary: Python run-time component of Boost.MPI library
- Group: programming
- Requires: %{name}-mpich%{?_isa} = %{version}-%{release}
- Requires: %{name}-python%{?_isa} = %{version}-%{release}
- Requires: %{name}-serialization%{?_isa} = %{version}-%{release}
- Provides: boost-mpich2-python = %{version}-%{release}
- Obsoletes: boost-mpich2-python < 1.53.0-9
- %description mpich-python
- Python support for Boost.MPI-MPICH, a library providing a clean C++
- API over the MPICH implementation of MPI.
- %package graph-mpich
- Summary: Run-Time component of parallel boost graph library
- Group: system
- Requires: %{name}-mpich%{?_isa} = %{version}-%{release}
- Requires: %{name}-serialization%{?_isa} = %{version}-%{release}
- Provides: boost-graph-mpich2 = %{version}-%{release}
- Obsoletes: boost-graph-mpich2 < 1.53.0-9
- %description graph-mpich
- Run-Time support for the Parallel BGL graph library. The interface and
- graph components are generic, in the same sense as the the Standard
- Template Library (STL). This libraries in this package use MPICH
- back-end to do the parallel work.
- %endif
- #### compat32 packages ####
- %package -n compat32-%{name}-atomic
- Summary: Run-Time component of boost atomic library
- Group: system
- %description -n compat32-%{name}-atomic
- 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 compat32-%{name}-chrono
- Summary: Run-Time component of boost chrono library
- Group: system
- Requires: compat32-%{name}-system = %{version}-%{release}
- %description -n compat32-%{name}-chrono
- Run-Time support for Boost.Chrono, a set of useful time utilities.
- %package -n compat32-%{name}-container
- Summary: Run-Time component of boost container library
- Group: system
- %description -n compat32-%{name}-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 comply with C++03.
- %if %{with context}
- %package -n compat32-%{name}-context
- Summary: Run-Time component of boost context switching library
- Group: system
- %description -n compat32-%{name}-context
- Run-Time support for Boost.Context, a foundational library that
- provides a sort of cooperative multitasking on a single thread.
- %package -n compat32-%{name}-coroutine
- Summary: Run-Time component of boost coroutine library
- Group: system
- %description -n compat32-%{name}-coroutine
- Run-Time support for Boost.Coroutine, a library that provides
- generalized subroutines which allow multiple entry points for
- suspending and resuming execution.
- %endif
- %package -n compat32-%{name}-contract
- Summary: Run-time component of boost contract library
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description -n compat32-%{name}-contract
- Run-time support for boost contract library.
- Contract programming for C++. All contract programming features are supported:
- Subcontracting, class invariants, postconditions (with old and return values),
- preconditions, customizable actions on assertion failure (e.g., terminate
- or throw), optional compilation and checking of assertions, etc,
- from Lorenzo Caminiti.
- %package -n compat32-%{name}-date-time
- Summary: Set of data-time libralies in %{name}
- Group: system
- %description -n compat32-%{name}-date-time
- Set of data-time libralies in %{name}
- %package -n compat32-%{name}-fiber
- Summary: Set of fiber libralies in %{name}
- Group: system
- %description -n compat32-%{name}-fiber
- Set of filesystem operation libralies in %{name}
- %package -n compat32-%{name}-filesystem
- Summary: Set of filesystem operation libralies in %{name}
- Group: system
- %description -n compat32-%{name}-filesystem
- Set of filesystem operation libralies in %{name}
- %if 0
- %package -n compat32-%{name}-graph
- Summary: Set of Graphviz libralies in %{name}
- Group: system
- %description -n compat32-%{name}-graph
- Set of Graphviz libralies in %{name}
- %endif
- %package -n compat32-%{name}-iostreams
- Summary: Set of streams and i/o filters libralies in %{name}
- Group: system
- %description -n compat32-%{name}-iostreams
- Set of streams and i/o filters libralies in %{name}
- %if 0
- %package -n compat32-%{name}-locale
- Summary: Run-Time component of boost locale library
- Group: system
- Requires: compat32-%{name}-chrono = %{version}-%{release}
- Requires: compat32-%{name}-system = %{version}-%{release}
- Requires: compat32-%{name}-thread = %{version}-%{release}
- %description -n compat32-%{name}-locale
- Run-Time support for Boost.Locale, a set of localization and Unicode
- handling tools.
- %endif
- %if 0
- %package -n compat32-%{name}-log
- Summary: Run-Time component of boost logging library
- Group: system
- %description -n compat32-%{name}-log
- Boost.Log library aims to make logging significantly easier for the
- application developer. It provides a wide range of out-of-the-box
- tools along with public interfaces for extending the library.
- %endif
- %package -n compat32-%{name}-math
- Summary: Set of math libralies in %{name}
- Group: system
- %description -n compat32-%{name}-math
- Set of math libralies in %{name}
- %package -n compat32-%{name}-program-options
- Summary: Set of program options libralies in %{name}
- Group: system
- %description -n compat32-%{name}-program-options
- Set of program options libralies in %{name}
- %if 0
- %package -n compat32-%{name}-python
- Summary: Set of Python libralies in %{name}
- Group: programming
- %description -n compat32-%{name}-python
- Set of Python libralies in %{name}
- %endif
- %if 0
- %if %{with python3}
- %package -n compat32-%{name}-python3
- Summary: Run-Time component of boost python library for Python 3
- Group: programming
- %description -n compat32-%{name}-python3
- The Boost Python Library is a framework for interfacing Python and
- C++. It allows you to quickly and seamlessly expose C++ classes,
- functions and objects to Python, and vice versa, using no special
- tools -- just your C++ compiler. This package contains run-time
- support for Boost Python Library compiled for Python 3.
- %endif
- %endif
- %package -n compat32-%{name}-random
- Summary: Set of random number generation libralies in %{name}
- Group: system
- %description -n compat32-%{name}-random
- Set of random number generation libralies in %{name}
- %if 0
- %package -n compat32-%{name}-regex
- Summary: Set of regular expression libralies in %{name}
- Group: system
- %description -n compat32-%{name}-regex
- Set of regular expression libralies in %{name}
- %endif
- %package -n compat32-%{name}-serialization
- Summary: Set of serialization libralies in %{name}
- Group: system
- %description -n compat32-%{name}-serialization
- Set of serialization libralies in %{name}
- %package -n compat32-%{name}-stacktrace
- Summary: Call-stack libraries in %{name}
- Group: system
- Requires: %{name} = %{version}-%{release}
- %description -n compat32-%{name}-stacktrace
- simple C++03 library that provides information about call sequence in a
- human-readable form
- %package -n compat32-%{name}-system
- Summary: Operating system support
- Group: system
- %description -n compat32-%{name}-system
- Operating system support, including the diagnostics support
- that will be part of the C++0x standard library
- %package -n compat32-%{name}-test
- Summary: Set of libraries for writing and executing tests in %{name}
- Group: system
- %description -n compat32-%{name}-test
- Set of libraries for writing and executing tests in %{name}
- %package -n compat32-%{name}-thread
- Summary: Set of multi-thread libraries in %{name}
- Group: system
- %description -n compat32-%{name}-thread
- Set of multi-thread libraries in %{name}
- %package -n compat32-%{name}-timer
- Summary: Run-Time component of boost timer library
- Group: system
- Requires: compat32-%{name}-chrono = %{version}-%{release}
- Requires: compat32-%{name}-system = %{version}-%{release}
- %description -n compat32-%{name}-timer
- "How long does my C++ code take to run?"
- The Boost Timer library answers that question and does so portably,
- with as little as one #include and one additional line of code.
- %package -n compat32-%{name}-type_erasure
- Summary: Run-Time component of boost type erasure library
- Group: system
- Requires: compat32-%{name}-chrono = %{version}-%{release}
- Requires: compat32-%{name}-system = %{version}-%{release}
- %description -n compat32-%{name}-type_erasure
- The Boost.TypeErasure library provides runtime polymorphism in C++
- that is more flexible than that provided by the core language.
- %package -n compat32-%{name}-wave
- Summary: Set of wave libraries in %{name}
- Group: system
- %description -n compat32-%{name}-wave
- Set of wave libraries in %{name}
- %debug_package
- %prep
- %setup -q -n %{tarname}_%{pkgver}
- %autopatch -p1
- # At least python2_version needs to be a macro so that it's visible in
- # %%install as well.
- %global python2_version %(/usr/bin/python2 %{SOURCE1})
- %if %{with python3}
- %global python3_version %(/usr/bin/python3 %{SOURCE1})
- %global python3_abiflags %(/usr/bin/python3-config --abiflags)
- %endif
- %build
- : PYTHON2_VERSION=%{python2_version}
- %if %{with python3}
- : PYTHON3_VERSION=%{python3_version}
- : PYTHON3_ABIFLAGS=%{python3_abiflags}
- %endif
- # There are many strict aliasing warnings, and it's not feasible to go
- # through them all at this time.
- # There are also lots of noisy but harmless unused local typedef warnings.
- export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-unused-local-typedefs -Wno-deprecated-declarations"
- cat > ./tools/build/src/user-config.jam << "EOF"
- import os ;
- local RPM_OPT_FLAGS = [ os.environ RPM_OPT_FLAGS ] ;
- using gcc : : : <compileflags>$(RPM_OPT_FLAGS) ;
- %if %{with openmpi} || %{with mpich}
- using mpi ;
- %endif
- using python : %{python2_version} : /usr/bin/python2 : /usr/include/python%{python2_version} : : : : ;
- EOF
- ./bootstrap.sh --with-toolset=gcc --with-icu
- # N.B. When we build the following with PCH, parts of boost (math
- # library in particular) end up being built second time during
- # installation. Unsure why that is, but all sub-builds need to be
- # built with pch=off to avoid this.
- echo ============================= build serial ==================
- ./b2 -d+2 -q %{?_smp_mflags} \
- --without-mpi --without-graph_parallel --build-dir=serial \
- %if !%{with context}
- --without-context --without-coroutine --without-coroutine2 \
- --without-fiber \
- %endif
- variant=release threading=multi debug-symbols=on pch=off \
- python=%{python2_version} stage
- # See libs/thread/build/Jamfile.v2 for where this file comes from.
- if [ $(find serial -type f -name has_atomic_flag_lockfree \
- -print -quit | wc -l) -ne 0 ]; then
- DEF=D
- else
- DEF=U
- fi
- m4 -${DEF}HAS_ATOMIC_FLAG_LOCKFREE -DVERSION=%{version} \
- %{SOURCE2} > $(basename %{SOURCE2})
- %if %{with python3}
- # Previously, we built python 2.x and 3.x interfaces simultaneously.
- # However, this doesn't work once trying to build other Python components
- # such as libboost_numpy. Therefore, we build for each separately, while
- # minimizing duplicate compilation as much as possible.
- cat > python3-config.jam << "EOF"
- import os ;
- local RPM_OPT_FLAGS = [ os.environ RPM_OPT_FLAGS ] ;
- using gcc : : : <compileflags>$(RPM_OPT_FLAGS) ;
- %if %{with openmpi} || %{with mpich}
- using mpi ;
- %endif
- using python : %{python3_version} : /usr/bin/python3 : /usr/include/python%{python3_version}%{python3_abiflags} : : : : %{python3_abiflags} ;
- EOF
- echo ============================= build serial-py3 ==================
- ./b2 -d+2 -q %{?_smp_mflags} \
- --user-config=./python3-config.jam \
- --with-python --build-dir=serial-py3 \
- variant=release threading=multi debug-symbols=on pch=off \
- python=%{python3_version} stage
- %endif
- # Build MPI parts of Boost with OpenMPI support
- %if %{with openmpi} || %{with mpich}
- # First, purge all modules so that user environment doesn't conflict
- # with the build.
- module purge ||:
- %endif
- %if %{with openmpi}
- %{_openmpi_load}
- echo ============================= build $MPI_COMPILER ==================
- ./b2 -d+2 -q %{?_smp_mflags} \
- --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \
- variant=release threading=multi debug-symbols=on pch=off \
- python=%{python2_version} stage
- %if %{with python3}
- echo ============================= build $MPI_COMPILER-py3 ==================
- ./b2 -d+2 -q %{?_smp_mflags} \
- --user-config=./python3-config.jam \
- --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER-py3 \
- variant=release threading=multi debug-symbols=on pch=off \
- python=%{python3_version} stage
- %endif
- %{_openmpi_unload}
- export PATH=/bin${PATH:+:}$PATH
- %endif
- # Build MPI parts of Boost with MPICH support
- %if %{with mpich}
- %{_mpich_load}
- echo ============================= build $MPI_COMPILER ==================
- ./b2 -d+2 -q %{?_smp_mflags} \
- --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \
- variant=release threading=multi debug-symbols=on pch=off \
- python=%{python2_version} stage
- %if %{with python3}
- echo ============================= build $MPI_COMPILER-py3 ==================
- ./b2 -d+2 -q %{?_smp_mflags} \
- --user-config=./python3-config.jam \
- --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER-py3 \
- variant=release threading=multi debug-symbols=on pch=off \
- python=%{python3_version} stage
- %endif
- %{_mpich_unload}
- export PATH=/bin${PATH:+:}$PATH
- %endif
- echo ============================= build Boost.Build ==================
- (cd tools/build
- ./bootstrap.sh --with-toolset=gcc)
- %check
- :
- %install
- rm -rf $RPM_BUILD_ROOT
- #cd %{_builddir}/%{name}_%{pkgver}
- %if %{with openmpi} || %{with mpich}
- # First, purge all modules so that user environment doesn't conflict
- # with the build.
- module purge ||:
- %endif
- %if %{with openmpi}
- %{_openmpi_load}
- # XXX We want to extract this from RPM flags
- # b2 instruction-set=i686 etc.
- echo ============================= install $MPI_COMPILER ==================
- ./b2 -q %{?_smp_mflags} \
- --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \
- --stagedir=${RPM_BUILD_ROOT}${MPI_HOME} \
- variant=release threading=multi debug-symbols=on pch=off \
- python=%{python2_version} stage
- # Move Python module to proper location for automatic loading
- mkdir -p ${RPM_BUILD_ROOT}%{python2_sitearch}/openmpi/boost
- touch ${RPM_BUILD_ROOT}%{python2_sitearch}/openmpi/boost/__init__.py
- mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/mpi.so \
- ${RPM_BUILD_ROOT}%{python2_sitearch}/openmpi/boost/
- %if %{with python3}
- echo ============================= install $MPI_COMPILER-py3 ==================
- ./b2 -q %{?_smp_mflags} \
- --user-config=./python3-config.jam \
- --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER-py3 \
- --stagedir=${RPM_BUILD_ROOT}${MPI_HOME} \
- variant=release threading=multi debug-symbols=on pch=off \
- python=%{python3_version} stage
- # Move Python module to proper location for automatic loading
- mkdir -p ${RPM_BUILD_ROOT}%{python3_sitearch}/openmpi/boost
- touch ${RPM_BUILD_ROOT}%{python3_sitearch}/openmpi/boost/__init__.py
- mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/mpi.so \
- ${RPM_BUILD_ROOT}%{python3_sitearch}/openmpi/boost/
- %endif
- # Remove generic parts of boost that were built for dependencies.
- rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_{python,{w,}serialization}*
- %{_openmpi_unload}
- export PATH=/bin${PATH:+:}$PATH
- %endif
- %if %{with mpich}
- %{_mpich_load}
- echo ============================= install $MPI_COMPILER ==================
- ./b2 -q %{?_smp_mflags} \
- --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \
- --stagedir=${RPM_BUILD_ROOT}${MPI_HOME} \
- variant=release threading=multi debug-symbols=on pch=off \
- python=%{python2_version} stage
- # Move Python module to proper location for automatic loading
- mkdir -p ${RPM_BUILD_ROOT}%{python2_sitearch}/mpich/boost
- touch ${RPM_BUILD_ROOT}%{python2_sitearch}/mpich/boost/__init__.py
- mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/mpi.so \
- ${RPM_BUILD_ROOT}%{python2_sitearch}/mpich/boost/
- %if %{with python3}
- echo ============================= install $MPI_COMPILER-py3 ==================
- ./b2 -q %{?_smp_mflags} \
- --user-config=./python3-config.jam \
- --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER-py3 \
- --stagedir=${RPM_BUILD_ROOT}${MPI_HOME} \
- variant=release threading=multi debug-symbols=on pch=off \
- python=%{python3_version} stage
- # Move Python module to proper location for automatic loading
- mkdir -p ${RPM_BUILD_ROOT}%{python3_sitearch}/mpich/boost
- touch ${RPM_BUILD_ROOT}%{python3_sitearch}/mpich/boost/__init__.py
- mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/mpi.so \
- ${RPM_BUILD_ROOT}%{python3_sitearch}/mpich/boost/
- %endif
- # Remove generic parts of boost that were built for dependencies.
- rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_{python,{w,}serialization}*
- %{_mpich_unload}
- export PATH=/bin${PATH:+:}$PATH
- %endif
- echo ============================= install serial ==================
- ./b2 -d+2 -q %{?_smp_mflags} \
- --without-mpi --without-graph_parallel --build-dir=serial \
- %if !%{with context}
- --without-context --without-coroutine --without-coroutine2 \
- --without-fiber \
- %endif
- --prefix=$RPM_BUILD_ROOT%{_prefix} \
- --libdir=$RPM_BUILD_ROOT%{_libdir} \
- variant=release threading=multi debug-symbols=on pch=off \
- python=%{python2_version} install
- # Override DSO symlink with a linker script. See the linker script
- # itself for details of why we need to do this.
- [ -f $RPM_BUILD_ROOT%{_libdir}/libboost_thread.so ] # Must be present
- rm -f $RPM_BUILD_ROOT%{_libdir}/libboost_thread.so
- install -p -m 644 $(basename %{SOURCE2}) $RPM_BUILD_ROOT%{_libdir}/
- %if %{with python3}
- echo ============================= install serial-py3 ==================
- ./b2 -d+2 -q %{?_smp_mflags} \
- --user-config=python3-config.jam \
- --with-python --build-dir=serial-py3 \
- --prefix=$RPM_BUILD_ROOT%{_prefix} \
- --libdir=$RPM_BUILD_ROOT%{_libdir} \
- variant=release threading=multi debug-symbols=on pch=off \
- python=%{python3_version} install
- %endif
- echo ============================= install Boost.Build ==================
- (cd tools/build
- ./b2 --prefix=$RPM_BUILD_ROOT%{_prefix} install
- # Fix some permissions
- chmod +x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxproc.py
- # We don't want to distribute this
- rm -f $RPM_BUILD_ROOT%{_bindir}/b2
- # Empty file
- rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxygen/windows-paths-check.hpp
- # install binary
- install -Dpm755 ./src/engine/bjam %{buildroot}%{_bindir}/bjam
- # Install the manual page
- %{__install} -p -m 644 v2/doc/bjam.1 -D $RPM_BUILD_ROOT%{_mandir}/man1/bjam.1
- )
- echo ============================= install Boost.QuickBook ==================
- (cd tools/quickbook
- ../build/b2 --prefix=$RPM_BUILD_ROOT%{_prefix}
- %{__install} -p -m 755 ../../dist/bin/quickbook $RPM_BUILD_ROOT%{_bindir}/
- cd ../boostbook
- find dtd -type f -name '*.dtd' | while read tobeinstalledfiles; do
- install -p -m 644 $tobeinstalledfiles -D $RPM_BUILD_ROOT%{_datadir}/boostbook/$tobeinstalledfiles
- done
- find xsl -type f | while read tobeinstalledfiles; do
- install -p -m 644 $tobeinstalledfiles -D $RPM_BUILD_ROOT%{_datadir}/boostbook/$tobeinstalledfiles
- done
- )
- # Install documentation files (HTML pages) within the temporary place
- echo ============================= install documentation ==================
- # Prepare the place to temporarily store the generated documentation
- rm -rf %{boost_docdir} && %{__mkdir_p} %{boost_docdir}/html
- DOCPATH=%{boost_docdir}
- DOCREGEX='.*\.\(html?\|css\|png\|gif\)'
- find libs doc more -type f -regex $DOCREGEX \
- | sed -n '/\//{s,/[^/]*$,,;p}' \
- | sort -u > tmp-doc-directories
- sed "s:^:$DOCPATH/:" tmp-doc-directories \
- | xargs -P 0 --no-run-if-empty %{__install} -d
- cat tmp-doc-directories | while read tobeinstalleddocdir; do
- find $tobeinstalleddocdir -mindepth 1 -maxdepth 1 -regex $DOCREGEX -print0 \
- | xargs -P 0 -0 %{__install} -p -m 644 -t $DOCPATH/$tobeinstalleddocdir
- done
- rm -f tmp-doc-directories
- %{__install} -p -m 644 -t $DOCPATH LICENSE_1_0.txt index.htm index.html boost.png rst.css boost.css
- echo ============================= install examples ==================
- # Fix a few non-standard issues (DOS and/or non-UTF8 files)
- sed -i -e 's/\r//g' libs/geometry/example/ml02_distance_strategy.cpp
- for tmp_doc_file in flyweight/example/Jamfile.v2 \
- format/example/sample_new_features.cpp multi_index/example/Jamfile.v2 \
- multi_index/example/hashed.cpp serialization/example/demo_output.txt
- do
- mv libs/${tmp_doc_file} libs/${tmp_doc_file}.iso8859
- iconv -f ISO8859-1 -t UTF8 < libs/${tmp_doc_file}.iso8859 > libs/${tmp_doc_file}
- touch -r libs/${tmp_doc_file}.iso8859 libs/${tmp_doc_file}
- rm -f libs/${tmp_doc_file}.iso8859
- done
- # Prepare the place to temporarily store the examples
- rm -rf %{boost_examplesdir} && mkdir -p %{boost_examplesdir}/html
- EXAMPLESPATH=%{boost_examplesdir}
- find libs -type d -name example -exec find {} -type f \; \
- | sed -n '/\//{s,/[^/]*$,,;p}' \
- | sort -u > tmp-doc-directories
- sed "s:^:$EXAMPLESPATH/:" tmp-doc-directories \
- | xargs -P 0 --no-run-if-empty %{__install} -d
- rm -f tmp-doc-files-to-be-installed && touch tmp-doc-files-to-be-installed
- cat tmp-doc-directories | while read tobeinstalleddocdir
- do
- find $tobeinstalleddocdir -mindepth 1 -maxdepth 1 -type f \
- >> tmp-doc-files-to-be-installed
- done
- cat tmp-doc-files-to-be-installed | while read tobeinstalledfiles
- do
- if test -s $tobeinstalledfiles
- then
- tobeinstalleddocdir=`dirname $tobeinstalledfiles`
- %{__install} -p -m 644 -t $EXAMPLESPATH/$tobeinstalleddocdir $tobeinstalledfiles
- fi
- done
- rm -f tmp-doc-files-to-be-installed
- rm -f tmp-doc-directories
- %{__install} -p -m 644 -t $EXAMPLESPATH LICENSE_1_0.txt
- # MPI subpackages don't need the ldconfig magic. They are hidden by
- # default, in MPI back-end-specific directory, and only show to the
- # user after the relevant environment module has been loaded.
- # rpmlint will report that as errors, but it is fine.
- ln -s ./%{tarname} ${RPM_BUILD_ROOT}/%{_includedir}/%{tarname}-%{lnkver}
- # remove unuse files
- rm -f ${RPM_BUILD_ROOT}/%{_libdir}/%{name}_*.a
- %clean
- rm -rf $RPM_BUILD_ROOT
- # MPI subpackages don't need the ldconfig magic. They are hidden by
- # default, in MPI back-end-specific directory, and only show to the
- # user after the relevant environment module has been loaded.
- # rpmlint will report that as errors, but it is fine.
- %post atomic -p /sbin/ldconfig
- %post chrono -p /sbin/ldconfig
- %post container -p /sbin/ldconfig
- %if %{with context}
- %post context -p /sbin/ldconfig
- %post coroutine -p /sbin/ldconfig
- %endif
- %post contract -p /sbin/ldconfig
- %post date-time -p /sbin/ldconfig
- %post filesystem -p /sbin/ldconfig
- %post graph -p /sbin/ldconfig
- %post iostreams -p /sbin/ldconfig
- %post locale -p /sbin/ldconfig
- %post log -p /sbin/ldconfig
- %post math -p /sbin/ldconfig
- %post program-options -p /sbin/ldconfig
- %post python -p /sbin/ldconfig
- %post random -p /sbin/ldconfig
- %post regex -p /sbin/ldconfig
- %post serialization -p /sbin/ldconfig
- %post system -p /sbin/ldconfig
- %post test -p /sbin/ldconfig
- %post thread -p /sbin/ldconfig
- %post timer -p /sbin/ldconfig
- %post type_erasure -p /sbin/ldconfig
- %post wave -p /sbin/ldconfig
- %postun atomic -p /sbin/ldconfig
- %postun chrono -p /sbin/ldconfig
- %postun container -p /sbin/ldconfig
- %if %{with context}
- %postun context -p /sbin/ldconfig
- %postun coroutine -p /sbin/ldconfig
- %endif
- %postun contract -p /sbin/ldconfig
- %postun date-time -p /sbin/ldconfig
- %postun filesystem -p /sbin/ldconfig
- %postun graph -p /sbin/ldconfig
- %postun iostreams -p /sbin/ldconfig
- %postun locale -p /sbin/ldconfig
- %postun log -p /sbin/ldconfig
- %postun math -p /sbin/ldconfig
- %postun program-options -p /sbin/ldconfig
- %postun python -p /sbin/ldconfig
- %postun random -p /sbin/ldconfig
- %postun regex -p /sbin/ldconfig
- %postun serialization -p /sbin/ldconfig
- %postun system -p /sbin/ldconfig
- %postun test -p /sbin/ldconfig
- %postun thread -p /sbin/ldconfig
- %postun timer -p /sbin/ldconfig
- %postun type_erasure -p /sbin/ldconfig
- %postun wave -p /sbin/ldconfig
- %files
- %defattr(-,root,root)
- %license LICENSE_1_0.txt
- %files atomic
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_atomic.so.*
- %files chrono
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_chrono.so.*
- %files container
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_container.so.*
- %if %{with context}
- %files context
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_context.so.*
- %files coroutine
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_coroutine.so.*
- %endif
- %files contract
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_contract.so.*
- %files date-time
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_date_time*.so.*
- %files filesystem
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_filesystem*.so.*
- %files fiber
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_fiber*.so.*
- %files graph
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_graph*.so.*
- %files iostreams
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_iostreams*.so.*
- %files locale
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_locale.so.*
- %files log
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_log.so.*
- %{_libdir}/libboost_log_setup.so.*
- %files math
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_math_*.so.*
- %files program-options
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_program_options*.so.*
- %files python
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_python27.so.*
- %if %{with python3}
- %files python3
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_python3*.so.*
- %files python3-devel
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_python3*.so
- %endif
- %files random
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_random*.so.*
- %files regex
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_regex*.so.*
- %files serialization
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_serialization*.so.*
- %{_libdir}/%{name}_wserialization*.so.*
- %files stacktrace
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_stacktrace*.so.*
- %files system
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_system*.so.*
- %files test
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_prg_exec_monitor*.so.*
- %{_libdir}/%{name}_unit_test_framework*.so.*
- %files thread
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_thread*.so.*
- %files timer
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_timer.so.*
- %files type_erasure
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_type_erasure.so.*
- %files wave
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_wave*.so.*
- %files devel
- %defattr(-,root,root)
- %{_includedir}/boost/
- %{_includedir}/boost-%{lnkver}
- %{_libdir}/%{name}_*.so
- %dir %{_libdir}/cmake
- %{_libdir}/cmake/*
- %files doc
- %doc index.htm index.html boost.css boost.png rst.css doc libs more
- %files build
- %license LICENSE_1_0.txt
- %{_datadir}/boost-build
- %files doctools
- %license LICENSE_1_0.txt
- %{_bindir}/quickbook
- %{_datadir}/boostbook/
- %files jam
- %license LICENSE_1_0.txt
- %{_bindir}/bjam
- %{_mandir}/man1/bjam.1*
- # OpenMPI packages
- %if %{with openmpi}
- %files openmpi
- %license LICENSE_1_0.txt
- %{_libdir}/openmpi/lib/libboost_mpi.so.*
- %files openmpi-python
- %license LICENSE_1_0.txt
- %{_libdir}/openmpi/lib/libboost_mpi_python.so.*
- %{_libdir}/openmpi/lib/mpi.so
- %files graph-openmpi
- %license LICENSE_1_0.txt
- %{_libdir}/openmpi/lib/libboost_graph_parallel.so.*
- %endif
- # MPICH packages
- %if %{with mpich}
- %files mpich
- %license LICENSE_1_0.txt
- %{_libdir}/mpich/lib/libboost_mpi.so.*
- %files mpich-python
- %license LICENSE_1_0.txt
- %{_libdir}/mpich/lib/libboost_mpi_python.so.*
- %{_libdir}/mpich/lib/mpi.so
- %files graph-mpich
- %license LICENSE_1_0.txt
- %{_libdir}/mpich/lib/libboost_graph_parallel.so.*
- %endif
- %if %{build_compat32}
- %files -n compat32-%{name}-atomic
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_atomic.so.*
- %files -n compat32-%{name}-chrono
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_chrono.so.*
- %files -n compat32-%{name}-container
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_container.so.*
- %if %{with context}
- %files -n compat32-%{name}-context
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_context.so.*
- %files -n compat32-%{name}-coroutine
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_coroutine.so.*
- %endif
- %files -n compat32-%{name}-contract
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_contract.so.*
- %files -n compat32-%{name}-date-time
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_date_time*.so.*
- %files -n compat32-%{name}-fiber
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_fiber*.so.*
- %files -n compat32-%{name}-filesystem
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_filesystem*.so.*
- %if 0
- %files -n compat32-%{name}-graph
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_graph*.so.*
- %endif
- %files -n compat32-%{name}-iostreams
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_iostreams*.so.*
- %if 0
- %files -n compat32-%{name}-locale
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_locale.so.*
- %endif
- %if 0
- %files -n compat32-%{name}-log
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_log.so.*
- %{_libdir}/libboost_log_setup.so.*
- %endif
- %files -n compat32-%{name}-math
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_math_*.so.*
- %files -n compat32-%{name}-program-options
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_program_options*.so.*
- %if 0
- %files -n compat32-%{name}-python
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_python27.so.*
- %if %{with python3}
- %files -n compat32-%{name}-python3
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_python3*.so.*
- %endif
- %endif
- %files -n compat32-%{name}-random
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_random*.so.*
- %if 0
- %files -n compat32-%{name}-regex
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_regex*.so.*
- %endif
- %files -n compat32-%{name}-serialization
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_serialization*.so.*
- %{_libdir}/%{name}_wserialization*.so.*
- %files -n compat32-%{name}-stacktrace
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_stacktrace*.so.*
- %files -n compat32-%{name}-system
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_system*.so.*
- %files -n compat32-%{name}-test
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_prg_exec_monitor*.so.*
- %{_libdir}/%{name}_unit_test_framework*.so.*
- %files -n compat32-%{name}-thread
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_thread*.so.*
- %files -n compat32-%{name}-timer
- %defattr(-, root, root, -)
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_timer.so.*
- %files -n compat32-%{name}-type_erasure
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_type_erasure.so.*
- %files -n compat32-%{name}-wave
- %license LICENSE_1_0.txt
- %{_libdir}/%{name}_wave*.so.*
- %endif
- %changelog
- * Mon Aug 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.72.0-2
- - rebuilt with python-3.8.
- * Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.72.0-1
- - new upstream release.
- - built with icu-67.
- - updated patches.
- - imported Patch86 from rawhide.
- * Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-5
- - rebuilt with gcc-9 and icu-66.
- * Sun Oct 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-4
- - rebuilt with icu-65.
- * Wed Sep 11 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-3
- - rebuilt with gcc-8.
- - added a subpackage 'libboost-fiber'.
- * Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-2
- - rebuilt with libicu-60.2.
- * Sun Jan 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-1
- - updated to boost_1_66_0.
- - dropped Patch36, 63 and 81.
- - updated Patch65.
- - imported Patch82 from rawhide.
- - added a subpackage 'libboost-stacktrace'.
- * Sat Jul 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.60.0-3
- - added compat32-* packages.
- * Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.60.0-2
- - rebuild with python3-3.5.2
- * Mon Jun 6 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.60.0-1
- - updated to boost_1_60_0.
- - dropped all patches.
- - imported patches from rawhide.
- - moved *.so into libboost-devel.
- * Mon Nov 25 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.54.0-1
- - update to boost_1_54_0
- - all package: including license file
- - drop boost_filesystem patch (Patch0)
- - sync Fedora boost-1.54.0-5.fc21
- - new packages: atomic, chrono, context, locale, log, timer
- - add patches
- - Patch4, 5, 9, 15, 18..28, 31..38, 42..55
- * Sun Feb 20 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.45.0-2
- - fixed crashing throwing exception
- "std::runtime_error: locale::facet::_S_create_c_locale name not valid"
- on some systems (FreeBSD and some linuxes) when current locale
- (LANG,LC_ALL) is not "C"
- * Tue Jan 18 2011 Shu KONNO <owa@bg.wakwak.com> 1.45.0-1
- - updated to boost_1_45_0
- - added random sub-package
- * Wed Apr 14 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.42.0-4
- - rebuilt again on ppc
- * Sat Apr 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.42.0-3
- - rebuilt with libicu-4.4
- * Mon Feb 08 2010 Shu KONNO <owa@bg.wakwak.com> 1.42.0-2
- - added "-licui18n" to bjam
- - added BR: lam
- * Sun Feb 07 2010 Shu KONNO <owa@bg.wakwak.com> 1.42.0-1
- - updated to boost_1_42_0
- - rebuilt with new toolchain and python-2.6
- - added user-config.jam to make libboost_mpi
- - added BR: libaio-devel
- - added %%{post,postun} -p /sbin/ldconfig
- - dropt no use parameter EXPAT_INCLUDE and EXPAT_LIBPATH
- - dropt %{_libdir}/%{name}_test_exec_monitor-*.a in %%files %{name}-test
- - dropt %%{post,postun} devel section
- * Sun Mar 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.36.0-2vl5
- - rebuilt with libicu-4.0.1
- - changed Group to System Environment/Libraries (except devel package)
- * Sat Aug 16 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.36.0-1vl5
- - new upstream release
- - add -math subpackage
- * Fri Aug 15 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.35.0-2vl5
- - build with python-2.5
- - add libboost_XXXX.so symlinks
- * Thu May 8 2008 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.35.0-1vl5
- - upstream release
- - applied new versioning policy
- - add EXPAT_INCLUDE and EXPAT_LIBPATH to enable GraphML support
- - add new package libboost-system
- - Obsolete: *-devel packages
- * Sat Sep 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.34.1-0vl3
- - rebuilt with libicu-3.6
- - changed doc Group to Applications/Documentation
- * Sat Aug 18 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.34.1-0vl2
- - upstream release
- * Thu Jun 14 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.34.0-0vl3
- - add --libdir=%%{_libdir} to cope with x86_64 environment
- * Sun Jun 10 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.34.0-0vl2
- - upstream release
- - use Easy Build and Install process with ./configure
- - add BuildRequires: libicu-devel
- - remove %%{_libdir}/libboost_test_exec_monitor-*.so* from %%files -n libboost-test
- - add new packages: libboost-graph, libboost-graph-devel, libboost-wave
- - add files to doc package
- * Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.33.1-0vl2
- - rebuilt with new toolchain
- * Sat Feb 4 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.1-0vl1
- - upstream release
- * Mon Dec 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.33.0-0vl3
- - fixed typo in Groups:
- - devel packages also moved to Development/Libraries group
- * Mon Sep 19 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.33.0-0vl2
- - spec modified to avoid errors on non-ix86 archtecture
- (previously the path linuxx86 was explicitly used)
- * Sun Sep 11 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.0-0vl1
- - initial release for Vine Linux
- * Sat Sep 10 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.0-0vl0.3
- - link /usr/include/boost_%{lnkver}/boost to /usr/include/boost
- * Sat Sep 10 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.0-0vl0.2
- - change package name from boost to libboost
- - separated into sub-packages
- * Fri Jun 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.0-0vl0.1
- - upstream release
- - add BuildRequires: bzip2-devel zlib-devel
- * Fri Jun 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.7
- - added so.* file
- * Mon Apr 25 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.6
- - moved %post, %postun script to -devel package
- * Mon Apr 25 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.5
- - moved doc/html to -devel package
- - make a symbolic link on %{_includedir}/boost
- * Mon Apr 25 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.4
- - fixed character code to euc-jp
- * Mon Apr 25 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.3
- - add %doc files
- * Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.2
- - remove Requires
- - split -devel package
- * Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.1
- - initial build for Vine Linux
|