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

Revision 12387, 52.5 KB checked in by tomop, 4 years ago (diff)

updated 10 packages

Field3D-1.7.3-1

OpenImageIO-2.1.10.1-1

ekiga-4.0.1-11

galera-26.4.3-2

gnucash-3.10-1

libboost-1.72.0-1

nghttp2-1.40.0-2

opal-3.10.11-1

ptlib-2.10.11-1

source-highlight-3.1.8-2

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