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

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%define major 1
19%define minor 72
20%define teeny 0
21%define tarname boost
22%define lnkver %{major}_%{minor}
23%define pkgver %{major}_%{minor}_%{teeny}
24
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
35Summary: Portable C++ source libraries
36Summary(ja): ポータブルな C++ ソースライブラリ
37Name: libboost
38Version: %{major}.%{minor}.%{teeny}
39Release: 2%{?_dist_release}
40Group: system
41Vendor: Project Vine
42Distribution: Vine Linux
43
44License: distributable
45URL: http://www.boost.org/
46Source0: http://downloads.sourceforge.net/%{tarname}/%{tarname}_%{pkgver}.tar.bz2
47Source1: ver.py
48Source2: libboost_thread.so
49
50BuildRequires: python-devel apache2-devel bzip2-devel zlib-devel libicu-devel
51BuildRequires: libaio-devel lam
52BuildRequires: libquadmath-devel
53%if %{with python3}
54BuildRequires: python3-devel
55%endif
56BuildRoot: %{_tmppath}/%{name}-%{version}-root
57
58# https://svn.boost.org/trac/boost/ticket/6150
59Patch4: 0001-fix-non-utf8-files.patch
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
63Patch5: 0002-add-bjam-man-page.patch
64
65# https://bugzilla.redhat.com/show_bug.cgi?id=828856
66# https://bugzilla.redhat.com/show_bug.cgi?id=828857
67# https://svn.boost.org/trac/boost/ticket/6701
68Patch15: 0003-pool.patch
69
70# https://svn.boost.org/trac/boost/ticket/5637
71Patch25: 0004-mpl-print.patch
72
73# https://svn.boost.org/trac/boost/ticket/9038
74Patch51: 0005-pool-test_linking.patch
75
76# https://bugzilla.redhat.com/show_bug.cgi?id=1102667
77Patch61: 0006-python-libpython_dep.patch
78Patch62: 0007-python-abi_letters.patch
79
80# https://bugzilla.redhat.com/show_bug.cgi?id=1190039
81Patch65: 0008-build-optflags.patch
82
83# Prevent gcc.jam from setting -m32 or -m64.
84Patch68: 0009-address-model.patch
85
86# https://bugzilla.redhat.com/show_bug.cgi?id=1318383
87Patch82: 0010-no-rpath.patch
88
89# https://bugzilla.redhat.com/show_bug.cgi?id=1541035
90# deprecated in upstream.
91#Patch83: boost-1.66.0-bjam-build-flags.patch
92
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
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
132%package atomic
133Summary: Run-Time component of boost atomic library
134Group: system
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
145Group: system
146Requires: %{name}-system = %{version}-%{release}
147
148%description chrono
149
150Run-Time support for Boost.Chrono, a set of useful time utilities.
151
152%package container
153Summary: Run-Time component of boost container library
154Group: system
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
164%if %{with context}
165%package context
166Summary: Run-Time component of boost context switching library
167Group: system
168Requires: %{name} = %{version}-%{release}
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
175%package coroutine
176Summary: Run-Time component of boost coroutine library
177Group: system
178Requires: %{name} = %{version}-%{release}
179
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.
184
185%endif
186
187%package contract
188Summary: Run-time component of boost contract library
189Group: system
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
200%package date-time
201Summary: Set of data-time libralies in %{name}
202Group: system
203Requires: %{name} = %{version}-%{release}
204
205%description date-time
206Set of data-time libralies in %{name}
207
208%package fiber
209Summary: Set of fiber libralies in %{name}
210Group: system
211Requires: %{name} = %{version}-%{release}
212
213%description fiber
214Set of fiber libralies in %{name}
215
216%package filesystem
217Summary: Set of filesystem operation libralies in %{name}
218Group: system
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}
226Group: system
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}
234Group: system
235Requires: %{name} = %{version}-%{release}
236
237%description iostreams
238Set of streams and i/o filters libralies in %{name}
239
240%package locale
241Summary: Run-Time component of boost locale library
242Group: system
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
254Group: system
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
262%package math
263Summary: Set of math libralies in %{name}
264Group: system
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}
272Group: system
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}
280Group: programming
281Requires: %{name} = %{version}-%{release}
282
283%description python
284Set of Python libralies in %{name}
285
286%if %{with python3}
287
288%package python3
289Summary: Run-Time component of boost python library for Python 3
290Group: programming
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
302Group: programming
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
312%package random
313Summary: Set of random number generation libralies in %{name}
314Group: system
315Requires: %{name} = %{version}-%{release}
316
317%description random
318Set of random number generation libralies in %{name}
319
320%package regex
321Summary: Set of regular expression libralies in %{name}
322Group: system
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}
330Group: system
331Requires: %{name} = %{version}-%{release}
332
333%description serialization
334Set of serialization libralies in %{name}
335
336%package stacktrace
337Summary: Call-stack libraries in %{name}
338Group: system
339Requires: %{name} = %{version}-%{release}
340
341%description stacktrace
342simple C++03 library that provides information about call sequence in a
343human-readable form
344
345%package system
346Summary: Operating system support
347Requires: %{name} = %{version}-%{release}
348
349%description system
350Operating system support, including the diagnostics support
351that will be part of the C++0x standard library
352
353%package test
354Summary: Set of libraries for writing and executing tests in %{name}
355Group: system
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}
363Group: system
364Requires: %{name} = %{version}-%{release}
365
366%description thread
367Set of multi-thread libraries in %{name}
368
369%package timer
370Summary: Run-Time component of boost timer library
371Group: system
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
381%package type_erasure
382Summary: Run-Time component of boost type erasure library
383Group: system
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
392%package wave
393Summary: Set of wave libraries in %{name}
394Group: system
395Requires: %{name} = %{version}-%{release}
396
397%description wave
398Set of wave libraries in %{name}
399
400%package devel
401Summary: Header files and libraries for developing apps which will use %{name}
402Summary(ja): %{name}の開発に必要なヘッダファイル及びライブラリ
403Group: programming
404Requires: %{name} = %{version}-%{release}
405Requires: libicu-devel
406Requires: libquadmath-devel
407
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}のドキュメント
419Group: documentation
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
430Group: programming
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
444Group: publishing
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
454Group: programming
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
466Group: system
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
477Group: programming
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
489Group: system
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
507Group: system
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
520Group: programming
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
534Group: system
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
549#### compat32 packages ####
550
551%package -n compat32-%{name}-atomic
552Summary: Run-Time component of boost atomic library
553Group: system
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
564Group: system
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
573Group: system
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
585Group: system
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
594Group: system
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
603%package -n compat32-%{name}-contract
604Summary: Run-time component of boost contract library
605Group: system
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
616%package -n compat32-%{name}-date-time
617Summary: Set of data-time libralies in %{name}
618Group: system
619
620%description -n compat32-%{name}-date-time
621Set of data-time libralies in %{name}
622
623%package -n compat32-%{name}-fiber
624Summary: Set of fiber libralies in %{name}
625Group: system
626
627%description -n compat32-%{name}-fiber
628Set of filesystem operation libralies in %{name}
629
630%package -n compat32-%{name}-filesystem
631Summary: Set of filesystem operation libralies in %{name}
632Group: system
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}
640Group: system
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}
648Group: system
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
656Group: system
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
670Group: system
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}
681Group: system
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}
688Group: system
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}
696Group: programming
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
707Group: programming
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}
722Group: system
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}
730Group: system
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}
738Group: system
739
740%description -n compat32-%{name}-serialization
741Set of serialization libralies in %{name}
742
743%package -n compat32-%{name}-stacktrace
744Summary: Call-stack libraries in %{name}
745Group: system
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
752%package -n compat32-%{name}-system
753Summary: Operating system support
754Group: system
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}
762Group: system
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}
769Group: system
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
776Group: system
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
788Group: system
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}
799Group: system
800
801%description -n compat32-%{name}-wave
802Set of wave libraries in %{name}
803
804
805%debug_package
806
807
808%prep
809%setup -q -n %{tarname}_%{pkgver}
810%autopatch -p1
811
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
820%build
821: PYTHON2_VERSION=%{python2_version}
822%if %{with python3}
823: PYTHON3_VERSION=%{python3_version}
824: PYTHON3_ABIFLAGS=%{python3_abiflags}
825%endif
826
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.
830export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-unused-local-typedefs -Wno-deprecated-declarations"
831
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} \
852        --without-mpi --without-graph_parallel --build-dir=serial \
853%if !%{with context}
854        --without-context --without-coroutine --without-coroutine2 \
855        --without-fiber \
856%endif
857        variant=release threading=multi debug-symbols=on pch=off \
858        python=%{python2_version} stage
859
860# See libs/thread/build/Jamfile.v2 for where this file comes from.
861if [ $(find serial -type f -name has_atomic_flag_lockfree \
862                -print -quit | wc -l) -ne 0 ]; then
863        DEF=D
864else
865        DEF=U
866fi
867
868m4 -${DEF}HAS_ATOMIC_FLAG_LOCKFREE -DVERSION=%{version} \
869        %{SOURCE2} > $(basename %{SOURCE2})
870
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
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} \
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
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} \
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
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
956%install
957rm -rf $RPM_BUILD_ROOT
958#cd %{_builddir}/%{name}_%{pkgver}
959
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
965
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} \
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
976
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
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} \
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
1014
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
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} \
1046        --without-mpi --without-graph_parallel --build-dir=serial \
1047%if !%{with context}
1048        --without-context --without-coroutine --without-coroutine2 \
1049        --without-fiber \
1050%endif
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
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
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
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
1083 # install binary
1084 install -Dpm755 ./src/engine/bjam %{buildroot}%{_bindir}/bjam
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
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
1168ln -s ./%{tarname} ${RPM_BUILD_ROOT}/%{_includedir}/%{tarname}-%{lnkver}
1169
1170# remove unuse files
1171rm -f ${RPM_BUILD_ROOT}/%{_libdir}/%{name}_*.a
1172
1173%clean
1174rm -rf $RPM_BUILD_ROOT
1175
1176
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
1182%post atomic -p /sbin/ldconfig
1183%post chrono -p /sbin/ldconfig
1184%post container -p /sbin/ldconfig
1185%if %{with context}
1186%post context -p /sbin/ldconfig
1187%post coroutine -p /sbin/ldconfig
1188%endif
1189%post contract -p /sbin/ldconfig
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
1194%post locale -p /sbin/ldconfig
1195%post log -p /sbin/ldconfig
1196%post math -p /sbin/ldconfig
1197%post program-options -p /sbin/ldconfig
1198%post python -p /sbin/ldconfig
1199%post random -p /sbin/ldconfig
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
1205%post timer -p /sbin/ldconfig
1206%post type_erasure -p /sbin/ldconfig
1207%post wave -p /sbin/ldconfig
1208
1209%postun atomic -p /sbin/ldconfig
1210%postun chrono -p /sbin/ldconfig
1211%postun container -p /sbin/ldconfig
1212%if %{with context}
1213%postun context -p /sbin/ldconfig
1214%postun coroutine -p /sbin/ldconfig
1215%endif
1216%postun contract -p /sbin/ldconfig
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
1221%postun locale -p /sbin/ldconfig
1222%postun log -p /sbin/ldconfig
1223%postun math -p /sbin/ldconfig
1224%postun program-options -p /sbin/ldconfig
1225%postun python -p /sbin/ldconfig
1226%postun random -p /sbin/ldconfig
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
1232%postun timer -p /sbin/ldconfig
1233%postun type_erasure -p /sbin/ldconfig
1234%postun wave -p /sbin/ldconfig
1235
1236%files
1237%defattr(-,root,root)
1238%license LICENSE_1_0.txt
1239
1240%files atomic
1241%defattr(-, root, root, -)
1242%license LICENSE_1_0.txt
1243%{_libdir}/libboost_atomic.so.*
1244
1245%files chrono
1246%defattr(-, root, root, -)
1247%license LICENSE_1_0.txt
1248%{_libdir}/libboost_chrono.so.*
1249
1250%files container
1251%license LICENSE_1_0.txt
1252%{_libdir}/libboost_container.so.*
1253
1254%if %{with context}
1255%files context
1256%defattr(-, root, root, -)
1257%license LICENSE_1_0.txt
1258%{_libdir}/libboost_context.so.*
1259
1260%files coroutine
1261%license LICENSE_1_0.txt
1262%{_libdir}/libboost_coroutine.so.*
1263%endif
1264
1265%files contract
1266%defattr(-, root, root, -)
1267%license LICENSE_1_0.txt
1268%{_libdir}/libboost_contract.so.*
1269
1270%files date-time
1271%license LICENSE_1_0.txt
1272%{_libdir}/%{name}_date_time*.so.*
1273
1274%files filesystem
1275%license LICENSE_1_0.txt
1276%{_libdir}/%{name}_filesystem*.so.*
1277
1278%files fiber
1279%license LICENSE_1_0.txt
1280%{_libdir}/%{name}_fiber*.so.*
1281
1282%files graph
1283%license LICENSE_1_0.txt
1284%{_libdir}/%{name}_graph*.so.*
1285
1286%files iostreams
1287%license LICENSE_1_0.txt
1288%{_libdir}/%{name}_iostreams*.so.*
1289
1290%files locale
1291%defattr(-, root, root, -)
1292%license LICENSE_1_0.txt
1293%{_libdir}/libboost_locale.so.*
1294
1295%files log
1296%defattr(-, root, root, -)
1297%license LICENSE_1_0.txt
1298%{_libdir}/libboost_log.so.*
1299%{_libdir}/libboost_log_setup.so.*
1300
1301%files math
1302%license LICENSE_1_0.txt
1303%{_libdir}/%{name}_math_*.so.*
1304
1305%files program-options
1306%license LICENSE_1_0.txt
1307%{_libdir}/%{name}_program_options*.so.*
1308
1309%files python
1310%license LICENSE_1_0.txt
1311%{_libdir}/%{name}_python27.so.*
1312
1313%if %{with python3}
1314%files python3
1315%license LICENSE_1_0.txt
1316%{_libdir}/libboost_python3*.so.*
1317
1318%files python3-devel
1319%license LICENSE_1_0.txt
1320%{_libdir}/libboost_python3*.so
1321%endif
1322
1323%files random
1324%license LICENSE_1_0.txt
1325%{_libdir}/%{name}_random*.so.*
1326
1327%files regex
1328%license LICENSE_1_0.txt
1329%{_libdir}/%{name}_regex*.so.*
1330
1331%files serialization
1332%license LICENSE_1_0.txt
1333%{_libdir}/%{name}_serialization*.so.*
1334%{_libdir}/%{name}_wserialization*.so.*
1335
1336%files stacktrace
1337%license LICENSE_1_0.txt
1338%{_libdir}/%{name}_stacktrace*.so.*
1339
1340%files system
1341%license LICENSE_1_0.txt
1342%{_libdir}/%{name}_system*.so.*
1343
1344%files test
1345%license LICENSE_1_0.txt
1346%{_libdir}/%{name}_prg_exec_monitor*.so.*
1347%{_libdir}/%{name}_unit_test_framework*.so.*
1348
1349%files thread
1350%license LICENSE_1_0.txt
1351%{_libdir}/%{name}_thread*.so.*
1352
1353%files timer
1354%defattr(-, root, root, -)
1355%license LICENSE_1_0.txt
1356%{_libdir}/libboost_timer.so.*
1357
1358%files type_erasure
1359%license LICENSE_1_0.txt
1360%{_libdir}/libboost_type_erasure.so.*
1361
1362%files wave
1363%license LICENSE_1_0.txt
1364%{_libdir}/%{name}_wave*.so.*
1365
1366%files devel
1367%defattr(-,root,root)
1368%{_includedir}/boost/
1369%{_includedir}/boost-%{lnkver}
1370%{_libdir}/%{name}_*.so
1371%dir %{_libdir}/cmake
1372%{_libdir}/cmake/*
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
1427
1428%if %{build_compat32}
1429
1430%files -n compat32-%{name}-atomic
1431%defattr(-, root, root, -)
1432%license LICENSE_1_0.txt
1433%{_libdir}/libboost_atomic.so.*
1434
1435%files -n compat32-%{name}-chrono
1436%defattr(-, root, root, -)
1437%license LICENSE_1_0.txt
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, -)
1447%license LICENSE_1_0.txt
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
1455%files -n compat32-%{name}-contract
1456%defattr(-, root, root, -)
1457%license LICENSE_1_0.txt
1458%{_libdir}/libboost_contract.so.*
1459
1460%files -n compat32-%{name}-date-time
1461%license LICENSE_1_0.txt
1462%{_libdir}/%{name}_date_time*.so.*
1463
1464%files -n compat32-%{name}-fiber
1465%license LICENSE_1_0.txt
1466%{_libdir}/%{name}_fiber*.so.*
1467
1468%files -n compat32-%{name}-filesystem
1469%license LICENSE_1_0.txt
1470%{_libdir}/%{name}_filesystem*.so.*
1471
1472%if 0
1473%files -n compat32-%{name}-graph
1474%license LICENSE_1_0.txt
1475%{_libdir}/%{name}_graph*.so.*
1476%endif
1477
1478%files -n compat32-%{name}-iostreams
1479%license LICENSE_1_0.txt
1480%{_libdir}/%{name}_iostreams*.so.*
1481
1482%if 0
1483%files -n compat32-%{name}-locale
1484%defattr(-, root, root, -)
1485%license LICENSE_1_0.txt
1486%{_libdir}/libboost_locale.so.*
1487%endif
1488
1489%if 0
1490%files -n compat32-%{name}-log
1491%defattr(-, root, root, -)
1492%license LICENSE_1_0.txt
1493%{_libdir}/libboost_log.so.*
1494%{_libdir}/libboost_log_setup.so.*
1495%endif
1496
1497%files -n compat32-%{name}-math
1498%license LICENSE_1_0.txt
1499%{_libdir}/%{name}_math_*.so.*
1500
1501%files -n compat32-%{name}-program-options
1502%license LICENSE_1_0.txt
1503%{_libdir}/%{name}_program_options*.so.*
1504
1505%if 0
1506%files -n compat32-%{name}-python
1507%license LICENSE_1_0.txt
1508%{_libdir}/%{name}_python27.so.*
1509
1510%if %{with python3}
1511%files -n compat32-%{name}-python3
1512%license LICENSE_1_0.txt
1513%{_libdir}/libboost_python3*.so.*
1514%endif
1515%endif
1516
1517%files -n compat32-%{name}-random
1518%license LICENSE_1_0.txt
1519%{_libdir}/%{name}_random*.so.*
1520
1521%if 0
1522%files -n compat32-%{name}-regex
1523%license LICENSE_1_0.txt
1524%{_libdir}/%{name}_regex*.so.*
1525%endif
1526
1527%files -n compat32-%{name}-serialization
1528%license LICENSE_1_0.txt
1529%{_libdir}/%{name}_serialization*.so.*
1530%{_libdir}/%{name}_wserialization*.so.*
1531
1532%files -n compat32-%{name}-stacktrace
1533%license LICENSE_1_0.txt
1534%{_libdir}/%{name}_stacktrace*.so.*
1535
1536%files -n compat32-%{name}-system
1537%license LICENSE_1_0.txt
1538%{_libdir}/%{name}_system*.so.*
1539
1540%files -n compat32-%{name}-test
1541%license LICENSE_1_0.txt
1542%{_libdir}/%{name}_prg_exec_monitor*.so.*
1543%{_libdir}/%{name}_unit_test_framework*.so.*
1544
1545%files -n compat32-%{name}-thread
1546%license LICENSE_1_0.txt
1547%{_libdir}/%{name}_thread*.so.*
1548
1549%files -n compat32-%{name}-timer
1550%defattr(-, root, root, -)
1551%license LICENSE_1_0.txt
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
1559%license LICENSE_1_0.txt
1560%{_libdir}/%{name}_wave*.so.*
1561
1562%endif
1563
1564
1565%changelog
1566* Mon Aug 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.72.0-2
1567- rebuilt with python-3.8.
1568
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
1575* Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-5
1576- rebuilt with gcc-9 and icu-66.
1577
1578* Sun Oct 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-4
1579- rebuilt with icu-65.
1580
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
1585* Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.66.0-2
1586- rebuilt with libicu-60.2.
1587
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
1595* Sat Jul 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.60.0-3
1596- added compat32-* packages.
1597
1598* Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.60.0-2
1599- rebuild with python3-3.5.2
1600
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
1607* Mon Nov 25 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.54.0-1
1608- update to boost_1_54_0
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
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
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
1626* Wed Apr 14 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.42.0-4
1627- rebuilt again on ppc
1628
1629* Sat Apr 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.42.0-3
1630- rebuilt with libicu-4.4
1631
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.