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

Revision 12201, 51.2 KB checked in by tomop, 5 years ago (diff)

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