source: projects/specs/trunk/lib/libb/libboost/libboost-vl.spec @ 12475

Revision 12475, 51.2 KB checked in by tomop, 4 years ago (diff)

updated 3 packages

libboost-1.72.0-2

postgresql-12.4-2

rrdtool-1.7.2-2

RevLine 
[10630]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
[11348]2%define _unpackaged_files_terminate_build 1
[10630]3
[10357]4# Support for documentation installation As the %%doc macro erases the
5# target directory ($RPM_BUILD_ROOT%%{_docdir}/%%{name}), manually
6# installed documentation must be saved into a temporary dedicated
7# directory.
8# XXX note that as of rpm 4.9.1, this shouldn't be necessary anymore.
9# We should be able to install directly.
10%global boost_docdir __tmp_docdir
11%global boost_examplesdir __tmp_examplesdir
12
13%bcond_without context
14%bcond_without python3
15%bcond_with mpich
16%bcond_with openmpi
17
[521]18%define major 1
[12387]19%define minor 72
[521]20%define teeny 0
21%define tarname boost
22%define lnkver %{major}_%{minor}
[2527]23%define pkgver %{major}_%{minor}_%{teeny}
[521]24
[8005]25%ifnarch %{ix86} x86_64
26  # Avoid using Boost.Context on non-x86 arches.  s390 is not
27  # supported at all and there were _syntax errors_ in PPC code.  This
28  # should be enabled on a case-by-case basis as the arches are tested
29  # and fixed.
30  %bcond_with context
31%else
32  %bcond_without context
33%endif
34
[521]35Summary: Portable C++ source libraries
36Summary(ja): ポータブルな C++ ソースライブラリ
37Name: libboost
38Version: %{major}.%{minor}.%{teeny}
[12475]39Release: 2%{?_dist_release}
40Group: system
[12387]41Vendor: Project Vine
42Distribution: Vine Linux
43
44License: distributable
45URL: http://www.boost.org/
[2527]46Source0: http://downloads.sourceforge.net/%{tarname}/%{tarname}_%{pkgver}.tar.bz2
[10357]47Source1: ver.py
48Source2: libboost_thread.so
[521]49
50BuildRequires: python-devel apache2-devel bzip2-devel zlib-devel libicu-devel
51BuildRequires: libaio-devel lam
[10357]52BuildRequires: libquadmath-devel
53%if %{with python3}
54BuildRequires: python3-devel
55%endif
[521]56BuildRoot: %{_tmppath}/%{name}-%{version}-root
57
[8005]58# https://svn.boost.org/trac/boost/ticket/6150
[12387]59Patch4: 0001-fix-non-utf8-files.patch
[8005]60
61# Add a manual page for bjam, based on the on-line documentation:
62# http://www.boost.org/boost-build2/doc/html/bbv2/overview.html
[12387]63Patch5: 0002-add-bjam-man-page.patch
[8005]64
65# https://bugzilla.redhat.com/show_bug.cgi?id=828856
66# https://bugzilla.redhat.com/show_bug.cgi?id=828857
[10357]67# https://svn.boost.org/trac/boost/ticket/6701
[12387]68Patch15: 0003-pool.patch
[8005]69
70# https://svn.boost.org/trac/boost/ticket/5637
[12387]71Patch25: 0004-mpl-print.patch
[8005]72
73# https://svn.boost.org/trac/boost/ticket/9038
[12387]74Patch51: 0005-pool-test_linking.patch
[8005]75
[10357]76# https://bugzilla.redhat.com/show_bug.cgi?id=1102667
[12387]77Patch61: 0006-python-libpython_dep.patch
78Patch62: 0007-python-abi_letters.patch
[8005]79
[10357]80# https://bugzilla.redhat.com/show_bug.cgi?id=1190039
[12387]81Patch65: 0008-build-optflags.patch
[8005]82
[10357]83# Prevent gcc.jam from setting -m32 or -m64.
[12387]84Patch68: 0009-address-model.patch
[8005]85
[11348]86# https://bugzilla.redhat.com/show_bug.cgi?id=1318383
[12387]87Patch82: 0010-no-rpath.patch
[8005]88
[12387]89# https://bugzilla.redhat.com/show_bug.cgi?id=1541035
90# deprecated in upstream.
91#Patch83: boost-1.66.0-bjam-build-flags.patch
[521]92
[12387]93# https://bugzilla.redhat.com/show_bug.cgi?id=1673669
94# fixed in upstream.
95#Patch84: boost-1.69-random.patch
96
97# https://github.com/boostorg/mpi/pull/81
98# fixed in upstream.
99#Patch85: boost-1.69-mpi-c_data.patch
100
101# https://bugzilla.redhat.com/show_bug.cgi?id=1818723
102Patch86: 0011-format-allocator.patch
103
[521]104Obsoletes: %{name}-date-time-devel %{name}-filesystem-devel %{name}-graph-devel
105Obsoletes: %{name}-iostreams-devel %{name}-program-options-devel
106Obsoletes: %{name}-python-devel %{name}-regex-devel
107Obsoletes: %{name}-serialization-devel %{name}-signals-devel %{name}-test-devel
108Obsoletes: %{name}-thread-devel %{name}-wave-devel
109
110%description
111Boost provides free peer-reviewed portable C++ source libraries.  The emphasis
112is on libraries which work well with the C++ Standard Library.  The libraries
113are intended to be widely useful, and are in regular use by thousands of
114programmers across a broad spectrum of applications.
115
116A further goal is to establish "existing practice" and provide reference
117implementations so that Boost libraries are suitable for eventual
118standardization. Ten Boost libraries will be included in the C++ Standards
119Committee's upcoming C++ Standard Library Technical Report as a step toward
120becoming part of a future C++ Standard.
121
122%description -l ja
123Boost は公開レビューされたフリーのC++ライブラリ群です。 C++ の標準ライブラリに
124準拠することに重点を置いて開発されています。使いやすく、広い分野のアプリ
125ケーションにおいて日常的に多くの開発者に用いられることを目指しています。
126
127さらなる目標は、最終的な標準化に適合した「存在する実例」としてリファレンス実装
128を提供することです。10 の Boost ライブラリが、将来の C++ 標準になるための一歩
129として、C++ 標準化委員会が策定中の C++ 標準ライブラリテクニカルレポートに
130含まれる予定です。
131
[8005]132%package atomic
133Summary: Run-Time component of boost atomic library
[12475]134Group: system
[8005]135
136%description atomic
137
138Run-Time support for Boost.Atomic, a library that provides atomic data
139types and operations on these data types, as well as memory ordering
140constraints required for coordinating multiple threads through atomic
141variables.
142
143%package chrono
144Summary: Run-Time component of boost chrono library
[12475]145Group: system
[8005]146Requires: %{name}-system = %{version}-%{release}
147
148%description chrono
149
150Run-Time support for Boost.Chrono, a set of useful time utilities.
151
[10357]152%package container
153Summary: Run-Time component of boost container library
[12475]154Group: system
[10357]155Requires: %{name} = %{version}-%{release}
156
157%description container
158
159Boost.Container library implements several well-known containers,
160including STL containers. The aim of the library is to offers advanced
161features not present in standard containers or to offer the latest
162standard draft features for compilers that comply with C++03.
163
[8005]164%if %{with context}
165%package context
166Summary: Run-Time component of boost context switching library
[12475]167Group: system
[10357]168Requires: %{name} = %{version}-%{release}
[8005]169
170%description context
171
172Run-Time support for Boost.Context, a foundational library that
173provides a sort of cooperative multitasking on a single thread.
174
[10357]175%package coroutine
176Summary: Run-Time component of boost coroutine library
[12475]177Group: system
[521]178Requires: %{name} = %{version}-%{release}
179
[10357]180%description coroutine
181Run-Time support for Boost.Coroutine, a library that provides
182generalized subroutines which allow multiple entry points for
183suspending and resuming execution.
[521]184
[10357]185%endif
[521]186
[12387]187%package contract
188Summary: Run-time component of boost contract library
[12475]189Group: system
[12387]190Requires: %{name} = %{version}-%{release}
191
192%description contract
193Run-time support for boost contract library.
194Contract programming for C++. All contract programming features are supported:
195Subcontracting, class invariants, postconditions (with old and return values),
196preconditions, customizable actions on assertion failure (e.g., terminate
197or throw), optional compilation and checking of assertions, etc,
198from Lorenzo Caminiti.
199
[521]200%package date-time
201Summary: Set of data-time libralies in %{name}
[12475]202Group: system
[521]203Requires: %{name} = %{version}-%{release}
204
205%description date-time
206Set of data-time libralies in %{name}
207
[12201]208%package fiber
209Summary: Set of fiber libralies in %{name}
[12475]210Group: system
[12201]211Requires: %{name} = %{version}-%{release}
212
213%description fiber
214Set of fiber libralies in %{name}
215
[521]216%package filesystem
217Summary: Set of filesystem operation libralies in %{name}
[12475]218Group: system
[521]219Requires: %{name} = %{version}-%{release}
220
221%description filesystem
222Set of filesystem operation libralies in %{name}
223
224%package graph
225Summary: Set of Graphviz libralies in %{name}
[12475]226Group: system
[521]227Requires: %{name} = %{version}-%{release}
228
229%description graph
230Set of Graphviz libralies in %{name}
231
232%package iostreams
233Summary: Set of streams and i/o filters libralies in %{name}
[12475]234Group: system
[521]235Requires: %{name} = %{version}-%{release}
236
237%description iostreams
238Set of streams and i/o filters libralies in %{name}
239
[8005]240%package locale
241Summary: Run-Time component of boost locale library
[12475]242Group: system
[8005]243Requires: %{name}-chrono = %{version}-%{release}
244Requires: %{name}-system = %{version}-%{release}
245Requires: %{name}-thread = %{version}-%{release}
246
247%description locale
248
249Run-Time support for Boost.Locale, a set of localization and Unicode
250handling tools.
251
252%package log
253Summary: Run-Time component of boost logging library
[12475]254Group: system
[8005]255
256%description log
257
258Boost.Log library aims to make logging significantly easier for the
259application developer.  It provides a wide range of out-of-the-box
260tools along with public interfaces for extending the library.
261
[521]262%package math
263Summary: Set of math libralies in %{name}
[12475]264Group: system
[521]265Requires: %{name} = %{version}-%{release}
266
267%description math
268Set of math libralies in %{name}
269
270%package program-options
271Summary: Set of program options libralies in %{name}
[12475]272Group: system
[521]273Requires: %{name} = %{version}-%{release}
274
275%description program-options
276Set of program options libralies in %{name}
277
278%package python
279Summary: Set of Python libralies in %{name}
[12475]280Group: programming
[521]281Requires: %{name} = %{version}-%{release}
282
283%description python
284Set of Python libralies in %{name}
285
[10357]286%if %{with python3}
287
288%package python3
289Summary: Run-Time component of boost python library for Python 3
[12475]290Group: programming
[10357]291
292%description python3
293
294The Boost Python Library is a framework for interfacing Python and
295C++. It allows you to quickly and seamlessly expose C++ classes,
296functions and objects to Python, and vice versa, using no special
297tools -- just your C++ compiler.  This package contains run-time
298support for Boost Python Library compiled for Python 3.
299
300%package python3-devel
301Summary: Shared object symbolic links for Boost.Python 3
[12475]302Group: programming
[10357]303Requires: %{name}-python3 = %{version}-%{release}
304Requires: %{name}-devel = %{version}-%{release}
305
306%description python3-devel
307
308Shared object symbolic links for Python 3 variant of Boost.Python.
309
310%endif
311
[2527]312%package random
313Summary: Set of random number generation libralies in %{name}
[12475]314Group: system
[2527]315Requires: %{name} = %{version}-%{release}
[521]316
[2527]317%description random
318Set of random number generation libralies in %{name}
319
[521]320%package regex
321Summary: Set of regular expression libralies in %{name}
[12475]322Group: system
[521]323Requires: %{name} = %{version}-%{release}
324
325%description regex
326Set of regular expression libralies in %{name}
327
328%package serialization
329Summary: Set of serialization libralies in %{name}
[12475]330Group: system
[521]331Requires: %{name} = %{version}-%{release}
332
333%description serialization
334Set of serialization libralies in %{name}
335
[11348]336%package stacktrace
337Summary: Call-stack libraries in %{name}
[12475]338Group: system
[11348]339Requires: %{name} = %{version}-%{release}
340
341%description stacktrace
342simple C++03 library that provides information about call sequence in a
343human-readable form
344
[2527]345%package system
346Summary: Operating system support
347Requires: %{name} = %{version}-%{release}
[521]348
[2527]349%description system
350Operating system support, including the diagnostics support
351that will be part of the C++0x standard library
352
[521]353%package test
354Summary: Set of libraries for writing and executing tests in %{name}
[12475]355Group: system
[521]356Requires: %{name} = %{version}-%{release}
357
358%description test
359Set of libraries for writing and executing tests in %{name}
360
361%package thread
362Summary: Set of multi-thread libraries in %{name}
[12475]363Group: system
[521]364Requires: %{name} = %{version}-%{release}
365
366%description thread
367Set of multi-thread libraries in %{name}
368
[8005]369%package timer
370Summary: Run-Time component of boost timer library
[12475]371Group: system
[8005]372Requires: %{name}-chrono = %{version}-%{release}
373Requires: %{name}-system = %{version}-%{release}
374
375%description timer
376
377"How long does my C++ code take to run?"
378The Boost Timer library answers that question and does so portably,
379with as little as one #include and one additional line of code.
380
[10357]381%package type_erasure
382Summary: Run-Time component of boost type erasure library
[12475]383Group: system
[10357]384Requires: %{name}-chrono = %{version}-%{release}
385Requires: %{name}-system = %{version}-%{release}
386
387%description type_erasure
388
389The Boost.TypeErasure library provides runtime polymorphism in C++
390that is more flexible than that provided by the core language.
391
[521]392%package wave
393Summary: Set of wave libraries in %{name}
[12475]394Group: system
[521]395Requires: %{name} = %{version}-%{release}
396
397%description wave
398Set of wave libraries in %{name}
399
[10630]400%package devel
401Summary: Header files and libraries for developing apps which will use %{name}
402Summary(ja): %{name}の開発に必要なヘッダファイル及びライブラリ
[12475]403Group: programming
[10630]404Requires: %{name} = %{version}-%{release}
405Requires: libicu-devel
406Requires: libquadmath-devel
407
[10357]408%description devel
409The %{name}-devel package contains the header files and libraries needed
410to develop programs that use the Boost library.
411
412%description devel -l ja
413%{name}-devel パッケージは Boost ライブラリを使うプログラムの開発に必要な
414ヘッダファイルやライブラリを含んでいます。
415
416%package doc
417Summary: Documents of %{name}
418Summary(ja): %{name}のドキュメント
[12475]419Group: documentation
[10357]420Requires: %{name} = %{version}-%{release}
421
422%description doc
423The %{name}-doc package contains the documents about the boost library.
424
425%description doc -l ja
426%{name}-doc パッケージは Boost ライブラリについてのドキュメントを含んでいます。
427
428%package build
429Summary: Cross platform build system for C++ projects
[12475]430Group: programming
[10357]431Requires: %{name}-jam
432BuildArch: noarch
433
434%description build
435Boost.Build is an easy way to build C++ projects, everywhere. You name
436your pieces of executable and libraries and list their sources.  Boost.Build
437takes care about compiling your sources with the right options,
438creating static and shared libraries, making pieces of executable, and other
439chores -- whether you're using GCC, MSVC, or a dozen more supported
440C++ compilers -- on Windows, OSX, Linux and commercial UNIX systems.
441
442%package doctools
443Summary: Tools for working with Boost documentation
[12475]444Group: publishing
[10357]445Requires: docbook-dtds
446Requires: docbook-style-xsl
447
448%description doctools
449
450Tools for working with Boost documentation in BoostBook or QuickBook format.
451
452%package jam
453Summary: A low-level build tool
[12475]454Group: programming
[10357]455
456%description jam
457Boost.Jam (BJam) is the low-level build engine tool for Boost.Build.
458Historically, Boost.Jam is based on on FTJam and on Perforce Jam but has grown
459a number of significant features and is now developed independently
460
461
462%if %{with openmpi}
463
464%package openmpi
465Summary: Run-Time component of Boost.MPI library
[12475]466Group: system
[10357]467BuildRequires: openmpi-devel
468Requires: %{name}-serialization = %{version}-%{release}
469
470%description openmpi
471
472Run-Time support for Boost.MPI-OpenMPI, a library providing a clean C++
473API over the OpenMPI implementation of MPI.
474
475%package openmpi-python
476Summary: Python run-time component of Boost.MPI library
[12475]477Group: programming
[10357]478Requires: %{name}-openmpi%{?_isa} = %{version}-%{release}
479Requires: %{name}-python%{?_isa} = %{version}-%{release}
480Requires: %{name}-serialization%{?_isa} = %{version}-%{release}
481
482%description openmpi-python
483
484Python support for Boost.MPI-OpenMPI, a library providing a clean C++
485API over the OpenMPI implementation of MPI.
486
487%package graph-openmpi
488Summary: Run-Time component of parallel boost graph library
[12475]489Group: system
[10357]490Requires: %{name}-openmpi%{?_isa} = %{version}-%{release}
491Requires: %{name}-serialization%{?_isa} = %{version}-%{release}
492
493%description graph-openmpi
494
495Run-Time support for the Parallel BGL graph library.  The interface and
496graph components are generic, in the same sense as the the Standard
497Template Library (STL).  This libraries in this package use OpenMPI
498back-end to do the parallel work.
499
500%endif
501
502
503%if %{with mpich}
504
505%package mpich
506Summary: Run-Time component of Boost.MPI library
[12475]507Group: system
[10357]508BuildRequires: mpich-devel
509Requires: %{name}-serialization%{?_isa} = %{version}-%{release}
510Provides: boost-mpich2 = %{version}-%{release}
511Obsoletes: boost-mpich2 < 1.53.0-9
512
513%description mpich
514
515Run-Time support for Boost.MPI-MPICH, a library providing a clean C++
516API over the MPICH implementation of MPI.
517
518%package mpich-python
519Summary: Python run-time component of Boost.MPI library
[12475]520Group: programming
[10357]521Requires: %{name}-mpich%{?_isa} = %{version}-%{release}
522Requires: %{name}-python%{?_isa} = %{version}-%{release}
523Requires: %{name}-serialization%{?_isa} = %{version}-%{release}
524Provides: boost-mpich2-python = %{version}-%{release}
525Obsoletes: boost-mpich2-python < 1.53.0-9
526
527%description mpich-python
528
529Python support for Boost.MPI-MPICH, a library providing a clean C++
530API over the MPICH implementation of MPI.
531
532%package graph-mpich
533Summary: Run-Time component of parallel boost graph library
[12475]534Group: system
[10357]535Requires: %{name}-mpich%{?_isa} = %{version}-%{release}
536Requires: %{name}-serialization%{?_isa} = %{version}-%{release}
537Provides: boost-graph-mpich2 = %{version}-%{release}
538Obsoletes: boost-graph-mpich2 < 1.53.0-9
539
540%description graph-mpich
541
542Run-Time support for the Parallel BGL graph library.  The interface and
543graph components are generic, in the same sense as the the Standard
544Template Library (STL).  This libraries in this package use MPICH
545back-end to do the parallel work.
546
547%endif
548
[10630]549#### compat32 packages ####
[10357]550
[10630]551%package -n compat32-%{name}-atomic
552Summary: Run-Time component of boost atomic library
[12475]553Group: system
[10630]554
555%description -n compat32-%{name}-atomic
556
557Run-Time support for Boost.Atomic, a library that provides atomic data
558types and operations on these data types, as well as memory ordering
559constraints required for coordinating multiple threads through atomic
560variables.
561
562%package -n compat32-%{name}-chrono
563Summary: Run-Time component of boost chrono library
[12475]564Group: system
[10630]565Requires: compat32-%{name}-system = %{version}-%{release}
566
567%description -n compat32-%{name}-chrono
568
569Run-Time support for Boost.Chrono, a set of useful time utilities.
570
571%package -n compat32-%{name}-container
572Summary: Run-Time component of boost container library
[12475]573Group: system
[10630]574
575%description -n compat32-%{name}-container
576
577Boost.Container library implements several well-known containers,
578including STL containers. The aim of the library is to offers advanced
579features not present in standard containers or to offer the latest
580standard draft features for compilers that comply with C++03.
581
582%if %{with context}
583%package -n compat32-%{name}-context
584Summary: Run-Time component of boost context switching library
[12475]585Group: system
[10630]586
587%description -n compat32-%{name}-context
588
589Run-Time support for Boost.Context, a foundational library that
590provides a sort of cooperative multitasking on a single thread.
591
592%package -n compat32-%{name}-coroutine
593Summary: Run-Time component of boost coroutine library
[12475]594Group: system
[10630]595
596%description -n compat32-%{name}-coroutine
597Run-Time support for Boost.Coroutine, a library that provides
598generalized subroutines which allow multiple entry points for
599suspending and resuming execution.
600
601%endif
602
[12387]603%package -n compat32-%{name}-contract
604Summary: Run-time component of boost contract library
[12475]605Group: system
[12387]606Requires: %{name} = %{version}-%{release}
607
608%description -n compat32-%{name}-contract
609Run-time support for boost contract library.
610Contract programming for C++. All contract programming features are supported:
611Subcontracting, class invariants, postconditions (with old and return values),
612preconditions, customizable actions on assertion failure (e.g., terminate
613or throw), optional compilation and checking of assertions, etc,
614from Lorenzo Caminiti.
615
[10630]616%package -n compat32-%{name}-date-time
617Summary: Set of data-time libralies in %{name}
[12475]618Group: system
[10630]619
620%description -n compat32-%{name}-date-time
621Set of data-time libralies in %{name}
622
[12201]623%package -n compat32-%{name}-fiber
624Summary: Set of fiber libralies in %{name}
[12475]625Group: system
[12201]626
627%description -n compat32-%{name}-fiber
628Set of filesystem operation libralies in %{name}
629
[10630]630%package -n compat32-%{name}-filesystem
631Summary: Set of filesystem operation libralies in %{name}
[12475]632Group: system
[10630]633
634%description -n compat32-%{name}-filesystem
635Set of filesystem operation libralies in %{name}
636
637%if 0
638%package -n compat32-%{name}-graph
639Summary: Set of Graphviz libralies in %{name}
[12475]640Group: system
[10630]641
642%description -n compat32-%{name}-graph
643Set of Graphviz libralies in %{name}
644%endif
645
646%package -n compat32-%{name}-iostreams
647Summary: Set of streams and i/o filters libralies in %{name}
[12475]648Group: system
[10630]649
650%description -n compat32-%{name}-iostreams
651Set of streams and i/o filters libralies in %{name}
652
653%if 0
654%package -n compat32-%{name}-locale
655Summary: Run-Time component of boost locale library
[12475]656Group: system
[10630]657Requires: compat32-%{name}-chrono = %{version}-%{release}
658Requires: compat32-%{name}-system = %{version}-%{release}
659Requires: compat32-%{name}-thread = %{version}-%{release}
660
661%description -n compat32-%{name}-locale
662
663Run-Time support for Boost.Locale, a set of localization and Unicode
664handling tools.
665%endif
666
667%if 0
668%package -n compat32-%{name}-log
669Summary: Run-Time component of boost logging library
[12475]670Group: system
[10630]671
672%description -n compat32-%{name}-log
673
674Boost.Log library aims to make logging significantly easier for the
675application developer.  It provides a wide range of out-of-the-box
676tools along with public interfaces for extending the library.
677%endif
678
679%package -n compat32-%{name}-math
680Summary: Set of math libralies in %{name}
[12475]681Group: system
[10630]682
683%description -n compat32-%{name}-math
684Set of math libralies in %{name}
685
686%package -n compat32-%{name}-program-options
687Summary: Set of program options libralies in %{name}
[12475]688Group: system
[10630]689
690%description -n compat32-%{name}-program-options
691Set of program options libralies in %{name}
692
693%if 0
694%package -n compat32-%{name}-python
695Summary: Set of Python libralies in %{name}
[12475]696Group: programming
[10630]697
698%description -n compat32-%{name}-python
699Set of Python libralies in %{name}
700%endif
701
702%if 0
703%if %{with python3}
704
705%package -n compat32-%{name}-python3
706Summary: Run-Time component of boost python library for Python 3
[12475]707Group: programming
[10630]708
709%description -n compat32-%{name}-python3
710
711The Boost Python Library is a framework for interfacing Python and
712C++. It allows you to quickly and seamlessly expose C++ classes,
713functions and objects to Python, and vice versa, using no special
714tools -- just your C++ compiler.  This package contains run-time
715support for Boost Python Library compiled for Python 3.
716
717%endif
718%endif
719
720%package -n compat32-%{name}-random
721Summary: Set of random number generation libralies in %{name}
[12475]722Group: system
[10630]723
724%description -n compat32-%{name}-random
725Set of random number generation libralies in %{name}
726
727%if 0
728%package -n compat32-%{name}-regex
729Summary: Set of regular expression libralies in %{name}
[12475]730Group: system
[10630]731
732%description -n compat32-%{name}-regex
733Set of regular expression libralies in %{name}
734%endif
735
736%package -n compat32-%{name}-serialization
737Summary: Set of serialization libralies in %{name}
[12475]738Group: system
[10630]739
740%description -n compat32-%{name}-serialization
741Set of serialization libralies in %{name}
742
[11348]743%package -n compat32-%{name}-stacktrace
744Summary: Call-stack libraries in %{name}
[12475]745Group: system
[11348]746Requires: %{name} = %{version}-%{release}
747
748%description -n compat32-%{name}-stacktrace
749simple C++03 library that provides information about call sequence in a
750human-readable form
751
[10630]752%package -n compat32-%{name}-system
753Summary: Operating system support
[12475]754Group: system
[10630]755
756%description -n compat32-%{name}-system
757Operating system support, including the diagnostics support
758that will be part of the C++0x standard library
759
760%package -n compat32-%{name}-test
761Summary: Set of libraries for writing and executing tests in %{name}
[12475]762Group: system
[10630]763
764%description -n compat32-%{name}-test
765Set of libraries for writing and executing tests in %{name}
766
767%package -n compat32-%{name}-thread
768Summary: Set of multi-thread libraries in %{name}
[12475]769Group: system
[10630]770
771%description -n compat32-%{name}-thread
772Set of multi-thread libraries in %{name}
773
774%package -n compat32-%{name}-timer
775Summary: Run-Time component of boost timer library
[12475]776Group: system
[10630]777Requires: compat32-%{name}-chrono = %{version}-%{release}
778Requires: compat32-%{name}-system = %{version}-%{release}
779
780%description -n compat32-%{name}-timer
781
782"How long does my C++ code take to run?"
783The Boost Timer library answers that question and does so portably,
784with as little as one #include and one additional line of code.
785
786%package -n compat32-%{name}-type_erasure
787Summary: Run-Time component of boost type erasure library
[12475]788Group: system
[10630]789Requires: compat32-%{name}-chrono = %{version}-%{release}
790Requires: compat32-%{name}-system = %{version}-%{release}
791
792%description -n compat32-%{name}-type_erasure
793
794The Boost.TypeErasure library provides runtime polymorphism in C++
795that is more flexible than that provided by the core language.
796
797%package -n compat32-%{name}-wave
798Summary: Set of wave libraries in %{name}
[12475]799Group: system
[10630]800
801%description -n compat32-%{name}-wave
802Set of wave libraries in %{name}
803
804
[12387]805%debug_package
806
807
[521]808%prep
[2527]809%setup -q -n %{tarname}_%{pkgver}
[12387]810%autopatch -p1
[521]811
[10357]812# At least python2_version needs to be a macro so that it's visible in
813# %%install as well.
814%global python2_version %(/usr/bin/python2 %{SOURCE1})
815%if %{with python3}
816%global python3_version %(/usr/bin/python3 %{SOURCE1})
817%global python3_abiflags %(/usr/bin/python3-config --abiflags)
818%endif
819
[521]820%build
[10357]821: PYTHON2_VERSION=%{python2_version}
822%if %{with python3}
823: PYTHON3_VERSION=%{python3_version}
824: PYTHON3_ABIFLAGS=%{python3_abiflags}
825%endif
[521]826
[10357]827# There are many strict aliasing warnings, and it's not feasible to go
828# through them all at this time.
829# There are also lots of noisy but harmless unused local typedef warnings.
[11348]830export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-unused-local-typedefs -Wno-deprecated-declarations"
[521]831
[10357]832cat > ./tools/build/src/user-config.jam << "EOF"
833import os ;
834local RPM_OPT_FLAGS = [ os.environ RPM_OPT_FLAGS ] ;
835
836using gcc : : : <compileflags>$(RPM_OPT_FLAGS) ;
837%if %{with openmpi} || %{with mpich}
838using mpi ;
839%endif
840using python : %{python2_version} : /usr/bin/python2 : /usr/include/python%{python2_version} : : : : ;
841EOF
842
843./bootstrap.sh --with-toolset=gcc --with-icu
844
845# N.B. When we build the following with PCH, parts of boost (math
846# library in particular) end up being built second time during
847# installation.  Unsure why that is, but all sub-builds need to be
848# built with pch=off to avoid this.
849
850echo ============================= build serial ==================
851./b2 -d+2 -q %{?_smp_mflags} \
[11348]852        --without-mpi --without-graph_parallel --build-dir=serial \
[10357]853%if !%{with context}
[11348]854        --without-context --without-coroutine --without-coroutine2 \
855        --without-fiber \
[10357]856%endif
[11348]857        variant=release threading=multi debug-symbols=on pch=off \
858        python=%{python2_version} stage
[10357]859
860# See libs/thread/build/Jamfile.v2 for where this file comes from.
861if [ $(find serial -type f -name has_atomic_flag_lockfree \
[11348]862                -print -quit | wc -l) -ne 0 ]; then
863        DEF=D
[10357]864else
[11348]865        DEF=U
[10357]866fi
867
868m4 -${DEF}HAS_ATOMIC_FLAG_LOCKFREE -DVERSION=%{version} \
[11348]869        %{SOURCE2} > $(basename %{SOURCE2})
[10357]870
[11348]871%if %{with python3}
872
873# Previously, we built python 2.x and 3.x interfaces simultaneously.
874# However, this doesn't work once trying to build other Python components
875# such as libboost_numpy.  Therefore, we build for each separately, while
876# minimizing duplicate compilation as much as possible.
877
878cat > python3-config.jam << "EOF"
879import os ;
880local RPM_OPT_FLAGS = [ os.environ RPM_OPT_FLAGS ] ;
881
882using gcc : : : <compileflags>$(RPM_OPT_FLAGS) ;
883%if %{with openmpi} || %{with mpich}
884using mpi ;
885%endif
886using python : %{python3_version} : /usr/bin/python3 : /usr/include/python%{python3_version}%{python3_abiflags} : : : : %{python3_abiflags} ;
887EOF
888
889echo ============================= build serial-py3 ==================
890./b2 -d+2 -q %{?_smp_mflags} \
891        --user-config=./python3-config.jam \
892        --with-python --build-dir=serial-py3 \
893        variant=release threading=multi debug-symbols=on pch=off \
894        python=%{python3_version} stage
895
896%endif
897
[10357]898# Build MPI parts of Boost with OpenMPI support
899
900%if %{with openmpi} || %{with mpich}
901# First, purge all modules so that user environment doesn't conflict
902# with the build.
903module purge ||:
904%endif
905
906%if %{with openmpi}
907%{_openmpi_load}
908echo ============================= build $MPI_COMPILER ==================
909./b2 -d+2 -q %{?_smp_mflags} \
[11348]910        --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \
911        variant=release threading=multi debug-symbols=on pch=off \
912        python=%{python2_version} stage
913
914%if %{with python3}
915echo ============================= build $MPI_COMPILER-py3 ==================
916./b2 -d+2 -q %{?_smp_mflags} \
917        --user-config=./python3-config.jam \
918        --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER-py3 \
919        variant=release threading=multi debug-symbols=on pch=off \
920        python=%{python3_version} stage
921%endif
922
[10357]923%{_openmpi_unload}
924export PATH=/bin${PATH:+:}$PATH
925%endif
926
927# Build MPI parts of Boost with MPICH support
928%if %{with mpich}
929%{_mpich_load}
930echo ============================= build $MPI_COMPILER ==================
931./b2 -d+2 -q %{?_smp_mflags} \
[11348]932        --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \
933        variant=release threading=multi debug-symbols=on pch=off \
934        python=%{python2_version} stage
935
936%if %{with python3}
937echo ============================= build $MPI_COMPILER-py3 ==================
938./b2 -d+2 -q %{?_smp_mflags} \
939        --user-config=./python3-config.jam \
940        --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER-py3 \
941        variant=release threading=multi debug-symbols=on pch=off \
942        python=%{python3_version} stage
943%endif
944
[10357]945%{_mpich_unload}
946export PATH=/bin${PATH:+:}$PATH
947%endif
948
949echo ============================= build Boost.Build ==================
950(cd tools/build
951 ./bootstrap.sh --with-toolset=gcc)
952
953%check
954:
955
[521]956%install
957rm -rf $RPM_BUILD_ROOT
[10357]958#cd %{_builddir}/%{name}_%{pkgver}
[521]959
[10357]960%if %{with openmpi} || %{with mpich}
961# First, purge all modules so that user environment doesn't conflict
962# with the build.
963module purge ||:
964%endif
[521]965
[10357]966%if %{with openmpi}
967%{_openmpi_load}
968# XXX We want to extract this from RPM flags
969# b2 instruction-set=i686 etc.
970echo ============================= install $MPI_COMPILER ==================
971./b2 -q %{?_smp_mflags} \
[11348]972        --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \
973        --stagedir=${RPM_BUILD_ROOT}${MPI_HOME} \
974        variant=release threading=multi debug-symbols=on pch=off \
975        python=%{python2_version} stage
[10357]976
[11348]977# Move Python module to proper location for automatic loading
978mkdir -p ${RPM_BUILD_ROOT}%{python2_sitearch}/openmpi/boost
979touch ${RPM_BUILD_ROOT}%{python2_sitearch}/openmpi/boost/__init__.py
980mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/mpi.so \
981   ${RPM_BUILD_ROOT}%{python2_sitearch}/openmpi/boost/
982
983%if %{with python3}
984echo ============================= install $MPI_COMPILER-py3 ==================
985./b2 -q %{?_smp_mflags} \
986        --user-config=./python3-config.jam \
987        --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER-py3 \
988        --stagedir=${RPM_BUILD_ROOT}${MPI_HOME} \
989        variant=release threading=multi debug-symbols=on pch=off \
990        python=%{python3_version} stage
991
992# Move Python module to proper location for automatic loading
993mkdir -p ${RPM_BUILD_ROOT}%{python3_sitearch}/openmpi/boost
994touch ${RPM_BUILD_ROOT}%{python3_sitearch}/openmpi/boost/__init__.py
995mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/mpi.so \
996   ${RPM_BUILD_ROOT}%{python3_sitearch}/openmpi/boost/
997%endif
998
[10357]999# Remove generic parts of boost that were built for dependencies.
1000rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_{python,{w,}serialization}*
1001
1002%{_openmpi_unload}
1003export PATH=/bin${PATH:+:}$PATH
1004%endif
1005
1006%if %{with mpich}
1007%{_mpich_load}
1008echo ============================= install $MPI_COMPILER ==================
1009./b2 -q %{?_smp_mflags} \
[11348]1010        --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \
1011        --stagedir=${RPM_BUILD_ROOT}${MPI_HOME} \
1012        variant=release threading=multi debug-symbols=on pch=off \
1013        python=%{python2_version} stage
[10357]1014
[11348]1015# Move Python module to proper location for automatic loading
1016mkdir -p ${RPM_BUILD_ROOT}%{python2_sitearch}/mpich/boost
1017touch ${RPM_BUILD_ROOT}%{python2_sitearch}/mpich/boost/__init__.py
1018mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/mpi.so \
1019   ${RPM_BUILD_ROOT}%{python2_sitearch}/mpich/boost/
1020
1021%if %{with python3}
1022echo ============================= install $MPI_COMPILER-py3 ==================
1023./b2 -q %{?_smp_mflags} \
1024        --user-config=./python3-config.jam \
1025        --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER-py3 \
1026        --stagedir=${RPM_BUILD_ROOT}${MPI_HOME} \
1027        variant=release threading=multi debug-symbols=on pch=off \
1028        python=%{python3_version} stage
1029
1030# Move Python module to proper location for automatic loading
1031mkdir -p ${RPM_BUILD_ROOT}%{python3_sitearch}/mpich/boost
1032touch ${RPM_BUILD_ROOT}%{python3_sitearch}/mpich/boost/__init__.py
1033mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/mpi.so \
1034   ${RPM_BUILD_ROOT}%{python3_sitearch}/mpich/boost/
1035%endif
1036
[10357]1037# Remove generic parts of boost that were built for dependencies.
1038rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_{python,{w,}serialization}*
1039
1040%{_mpich_unload}
1041export PATH=/bin${PATH:+:}$PATH
1042%endif
1043
1044echo ============================= install serial ==================
1045./b2 -d+2 -q %{?_smp_mflags} \
[11348]1046        --without-mpi --without-graph_parallel --build-dir=serial \
[10357]1047%if !%{with context}
[11348]1048        --without-context --without-coroutine --without-coroutine2 \
1049        --without-fiber \
[10357]1050%endif
[11348]1051        --prefix=$RPM_BUILD_ROOT%{_prefix} \
1052        --libdir=$RPM_BUILD_ROOT%{_libdir} \
1053        variant=release threading=multi debug-symbols=on pch=off \
1054        python=%{python2_version} install
[10357]1055
1056# Override DSO symlink with a linker script.  See the linker script
1057# itself for details of why we need to do this.
1058[ -f $RPM_BUILD_ROOT%{_libdir}/libboost_thread.so ] # Must be present
1059rm -f $RPM_BUILD_ROOT%{_libdir}/libboost_thread.so
1060install -p -m 644 $(basename %{SOURCE2}) $RPM_BUILD_ROOT%{_libdir}/
1061
[11348]1062%if %{with python3}
1063echo ============================= install serial-py3 ==================
1064./b2 -d+2 -q %{?_smp_mflags} \
1065        --user-config=python3-config.jam \
1066        --with-python --build-dir=serial-py3 \
1067        --prefix=$RPM_BUILD_ROOT%{_prefix} \
1068        --libdir=$RPM_BUILD_ROOT%{_libdir} \
1069        variant=release threading=multi debug-symbols=on pch=off \
1070        python=%{python3_version} install
1071
1072%endif
1073
[10357]1074echo ============================= install Boost.Build ==================
1075(cd tools/build
1076 ./b2 --prefix=$RPM_BUILD_ROOT%{_prefix} install
1077 # Fix some permissions
1078 chmod +x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxproc.py
1079 # We don't want to distribute this
1080 rm -f $RPM_BUILD_ROOT%{_bindir}/b2
1081 # Empty file
1082 rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxygen/windows-paths-check.hpp
[12387]1083 # install binary
1084 install -Dpm755 ./src/engine/bjam %{buildroot}%{_bindir}/bjam
[10357]1085 # Install the manual page
1086 %{__install} -p -m 644 v2/doc/bjam.1 -D $RPM_BUILD_ROOT%{_mandir}/man1/bjam.1
1087)
1088
1089echo ============================= install Boost.QuickBook ==================
1090(cd tools/quickbook
1091 ../build/b2 --prefix=$RPM_BUILD_ROOT%{_prefix}
1092 %{__install} -p -m 755 ../../dist/bin/quickbook $RPM_BUILD_ROOT%{_bindir}/
1093 cd ../boostbook
1094 find dtd -type f -name '*.dtd' | while read tobeinstalledfiles; do
1095   install -p -m 644 $tobeinstalledfiles -D $RPM_BUILD_ROOT%{_datadir}/boostbook/$tobeinstalledfiles
1096 done
1097 find xsl -type f | while read tobeinstalledfiles; do
1098   install -p -m 644 $tobeinstalledfiles -D $RPM_BUILD_ROOT%{_datadir}/boostbook/$tobeinstalledfiles
1099 done
1100)
1101
1102# Install documentation files (HTML pages) within the temporary place
1103echo ============================= install documentation ==================
1104# Prepare the place to temporarily store the generated documentation
1105rm -rf %{boost_docdir} && %{__mkdir_p} %{boost_docdir}/html
1106DOCPATH=%{boost_docdir}
1107DOCREGEX='.*\.\(html?\|css\|png\|gif\)'
1108
1109find libs doc more -type f -regex $DOCREGEX \
1110    | sed -n '/\//{s,/[^/]*$,,;p}' \
1111    | sort -u > tmp-doc-directories
1112
1113sed "s:^:$DOCPATH/:" tmp-doc-directories \
1114    | xargs -P 0 --no-run-if-empty %{__install} -d
1115
1116cat tmp-doc-directories | while read tobeinstalleddocdir; do
1117    find $tobeinstalleddocdir -mindepth 1 -maxdepth 1 -regex $DOCREGEX -print0 \
1118    | xargs -P 0 -0 %{__install} -p -m 644 -t $DOCPATH/$tobeinstalleddocdir
1119done
1120rm -f tmp-doc-directories
1121%{__install} -p -m 644 -t $DOCPATH LICENSE_1_0.txt index.htm index.html boost.png rst.css boost.css
1122
1123echo ============================= install examples ==================
1124# Fix a few non-standard issues (DOS and/or non-UTF8 files)
1125sed -i -e 's/\r//g' libs/geometry/example/ml02_distance_strategy.cpp
1126for tmp_doc_file in flyweight/example/Jamfile.v2 \
1127 format/example/sample_new_features.cpp multi_index/example/Jamfile.v2 \
1128 multi_index/example/hashed.cpp serialization/example/demo_output.txt
1129do
1130  mv libs/${tmp_doc_file} libs/${tmp_doc_file}.iso8859
1131  iconv -f ISO8859-1 -t UTF8 < libs/${tmp_doc_file}.iso8859 > libs/${tmp_doc_file}
1132  touch -r libs/${tmp_doc_file}.iso8859 libs/${tmp_doc_file}
1133  rm -f libs/${tmp_doc_file}.iso8859
1134done
1135
1136# Prepare the place to temporarily store the examples
1137rm -rf %{boost_examplesdir} && mkdir -p %{boost_examplesdir}/html
1138EXAMPLESPATH=%{boost_examplesdir}
1139find libs -type d -name example -exec find {} -type f \; \
1140    | sed -n '/\//{s,/[^/]*$,,;p}' \
1141    | sort -u > tmp-doc-directories
1142sed "s:^:$EXAMPLESPATH/:" tmp-doc-directories \
1143    | xargs -P 0 --no-run-if-empty %{__install} -d
1144rm -f tmp-doc-files-to-be-installed && touch tmp-doc-files-to-be-installed
1145cat tmp-doc-directories | while read tobeinstalleddocdir
1146do
1147  find $tobeinstalleddocdir -mindepth 1 -maxdepth 1 -type f \
1148    >> tmp-doc-files-to-be-installed
1149done
1150cat tmp-doc-files-to-be-installed | while read tobeinstalledfiles
1151do
1152  if test -s $tobeinstalledfiles
1153  then
1154    tobeinstalleddocdir=`dirname $tobeinstalledfiles`
1155    %{__install} -p -m 644 -t $EXAMPLESPATH/$tobeinstalleddocdir $tobeinstalledfiles
1156  fi
1157done
1158rm -f tmp-doc-files-to-be-installed
1159rm -f tmp-doc-directories
1160%{__install} -p -m 644 -t $EXAMPLESPATH LICENSE_1_0.txt
1161
[11348]1162
1163# MPI subpackages don't need the ldconfig magic.  They are hidden by
1164# default, in MPI back-end-specific directory, and only show to the
1165# user after the relevant environment module has been loaded.
1166# rpmlint will report that as errors, but it is fine.
1167
[521]1168ln -s ./%{tarname} ${RPM_BUILD_ROOT}/%{_includedir}/%{tarname}-%{lnkver}
1169
1170# remove unuse files
1171rm -f ${RPM_BUILD_ROOT}/%{_libdir}/%{name}_*.a
1172
[10357]1173%clean
1174rm -rf $RPM_BUILD_ROOT
[521]1175
1176
[10357]1177# MPI subpackages don't need the ldconfig magic.  They are hidden by
1178# default, in MPI back-end-specific directory, and only show to the
1179# user after the relevant environment module has been loaded.
1180# rpmlint will report that as errors, but it is fine.
1181
[8005]1182%post atomic -p /sbin/ldconfig
1183%post chrono -p /sbin/ldconfig
[10357]1184%post container -p /sbin/ldconfig
[8005]1185%if %{with context}
1186%post context -p /sbin/ldconfig
[10357]1187%post coroutine -p /sbin/ldconfig
[8005]1188%endif
[12387]1189%post contract -p /sbin/ldconfig
[521]1190%post date-time -p /sbin/ldconfig
1191%post filesystem -p /sbin/ldconfig
1192%post graph -p /sbin/ldconfig
1193%post iostreams -p /sbin/ldconfig
[8005]1194%post locale -p /sbin/ldconfig
1195%post log -p /sbin/ldconfig
[521]1196%post math -p /sbin/ldconfig
1197%post program-options -p /sbin/ldconfig
1198%post python -p /sbin/ldconfig
[10357]1199%post random -p /sbin/ldconfig
[521]1200%post regex -p /sbin/ldconfig
1201%post serialization -p /sbin/ldconfig
1202%post system -p /sbin/ldconfig
1203%post test -p /sbin/ldconfig
1204%post thread -p /sbin/ldconfig
[8005]1205%post timer -p /sbin/ldconfig
[10357]1206%post type_erasure -p /sbin/ldconfig
[521]1207%post wave -p /sbin/ldconfig
1208
[8005]1209%postun atomic -p /sbin/ldconfig
1210%postun chrono -p /sbin/ldconfig
[10357]1211%postun container -p /sbin/ldconfig
[8005]1212%if %{with context}
1213%postun context -p /sbin/ldconfig
[10357]1214%postun coroutine -p /sbin/ldconfig
[8005]1215%endif
[12387]1216%postun contract -p /sbin/ldconfig
[521]1217%postun date-time -p /sbin/ldconfig
1218%postun filesystem -p /sbin/ldconfig
1219%postun graph -p /sbin/ldconfig
1220%postun iostreams -p /sbin/ldconfig
[8005]1221%postun locale -p /sbin/ldconfig
1222%postun log -p /sbin/ldconfig
[521]1223%postun math -p /sbin/ldconfig
1224%postun program-options -p /sbin/ldconfig
1225%postun python -p /sbin/ldconfig
[10357]1226%postun random -p /sbin/ldconfig
[521]1227%postun regex -p /sbin/ldconfig
1228%postun serialization -p /sbin/ldconfig
1229%postun system -p /sbin/ldconfig
1230%postun test -p /sbin/ldconfig
1231%postun thread -p /sbin/ldconfig
[8005]1232%postun timer -p /sbin/ldconfig
[10357]1233%postun type_erasure -p /sbin/ldconfig
[521]1234%postun wave -p /sbin/ldconfig
1235
1236%files
1237%defattr(-,root,root)
[12201]1238%license LICENSE_1_0.txt
[521]1239
[8005]1240%files atomic
1241%defattr(-, root, root, -)
[12201]1242%license LICENSE_1_0.txt
[10357]1243%{_libdir}/libboost_atomic.so.*
[8005]1244
1245%files chrono
1246%defattr(-, root, root, -)
[12201]1247%license LICENSE_1_0.txt
[10357]1248%{_libdir}/libboost_chrono.so.*
[8005]1249
[10357]1250%files container
1251%license LICENSE_1_0.txt
1252%{_libdir}/libboost_container.so.*
1253
[8005]1254%if %{with context}
1255%files context
1256%defattr(-, root, root, -)
[12201]1257%license LICENSE_1_0.txt
[10357]1258%{_libdir}/libboost_context.so.*
1259
1260%files coroutine
1261%license LICENSE_1_0.txt
1262%{_libdir}/libboost_coroutine.so.*
[8005]1263%endif
1264
[12387]1265%files contract
1266%defattr(-, root, root, -)
1267%license LICENSE_1_0.txt
1268%{_libdir}/libboost_contract.so.*
1269
[521]1270%files date-time
[12201]1271%license LICENSE_1_0.txt
[10357]1272%{_libdir}/%{name}_date_time*.so.*
[521]1273
1274%files filesystem
[12201]1275%license LICENSE_1_0.txt
[10357]1276%{_libdir}/%{name}_filesystem*.so.*
[521]1277
[12201]1278%files fiber
1279%license LICENSE_1_0.txt
1280%{_libdir}/%{name}_fiber*.so.*
1281
[521]1282%files graph
[12201]1283%license LICENSE_1_0.txt
[10357]1284%{_libdir}/%{name}_graph*.so.*
[521]1285
1286%files iostreams
[12201]1287%license LICENSE_1_0.txt
[10357]1288%{_libdir}/%{name}_iostreams*.so.*
[521]1289
[8005]1290%files locale
1291%defattr(-, root, root, -)
[12201]1292%license LICENSE_1_0.txt
[10357]1293%{_libdir}/libboost_locale.so.*
[8005]1294
1295%files log
1296%defattr(-, root, root, -)
[12201]1297%license LICENSE_1_0.txt
[10357]1298%{_libdir}/libboost_log.so.*
1299%{_libdir}/libboost_log_setup.so.*
[8005]1300
[521]1301%files math
[12201]1302%license LICENSE_1_0.txt
[10357]1303%{_libdir}/%{name}_math_*.so.*
[521]1304
1305%files program-options
[12201]1306%license LICENSE_1_0.txt
[10357]1307%{_libdir}/%{name}_program_options*.so.*
[521]1308
1309%files python
[12201]1310%license LICENSE_1_0.txt
[12387]1311%{_libdir}/%{name}_python27.so.*
[521]1312
[10357]1313%if %{with python3}
1314%files python3
1315%license LICENSE_1_0.txt
[12475]1316%{_libdir}/libboost_python3*.so.*
[10357]1317
1318%files python3-devel
1319%license LICENSE_1_0.txt
[12475]1320%{_libdir}/libboost_python3*.so
[10357]1321%endif
1322
[2527]1323%files random
[12201]1324%license LICENSE_1_0.txt
[10357]1325%{_libdir}/%{name}_random*.so.*
[2527]1326
[521]1327%files regex
[12201]1328%license LICENSE_1_0.txt
[10357]1329%{_libdir}/%{name}_regex*.so.*
[521]1330
1331%files serialization
[12201]1332%license LICENSE_1_0.txt
[10357]1333%{_libdir}/%{name}_serialization*.so.*
1334%{_libdir}/%{name}_wserialization*.so.*
[521]1335
[11348]1336%files stacktrace
[12201]1337%license LICENSE_1_0.txt
[11348]1338%{_libdir}/%{name}_stacktrace*.so.*
1339
[2527]1340%files system
[12201]1341%license LICENSE_1_0.txt
[10357]1342%{_libdir}/%{name}_system*.so.*
[2527]1343
[521]1344%files test
[12201]1345%license LICENSE_1_0.txt
[10357]1346%{_libdir}/%{name}_prg_exec_monitor*.so.*
1347%{_libdir}/%{name}_unit_test_framework*.so.*
[521]1348
1349%files thread
[12201]1350%license LICENSE_1_0.txt
[10357]1351%{_libdir}/%{name}_thread*.so.*
[521]1352
[8005]1353%files timer
1354%defattr(-, root, root, -)
[12201]1355%license LICENSE_1_0.txt
[10357]1356%{_libdir}/libboost_timer.so.*
[8005]1357
[10357]1358%files type_erasure
1359%license LICENSE_1_0.txt
1360%{_libdir}/libboost_type_erasure.so.*
1361
[521]1362%files wave
[12201]1363%license LICENSE_1_0.txt
[10357]1364%{_libdir}/%{name}_wave*.so.*
[521]1365
[10357]1366%files devel
1367%defattr(-,root,root)
1368%{_includedir}/boost/
1369%{_includedir}/boost-%{lnkver}
1370%{_libdir}/%{name}_*.so
[12387]1371%dir %{_libdir}/cmake
1372%{_libdir}/cmake/*
[10357]1373
1374%files doc
1375%doc index.htm index.html boost.css boost.png rst.css doc libs more
1376
1377%files build
1378%license LICENSE_1_0.txt
1379%{_datadir}/boost-build
1380
1381%files doctools
1382%license LICENSE_1_0.txt
1383%{_bindir}/quickbook
1384%{_datadir}/boostbook/
1385
1386%files jam
1387%license LICENSE_1_0.txt
1388%{_bindir}/bjam
1389%{_mandir}/man1/bjam.1*
1390
1391# OpenMPI packages
1392%if %{with openmpi}
1393
1394%files openmpi
1395%license LICENSE_1_0.txt
1396%{_libdir}/openmpi/lib/libboost_mpi.so.*
1397
1398%files openmpi-python
1399%license LICENSE_1_0.txt
1400%{_libdir}/openmpi/lib/libboost_mpi_python.so.*
1401%{_libdir}/openmpi/lib/mpi.so
1402
1403%files graph-openmpi
1404%license LICENSE_1_0.txt
1405%{_libdir}/openmpi/lib/libboost_graph_parallel.so.*
1406
1407%endif
1408
1409# MPICH packages
1410%if %{with mpich}
1411
1412%files mpich
1413%license LICENSE_1_0.txt
1414%{_libdir}/mpich/lib/libboost_mpi.so.*
1415
1416%files mpich-python
1417%license LICENSE_1_0.txt
1418%{_libdir}/mpich/lib/libboost_mpi_python.so.*
1419%{_libdir}/mpich/lib/mpi.so
1420
1421%files graph-mpich
1422%license LICENSE_1_0.txt
1423%{_libdir}/mpich/lib/libboost_graph_parallel.so.*
1424
1425%endif
1426
[10630]1427
1428%if %{build_compat32}
1429
1430%files -n compat32-%{name}-atomic
1431%defattr(-, root, root, -)
[12201]1432%license LICENSE_1_0.txt
[10630]1433%{_libdir}/libboost_atomic.so.*
1434
1435%files -n compat32-%{name}-chrono
1436%defattr(-, root, root, -)
[12201]1437%license LICENSE_1_0.txt
[10630]1438%{_libdir}/libboost_chrono.so.*
1439
1440%files -n compat32-%{name}-container
1441%license LICENSE_1_0.txt
1442%{_libdir}/libboost_container.so.*
1443
1444%if %{with context}
1445%files -n compat32-%{name}-context
1446%defattr(-, root, root, -)
[12201]1447%license LICENSE_1_0.txt
[10630]1448%{_libdir}/libboost_context.so.*
1449
1450%files -n compat32-%{name}-coroutine
1451%license LICENSE_1_0.txt
1452%{_libdir}/libboost_coroutine.so.*
1453%endif
1454
[12387]1455%files -n compat32-%{name}-contract
1456%defattr(-, root, root, -)
1457%license LICENSE_1_0.txt
1458%{_libdir}/libboost_contract.so.*
1459
[10630]1460%files -n compat32-%{name}-date-time
[12201]1461%license LICENSE_1_0.txt
[10630]1462%{_libdir}/%{name}_date_time*.so.*
1463
[12201]1464%files -n compat32-%{name}-fiber
1465%license LICENSE_1_0.txt
1466%{_libdir}/%{name}_fiber*.so.*
1467
[10630]1468%files -n compat32-%{name}-filesystem
[12201]1469%license LICENSE_1_0.txt
[10630]1470%{_libdir}/%{name}_filesystem*.so.*
1471
1472%if 0
1473%files -n compat32-%{name}-graph
[12201]1474%license LICENSE_1_0.txt
[10630]1475%{_libdir}/%{name}_graph*.so.*
1476%endif
1477
1478%files -n compat32-%{name}-iostreams
[12201]1479%license LICENSE_1_0.txt
[10630]1480%{_libdir}/%{name}_iostreams*.so.*
1481
1482%if 0
1483%files -n compat32-%{name}-locale
1484%defattr(-, root, root, -)
[12201]1485%license LICENSE_1_0.txt
[10630]1486%{_libdir}/libboost_locale.so.*
1487%endif
1488
1489%if 0
1490%files -n compat32-%{name}-log
1491%defattr(-, root, root, -)
[12201]1492%license LICENSE_1_0.txt
[10630]1493%{_libdir}/libboost_log.so.*
1494%{_libdir}/libboost_log_setup.so.*
1495%endif
1496
1497%files -n compat32-%{name}-math
[12201]1498%license LICENSE_1_0.txt
[10630]1499%{_libdir}/%{name}_math_*.so.*
1500
1501%files -n compat32-%{name}-program-options
[12201]1502%license LICENSE_1_0.txt
[10630]1503%{_libdir}/%{name}_program_options*.so.*
1504
1505%if 0
1506%files -n compat32-%{name}-python
[12201]1507%license LICENSE_1_0.txt
[12387]1508%{_libdir}/%{name}_python27.so.*
[10630]1509
1510%if %{with python3}
1511%files -n compat32-%{name}-python3
1512%license LICENSE_1_0.txt
[12475]1513%{_libdir}/libboost_python3*.so.*
[10630]1514%endif
1515%endif
1516
1517%files -n compat32-%{name}-random
[12201]1518%license LICENSE_1_0.txt
[10630]1519%{_libdir}/%{name}_random*.so.*
1520
1521%if 0
1522%files -n compat32-%{name}-regex
[12201]1523%license LICENSE_1_0.txt
[10630]1524%{_libdir}/%{name}_regex*.so.*
1525%endif
1526
1527%files -n compat32-%{name}-serialization
[12201]1528%license LICENSE_1_0.txt
[10630]1529%{_libdir}/%{name}_serialization*.so.*
1530%{_libdir}/%{name}_wserialization*.so.*
1531
[11348]1532%files -n compat32-%{name}-stacktrace
[12201]1533%license LICENSE_1_0.txt
[11348]1534%{_libdir}/%{name}_stacktrace*.so.*
1535
[10630]1536%files -n compat32-%{name}-system
[12201]1537%license LICENSE_1_0.txt
[10630]1538%{_libdir}/%{name}_system*.so.*
1539
1540%files -n compat32-%{name}-test
[12201]1541%license LICENSE_1_0.txt
[10630]1542%{_libdir}/%{name}_prg_exec_monitor*.so.*
1543%{_libdir}/%{name}_unit_test_framework*.so.*
1544
1545%files -n compat32-%{name}-thread
[12201]1546%license LICENSE_1_0.txt
[10630]1547%{_libdir}/%{name}_thread*.so.*
1548
1549%files -n compat32-%{name}-timer
1550%defattr(-, root, root, -)
[12201]1551%license LICENSE_1_0.txt
[10630]1552%{_libdir}/libboost_timer.so.*
1553
1554%files -n compat32-%{name}-type_erasure
1555%license LICENSE_1_0.txt
1556%{_libdir}/libboost_type_erasure.so.*
1557
1558%files -n compat32-%{name}-wave
[12201]1559%license LICENSE_1_0.txt
[10630]1560%{_libdir}/%{name}_wave*.so.*
1561
1562%endif
1563
1564
[521]1565%changelog
[12475]1566* Mon Aug 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.72.0-2
1567- rebuilt with python-3.8.
1568
[12387]1569* Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.72.0-1
1570- new upstream release.
1571- built with icu-67.
1572- updated patches.
1573- imported Patch86 from rawhide.
1574
[12344]1575* Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-5
[12387]1576- rebuilt with gcc-9 and icu-66.
[12344]1577
[12263]1578* Sun Oct 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-4
1579- rebuilt with icu-65.
1580
[12201]1581* Wed Sep 11 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-3
1582- rebuilt with gcc-8.
1583- added a subpackage 'libboost-fiber'.
1584
[11367]1585* Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-2
1586- rebuilt with libicu-60.2.
1587
[11348]1588* Sun Jan 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-1
1589- updated to boost_1_66_0.
1590- dropped Patch36, 63 and 81.
1591- updated Patch65.
1592- imported Patch82 from rawhide.
1593- added a subpackage 'libboost-stacktrace'.
1594
[10630]1595* Sat Jul 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.60.0-3
1596- added compat32-* packages.
1597
[10405]1598* Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.60.0-2
1599- rebuild with python3-3.5.2
1600
[10357]1601* Mon Jun  6 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.60.0-1
1602- updated to boost_1_60_0.
1603- dropped all patches.
1604- imported patches from rawhide.
1605- moved *.so into libboost-devel.
1606
[8005]1607* Mon Nov 25 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.54.0-1
[10357]1608- update to boost_1_54_0
[8005]1609- all package: including license file
1610- drop boost_filesystem patch (Patch0)
1611- sync Fedora boost-1.54.0-5.fc21
1612 - new packages: atomic, chrono, context, locale, log, timer
1613 - add patches
1614  - Patch4, 5, 9, 15, 18..28, 31..38, 42..55
1615
[2728]1616* Sun Feb 20 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.45.0-2
1617- fixed crashing throwing exception
1618  "std::runtime_error: locale::facet::_S_create_c_locale name not valid"
1619  on some systems (FreeBSD and some linuxes) when current locale
1620  (LANG,LC_ALL) is not "C"
1621
[2527]1622* Tue Jan 18 2011 Shu KONNO <owa@bg.wakwak.com> 1.45.0-1
1623- updated to boost_1_45_0
1624- added random sub-package
1625
[825]1626* Wed Apr 14 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.42.0-4
1627- rebuilt again on ppc
1628
[798]1629* Sat Apr 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.42.0-3
1630- rebuilt with libicu-4.4
1631
[521]1632* Mon Feb 08 2010 Shu KONNO <owa@bg.wakwak.com> 1.42.0-2
1633- added "-licui18n" to bjam
1634- added BR: lam
1635
1636* Sun Feb 07 2010 Shu KONNO <owa@bg.wakwak.com> 1.42.0-1
1637- updated to boost_1_42_0
1638- rebuilt with new toolchain and python-2.6
1639- added user-config.jam to make libboost_mpi
1640- added BR: libaio-devel
1641- added %%{post,postun} -p /sbin/ldconfig
1642- dropt no use parameter EXPAT_INCLUDE and EXPAT_LIBPATH
1643- dropt %{_libdir}/%{name}_test_exec_monitor-*.a in %%files %{name}-test
1644- dropt %%{post,postun} devel section
1645
1646* Sun Mar 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.36.0-2vl5
1647- rebuilt with libicu-4.0.1
1648- changed Group to System Environment/Libraries (except devel package)
1649
1650* Sat Aug 16 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.36.0-1vl5
1651- new upstream release
1652- add -math subpackage
1653
1654* Fri Aug 15 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.35.0-2vl5
1655- build with python-2.5
1656- add libboost_XXXX.so symlinks
1657
1658* Thu May 8 2008 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.35.0-1vl5
1659- upstream release
1660- applied new versioning policy
1661- add EXPAT_INCLUDE and EXPAT_LIBPATH to enable GraphML support
1662- add new package libboost-system
1663- Obsolete: *-devel packages
1664
1665* Sat Sep  8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.34.1-0vl3
1666- rebuilt with libicu-3.6
1667- changed doc Group to Applications/Documentation
1668
1669* Sat Aug 18 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.34.1-0vl2
1670- upstream release
1671
1672* Thu Jun 14 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.34.0-0vl3
1673- add --libdir=%%{_libdir} to cope with x86_64 environment
1674
1675* Sun Jun 10 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.34.0-0vl2
1676- upstream release
1677- use Easy Build and Install process with ./configure
1678- add BuildRequires: libicu-devel
1679- remove %%{_libdir}/libboost_test_exec_monitor-*.so* from %%files -n libboost-test
1680- add new packages: libboost-graph, libboost-graph-devel, libboost-wave
1681- add files to doc package
1682
1683* Sun May 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.33.1-0vl2
1684- rebuilt with new toolchain
1685
1686* Sat Feb 4 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.1-0vl1
1687- upstream release
1688
1689* Mon Dec 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.33.0-0vl3
1690- fixed typo in Groups:
1691- devel packages also moved to Development/Libraries group
1692
1693* Mon Sep 19 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.33.0-0vl2
1694- spec modified to avoid errors on non-ix86 archtecture
1695  (previously the path linuxx86 was explicitly used)
1696
1697* Sun Sep 11 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.0-0vl1
1698- initial release for Vine Linux
1699
1700* Sat Sep 10 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.0-0vl0.3
1701- link /usr/include/boost_%{lnkver}/boost to /usr/include/boost
1702
1703* Sat Sep 10 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.0-0vl0.2
1704- change package name from boost to libboost
1705- separated into sub-packages
1706
1707* Fri Jun 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.33.0-0vl0.1
1708- upstream release
1709- add BuildRequires: bzip2-devel zlib-devel
1710
1711* Fri Jun 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.7
1712- added so.* file
1713
1714* Mon Apr 25 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.6
1715- moved %post, %postun script to -devel package
1716
1717* Mon Apr 25 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.5
1718- moved doc/html to -devel package
1719- make a symbolic link on %{_includedir}/boost
1720
1721* Mon Apr 25 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.4
1722- fixed character code to euc-jp
1723
1724* Mon Apr 25 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.3
1725- add %doc files
1726
1727* Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.2
1728- remove Requires
1729- split -devel package
1730
1731* Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.32.0-0vl0.1
1732- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.