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