libboost-vl.spec 46 KB

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