libboost-vl.spec 51 KB

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