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

Revision 12537, 51.0 KB checked in by tomop, 3 years ago (diff)

updated 8 packages

Field3D-1.7.3-3

OpenImageIO-2.2.11.1-1

c-ares-1.17.1-1

curl-7.75.0-1

galera-26.4.6-1

libboost-1.75.0-1

nghttp2-1.43.0-1

source-highlight-3.1.8-3

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