12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670 |
- %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 66
- %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}
- Source0: http://downloads.sourceforge.net/%{tarname}/%{tarname}_%{pkgver}.tar.bz2
- Source1: ver.py
- Source2: libboost_thread.so
- License: distributable
- Group: System Environment/Libraries
- URL: http://www.boost.org/
- 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: boost-1.50.0-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: boost-1.48.0-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: boost-1.58.0-pool.patch
- # https://svn.boost.org/trac/boost/ticket/5637
- Patch25: boost-1.57.0-mpl-print.patch
- # https://svn.boost.org/trac/boost/ticket/9038
- Patch51: boost-1.58.0-pool-test_linking.patch
- # https://bugzilla.redhat.com/show_bug.cgi?id=1102667
- Patch61: boost-1.57.0-python-libpython_dep.patch
- Patch62: boost-1.57.0-python-abi_letters.patch
- # https://bugzilla.redhat.com/show_bug.cgi?id=1190039
- Patch65: boost-1.66.0-build-optflags.patch
- # Prevent gcc.jam from setting -m32 or -m64.
- Patch68: boost-1.58.0-address-model.patch
- # https://bugzilla.redhat.com/show_bug.cgi?id=1318383
- Patch82: boost-1.60.0-no-rpath.patch
- Vendor: Project Vine
- Distribution: Vine Linux
- 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 Environment/Libraries
- %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 Environment/Libraries
- 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 Environment/Libraries
- 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 Environment/Libraries
- 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 Environment/Libraries
- 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 date-time
- Summary: Set of data-time libralies in %{name}
- Group: System Environment/Libraries
- Requires: %{name} = %{version}-%{release}
- %description date-time
- Set of data-time libralies in %{name}
- %package filesystem
- Summary: Set of filesystem operation libralies in %{name}
- Group: System Environment/Libraries
- Requires: %{name} = %{version}-%{release}
- %description filesystem
- Set of filesystem operation libralies in %{name}
- %package graph
- Summary: Set of Graphviz libralies in %{name}
- Group: System Environment/Libraries
- 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 Environment/Libraries
- 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 Environment/Libraries
- 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 Environment/Libraries
- %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 Environment/Libraries
- 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 Environment/Libraries
- Requires: %{name} = %{version}-%{release}
- %description program-options
- Set of program options libralies in %{name}
- %package python
- Summary: Set of Python libralies in %{name}
- Group: System Environment/Libraries
- 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: System Environment/Libraries
- %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: System Environment/Libraries
- 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 Environment/Libraries
- 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 Environment/Libraries
- Requires: %{name} = %{version}-%{release}
- %description regex
- Set of regular expression libralies in %{name}
- %package serialization
- Summary: Set of serialization libralies in %{name}
- Group: System Environment/Libraries
- Requires: %{name} = %{version}-%{release}
- %description serialization
- Set of serialization libralies in %{name}
- %package signals
- Summary: Set of signals and slots libralies in %{name}
- Group: System Environment/Libraries
- Requires: %{name} = %{version}-%{release}
- %description signals
- Set of signals and slots libralies in %{name}
- %package stacktrace
- Summary: Call-stack libraries in %{name}
- Group: System Environment/Libraries
- 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
- Group: System Environment/Libraries
- 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 Environment/Libraries
- 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 Environment/Libraries
- 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 Environment/Libraries
- 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 Environment/Libraries
- 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 Environment/Libraries
- 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: Development/Libraries
- 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: Applications/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: Development/Tools
- 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: Applications/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: Development/Tools
- %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 Environment/Libraries
- 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: System Environment/Libraries
- 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 Environment/Libraries
- 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 Environment/Libraries
- 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: System Environment/Libraries
- 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 Environment/Libraries
- 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 Environment/Libraries
- %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 Environment/Libraries
- 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 Environment/Libraries
- %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 Environment/Libraries
- %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 Environment/Libraries
- %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}-date-time
- Summary: Set of data-time libralies in %{name}
- Group: System Environment/Libraries
- %description -n compat32-%{name}-date-time
- Set of data-time libralies in %{name}
- %package -n compat32-%{name}-filesystem
- Summary: Set of filesystem operation libralies in %{name}
- Group: System Environment/Libraries
- %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 Environment/Libraries
- %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 Environment/Libraries
- %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 Environment/Libraries
- 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 Environment/Libraries
- %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 Environment/Libraries
- %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 Environment/Libraries
- %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: System Environment/Libraries
- %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: System Environment/Libraries
- %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 Environment/Libraries
- %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 Environment/Libraries
- %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 Environment/Libraries
- %description -n compat32-%{name}-serialization
- Set of serialization libralies in %{name}
- %package -n compat32-%{name}-signals
- Summary: Set of signals and slots libralies in %{name}
- Group: System Environment/Libraries
- %description -n compat32-%{name}-signals
- Set of signals and slots libralies in %{name}
- %package -n compat32-%{name}-stacktrace
- Summary: Call-stack libraries in %{name}
- Group: System Environment/Libraries
- 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 Environment/Libraries
- %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 Environment/Libraries
- %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 Environment/Libraries
- %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 Environment/Libraries
- 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 Environment/Libraries
- 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 Environment/Libraries
- %description -n compat32-%{name}-wave
- Set of wave libraries in %{name}
- %prep
- %setup -q -n %{tarname}_%{pkgver}
- %patch4 -p1
- %patch5 -p1
- %patch15 -p0
- %patch25 -p1
- %patch51 -p1
- %patch61 -p1
- %patch62 -p1
- %patch65 -p1
- %patch68 -p1
- %patch82 -p0
- # 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/build/alias.py
- 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
- # Not a real file
- rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/src/build/project.ann.py
- # Empty file
- rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxygen/windows-paths-check.hpp
- # 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 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 signals -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 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 signals -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)
- %doc LICENSE_1_0.txt
- %files atomic
- %defattr(-, root, root, -)
- %doc LICENSE_1_0.txt
- %{_libdir}/libboost_atomic.so.*
- %files chrono
- %defattr(-, root, root, -)
- %doc 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, -)
- %doc LICENSE_1_0.txt
- %{_libdir}/libboost_context.so.*
- %files coroutine
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_coroutine.so.*
- %endif
- %files date-time
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_date_time*.so.*
- %files filesystem
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_filesystem*.so.*
- %files graph
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_graph*.so.*
- %files iostreams
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_iostreams*.so.*
- %files locale
- %defattr(-, root, root, -)
- %doc LICENSE_1_0.txt
- %{_libdir}/libboost_locale.so.*
- %files log
- %defattr(-, root, root, -)
- %doc LICENSE_1_0.txt
- %{_libdir}/libboost_log.so.*
- %{_libdir}/libboost_log_setup.so.*
- %files math
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_math_*.so.*
- %files program-options
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_program_options*.so.*
- %files python
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_python.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
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_random*.so.*
- %files regex
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_regex*.so.*
- %files serialization
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_serialization*.so.*
- %{_libdir}/%{name}_wserialization*.so.*
- %files signals
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_signals*.so.*
- %files stacktrace
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_stacktrace*.so.*
- %files system
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_system*.so.*
- %files test
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_prg_exec_monitor*.so.*
- %{_libdir}/%{name}_unit_test_framework*.so.*
- %files thread
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_thread*.so.*
- %files timer
- %defattr(-, root, root, -)
- %doc LICENSE_1_0.txt
- %{_libdir}/libboost_timer.so.*
- %files type_erasure
- %license LICENSE_1_0.txt
- %{_libdir}/libboost_type_erasure.so.*
- %files wave
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_wave*.so.*
- %files devel
- %defattr(-,root,root)
- %{_includedir}/boost/
- %{_includedir}/boost-%{lnkver}
- %{_libdir}/%{name}_*.so
- %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, -)
- %doc LICENSE_1_0.txt
- %{_libdir}/libboost_atomic.so.*
- %files -n compat32-%{name}-chrono
- %defattr(-, root, root, -)
- %doc 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, -)
- %doc 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}-date-time
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_date_time*.so.*
- %files -n compat32-%{name}-filesystem
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_filesystem*.so.*
- %if 0
- %files -n compat32-%{name}-graph
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_graph*.so.*
- %endif
- %files -n compat32-%{name}-iostreams
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_iostreams*.so.*
- %if 0
- %files -n compat32-%{name}-locale
- %defattr(-, root, root, -)
- %doc LICENSE_1_0.txt
- %{_libdir}/libboost_locale.so.*
- %endif
- %if 0
- %files -n compat32-%{name}-log
- %defattr(-, root, root, -)
- %doc LICENSE_1_0.txt
- %{_libdir}/libboost_log.so.*
- %{_libdir}/libboost_log_setup.so.*
- %endif
- %files -n compat32-%{name}-math
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_math_*.so.*
- %files -n compat32-%{name}-program-options
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_program_options*.so.*
- %if 0
- %files -n compat32-%{name}-python
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_python.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
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_random*.so.*
- %if 0
- %files -n compat32-%{name}-regex
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_regex*.so.*
- %endif
- %files -n compat32-%{name}-serialization
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_serialization*.so.*
- %{_libdir}/%{name}_wserialization*.so.*
- %files -n compat32-%{name}-signals
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_signals*.so.*
- %files -n compat32-%{name}-stacktrace
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_stacktrace*.so.*
- %files -n compat32-%{name}-system
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_system*.so.*
- %files -n compat32-%{name}-test
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_prg_exec_monitor*.so.*
- %{_libdir}/%{name}_unit_test_framework*.so.*
- %files -n compat32-%{name}-thread
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_thread*.so.*
- %files -n compat32-%{name}-timer
- %defattr(-, root, root, -)
- %doc 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
- %doc LICENSE_1_0.txt
- %{_libdir}/%{name}_wave*.so.*
- %endif
- %changelog
- * 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
|