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

Revision 11367, 50.3 KB checked in by tomop, 6 years ago (diff)

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