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