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