3 %bcond_without python # without boost-python support
5 Summary: The Boost C++ Libraries
6 Summary(pl): Biblioteki C++ "Boost"
9 %define _fver %(echo %{version} | tr . _)
11 License: Boost Software License and others
13 Source0: http://dl.sourceforge.net/boost/%{name}_%{_fver}.tar.bz2
14 # Source0-md5: e1d1fc7b8fc8c51df4564c2188ca51cb
15 Patch0: %{name}-python.patch
16 URL: http://www.boost.org/
17 BuildRequires: boost-jam >= 3.1.3
18 BuildRequires: libstdc++-devel
19 BuildRequires: perl-base
20 %{?with_python:BuildRequires: python-devel >= 2.2}
21 BuildRequires: rpm-pythonprov
22 BuildConflicts: gcc = 5:3.3.1
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 The Boost web site provides free peer-reviewed portable C++ source
27 libraries. The emphasis is on libraries which work well with the C++
28 Standard Library. One goal is to establish "existing practice" and
29 provide reference implementations so that the Boost libraries are
30 suitable for eventual standardization. Some of the libraries have
31 already been proposed for inclusion in the C++ Standards Committee's
32 upcoming C++ Standard Library Technical Report.
35 Strona http://www.boost.org/ dostarcza darmowe biblioteki C++ wraz z
36 kodem ¼ród³owym. Nacisk po³o¿ono na biblioteki, które dobrze
37 wspó³pracuj± ze standardow± bibliotek± C++. Celem jest ustanowienie
38 "istniej±cej praktyki" i dostarczenie implementacji, tak ¿e biblioteki
39 "Boost" nadaj± siê do ewentualnej standaryzacji. Niektóre z bibliotek
40 ju¿ zosta³y zg³oszone do komitetu standaryzacyjnego C++ w nadchodz±cym
41 Raporcie Technicznym Biblioteki Standardowej C++
44 Summary: Boost C++ development libraries and headers
45 Summary(pl): Pliki nag³ówkowe i biblioteki statyczne Boost C++
46 Group: Development/Libraries
47 # req'd by <boost/iterator_adaptors.hpp> (also included by <boost/signal.h>)
48 Requires: %{name}-concept_check-devel = %{version}-%{release}
49 # <boost/implicit_cast.hpp> req'd by <boost/graph/graph_utility.hpp>
50 Requires: %{name}-conversion-devel = %{version}-%{release}
51 Requires: libstdc++-devel
54 Headers and static libraries for the Boost C++ libraries.
56 %description devel -l pl
57 Pliki nag³ówkowe i biblioteki statyczne bibliotek Boost C++.
60 Summary: Boost.Python library
61 Summary(pl): biblioteka Boost.Python
66 Use the Boost Python Library to quickly and easily export a C++
67 library to Python such that the Python interface is very similar to
68 the C++ interface. It is designed to be minimally intrusive on your
69 C++ design. In most cases, you should not have to alter your C++
70 classes in any way in order to use them with Boost.Python. The system
71 should simply ``reflect'' your C++ classes and functions into Python.
73 %description python -l pl
74 Biblioteka Boost Python s³u¿y do szybkiego i prostego eksportu
75 biblioteki C++ do Pythona, tak ¿e interfejs Pythona jest bardzo
76 podobny do interfejsu C++. Biblioteka jest zaprojektowana tak, ¿eby
77 narzucaæ jak najmniej wymagañ dotycz±cych konstrukcjii C++. W
78 wiêkszo¶ci przypadków nie trzeba w ogóle zmieniaæ w³asnych klas C++,
79 ¿eby u¿ywaæ ich z Boost.Python. System powinien po prostu ,,odbiæ''
80 klasy C++ i funkcje do Pythona.
83 Summary: Boost.Python development headers
84 Summary(pl): Pliki nag³ówkowe dla Boost.Python
85 Group: Development/Libraries
86 Requires: %{name}-devel = %{version}-%{release}
87 Requires: %{name}-python = %{version}-%{release}
88 Requires: %{name}-compressed_pair-devel = %{version}-%{release}
90 %description python-devel
91 Headers for the Boost.Python library.
93 %description python-devel -l pl
94 Pliki nag³ówkowe dla biblioteki Boost.Python.
96 %package python-static
97 Summary: Static version of Boost.Python library
98 Summary(pl): Statyczna wersja biblioteki Boost.Python
99 Group: Development/Libraries
100 Requires: %{name}-python-devel = %{version}-%{release}
102 %description python-static
103 Static version of Boost.Python library.
105 %description python-static -l pl
106 Statyczna wersja biblioteki Boost.Python.
109 Summary: Boost C++ regular expressions library
110 Summary(pl): Biblioteka wyra¿eñ regularnych Boost C++
114 Shared library for Boost C++ regular expressions.
116 %description regex -l pl
117 Biblioteka wyra¿eñ regularnych dla C++, biblioteki dzielone.
120 Summary: Boost C++ Regex library headers
121 Summary(pl): Pliki nag³ówkowe Boost C++ Regex
122 Group: Development/Libraries
123 Requires: %{name}-devel = %{version}-%{release}
124 Requires: %{name}-regex = %{version}-%{release}
126 %description regex-devel
127 Boost C++ Regex headers.
129 %description regex-devel -l pl
130 Pliki nag³ówkowe dla Boost C++ Regex.
132 %package regex-static
133 Summary: Boost C++ Regex static libraries
134 Summary(pl): Biblioteki statyczne Boost C++ Regex
135 Group: Development/Libraries
136 Requires: %{name}-regex-devel = %{version}-%{release}
138 %description regex-static
139 Boost C++ Regex static libraries.
141 %description regex-static -l pl
142 Biblioteki statyczne dla Boost C++ Regex.
145 Summary: Header for Boost C++ "Any" Library
146 Summary(pl): Plik nag³ówkowy dla biblioteki Boost C++ "Any"
147 Group: Development/Libraries
148 Requires: %{name}-devel = %{version}-%{release}
150 %description any-devel
151 The boost::any class, is a variant value type, which supports copying
152 of any value type and safe checked extraction of that value strictly
155 I.e. 5 is held strictly as an int and is not implicitly convertible
156 either to "5" or to 5.0.
158 %description any-devel -l pl
159 Klasa boost::any jest typem, który umo¿liwia kopiowanie ze zmiennej
160 dowolnego typu i bezpieczne, sprawdzone wydobycie jej warto¶ci
161 dok³adnie tego samego typu.
163 Np. 5 jest trzymane jako int i nie jest niejawnie konwertowalne ani do
167 Summary: STL compliant container wrapper for arrays of constant size
168 Summary(pl): Wrapper na STLowe kontenery dla tablic o sta³ym rozmiarze
169 Group: Development/Libraries
170 Requires: %{name}-devel = %{version}-%{release}
172 %description array-devel
173 As replacement for ordinary arrays, the STL provides class vector<>.
174 However, vector<> provides the semantics of dynamic arrays. Thus, it
175 manages data to be able to change the number of elements. This results
176 in some overhead in case only arrays with static size are needed. This
177 library provides support for such static size arrays.
179 %description array-devel -l pl
180 STL dostarcza klasê vector<> jako zamiennik zwyk³ej tablicy. Jednak
181 vector<> dostarcza semantykê dynamicznych tablic. Zatem zarz±dza
182 danymi tak, by by³a mo¿liwa zmiana ilo¶ci elementów. To skutkuje
183 pewnym nadmiarem w przypadku kiedy tylko tablice o sta³ym rozmiarze s±
184 potrzebne. Ta biblioteka dostarcza wsparcie dla takich w³a¶nie tablic
188 Summary: Generalized binders for function/object/pointers
189 Summary(pl): Uogólnione bindery dla funkcji/obiektów/wska¼ników
190 Group: Development/Libraries
191 Requires: %{name}-mem_fn-devel = %{version}-%{release}
192 Requires: %{name}-ref-devel = %{version}-%{release}
194 %description bind-devel
195 boost::bind is a generalization of the standard functions std::bind1st
198 %description bind-devel -l pl
199 boost::bind jest uogólnieniem standardowych funkcji std::bind1st i
202 %package call_traits-devel
203 Summary: Defines types for passing parameters
204 Summary(pl): Definiowanie typów dla przekazywania parametrów
205 Group: Development/Libraries
206 Requires: %{name}-devel = %{version}-%{release}
207 Requires: %{name}-type_traits-devel = %{version}-%{release}
209 %description call_traits-devel
210 boost::call_traits<T> encapsulates the "best" method to pass a
211 parameter of some type T to or from a function. The purpose of
212 call_traits is to ensure that problems like "references to references"
213 never occur, and that parameters are passed in the most efficient
216 %description call_traits-devel -l pl
217 boost::call_traits<T> zawiera "najlepsz±" metodê przekazywania
218 parametrów jakiego¶ typu T do lub z funkcji. Celem call_traits jest
219 zapewnienie ¿e problemy takie jak "referencja referencji" nigdy nie
220 wyst±pi± i ¿e parametry s± przekazywane w mo¿liwie najbardziej
223 %package compatibility-devel
224 Summary: Help for non-conforming standard libraries
225 Summary(pl): Pomoc dla nie trzymaj±cych standardu bibliotek
226 Group: Development/Libraries
227 Requires: %{name}-devel = %{version}-%{release}
229 %description compatibility-devel
230 This library provides workarounds which allow the other Boost
231 libraries to be used on otherwise non-conforming platforms.
233 %description compatibility-devel -l pl
234 Biblioteka dostarcza obej¶cie problemu platform nie trzymaj±cych
235 standardu C++, pozwalaj±ce na u¿ywanie bibliotek Boost na tych
238 %package compose-devel
239 Summary: Functional composition adapters for the STL
240 Summary(pl): Funkcjonalne adaptery kompozycji dla STL
241 Group: Development/Libraries
242 Requires: %{name}-devel = %{version}-%{release}
244 %description compose-devel
245 The boost::compose provides compose function object adapter extensions
246 for use with the Standard Template Library (STL) portion of the C++
247 Standard Library. If you aren't currently using the STL, this library
248 won't be of any interest, but hard-core STL users will appreciate its
251 %description compose-devel -l pl
252 boost::compose dostarcza rozszerzenie adaptera obiektu funkcji compose
253 do u¿ytku z STL-ow± czê¶ci± Standardu C++. Je¿eli nie u¿ywasz STL,
254 biblioteka bêdzie poza twoim zainteresowaniem, lecz hardkorowi
255 u¿ytkownicy STL-a doceni± jej u¿yteczno¶æ.
257 %package compressed_pair-devel
258 Summary: Empty member optimization
259 Summary(pl): Optymalizacja pustego elementu
260 Group: Development/Libraries
261 Requires: %{name}-call_traits-devel = %{version}-%{release}
262 Requires: %{name}-devel = %{version}-%{release}
264 %description compressed_pair-devel
265 The class boost::compressed_pair is very similar to std::pair, but if
266 either of the template arguments are empty classes, then the "empty
267 base-class optimisation" is applied to compress the size of the pair.
269 %description compressed_pair-devel -l pl
270 Klasa boost::compressed_pair jest bardzo podobna do std::pair, ale
271 je¿eli który¶ z argumentów wzorca jest pust± klas±, wtedy stosowana
272 jest "optymalizacja pustej klasy bazowej" do kompresji pary.
274 %package concept_check-devel
275 Summary: Tools for generic programming
276 Summary(pl): Narzêdzia dla programowania generycznego
277 Group: Development/Libraries
278 Requires: %{name}-static_assert-devel = %{version}-%{release}
279 Requires: %{name}-type_traits-devel = %{version}-%{release}
281 %description concept_check-devel
282 The boost::concept_check library provides various tools for generic
285 %description concept_check-devel -l pl
286 Biblioteka boost::concept_check dostarcza ró¿ne narzêdzia dla
287 programowania generycznego.
289 %package conversion-devel
290 Summary: Numeric, polymorphic, and lexical casts
291 Summary(pl): Numeryczne, polimorficzne i leksykalne rzutowania
292 Group: Development/Libraries
293 Requires: %{name}-type_traits-devel = %{version}-%{release}
295 %description conversion-devel
296 The boost::conversion library improves program safety and clarity by
297 performing otherwise messy conversions. It includes cast-style
298 function templates designed to complement the C++ Standard's built-in
301 %description conversion-devel -l pl
302 Biblioteka boost::conversion zwiêksza bezpieczeñstwo i klarowno¶æ
303 programu dokonuj±c konwersji które s± w innych przypadkach niechlujne.
304 Biblioteka zawiera "rzutopodobne" wzorce funkcji uzupe³niaj±ce
305 wbudowane w Standard C++ rzutowania.
308 Summary: CRC computing library
309 Summary(pl): Biblioteka obliczaj±ca CRC
310 Group: Development/Libraries
311 Requires: %{name}-devel = %{version}-%{release}
313 %description crc-devel
314 The boost::crc library provides two implementations of CRC computation
315 objects and functions. The implementations are template-based.
317 %description crc-devel -l pl
318 Bibliteka boost::crc dostarcza dwie implementacje obiektów i funkcji
319 obliczaj±cych CRC. Implementacje s± oparte na wzorcach.
322 Summary: Date-Time library
323 Summary(pl): Biblioteka daty-czasu
327 %description date_time
328 A set of date-time libraries.
330 %description date_time -l pl
331 Zbiór bibliotek daty-czasu.
333 %package date_time-devel
334 Summary: Header files for boost::date_time library
335 Summary(pl): Pliki nag³ówkowe dla biblioteki boost::date_time
336 Group: Development/Libraries
337 Requires: %{name}-date_time = %{version}-%{release}
338 #TODO: make decision if do separate packages include it to main devel package
339 #Requires: %{name}-operators-devel = %{version}-%{release}
340 #Requires: %{name}-integer-devel = %{version}-%{release}
341 #Requires: %{name}-tokenizer-devel = %{version}-%{release}
342 Requires: %{name}-conversion-devel = %{version}-%{release}
344 %description date_time-devel
345 Header files for boost::date_time library.
347 %description date_time-devel -l pl
348 Pliki nag³ówkowe dla biblioteki boost::date_time
350 %package date_time-static
351 Summary: Static boost::date_time library
352 Summary(pl): Statyczna biblioteka boost::date_time
353 Group: Development/Libraries
354 Requires: %{name}-date_time-devel = %{version}-%{release}
356 %description date_time-static
357 Static boost::date_time library.
359 %description date_time-devel -l pl
360 Statyczna biblioteka boost::date_time.
363 Summary: Portable paths, iteration over directories, and other useful filesystem operations
364 Summary(pl): Przeno¶ne ¶cie¿ki, iteracje katalogów i inne u¿yteczne operacje na systemie plików
368 %description filesystem
369 The boost::filesystem library provides portable facilities to query
370 and manipulate paths, files, and directories.
372 %description filesystem -l pl
373 Przeno¶na biblioteka boost::filesystem dostarcza u³atwienia w
374 operacjach na ¶cie¿kach, plikach i katalogach.
376 %package filesystem-devel
377 Summary: Header files for boost::filesystem
378 Summary(pl): Pliki nag³ówkowe dla boost::filesystem
379 Group: Development/Libraries
380 Requires: %{name}-devel = %{version}-%{release}
381 Requires: %{name}-filesystem = %{version}-%{release}
383 #Requires: %{name}-smart_ptr = %{version}-%{release}
385 %description filesystem-devel
386 Header files for boost::filesystem library.
388 %description filesystem-devel -l pl
389 Pliki nag³ówkowe dla biblioteki boost::filesystem.
391 %package filesystem-static
392 Summary: Static boost::filesystem library
393 Summary(pl): Biblioteka statyczna boost::filesystem
394 Group: Development/Libraries
395 Requires: %{name}-filesystem-devel = %{version}-%{release}
396 Obsoletes: boost-static
398 %description filesystem-static
399 Static boost::filesystem library.
401 %description filesystem-static -l pl
402 Biblioteka statyczna boost::filesystem.
404 %package mem_fn-devel
405 Summary: Generalized binders for member functions
406 Summary(pl): Uogólnione bindery dla metod
407 Group: Development/Libraries
408 Requires: %{name}-bind-devel = %{version}-%{release}
410 %description mem_fn-devel
411 boost::mem_fn is a generalization of the standard functions
412 std::mem_fun and std::mem_fun_ref.
414 %description mem_fn-devel -l pl
415 boost::mem_fn jest uogólnieniem standardowych funkcji std::mem_fun i
419 Summary: Compile-time algorithms, sequences and metafunction classes
420 Summary(pl): Algorytmy czasu kompilacji, sekwencji i klas metafunkcji
421 Group: Development/Libraries
422 Requires: %{name}-devel = %{version}-%{release}
423 Requires: %{name}-preprocessor-devel = %{version}-%{release}
424 Requires: %{name}-type_traits-devel = %{version}-%{release}
425 Requires: %{name}-utility-devel = %{version}-%{release}
427 %description mpl-devel
428 The boost-mpl library is a C++ template metaprogramming framework of
429 compile-time algorithms, sequences and metafunction classes.
431 %description mpl-devel -l pl
432 Biblioteka boost-mpl jest szkieletem wzorców C++ dla algorytmów czasu
433 kompilacji, sekwencji i klas metafunkcji.
435 %package program_options
436 Summary: Access to program options, via conventional methods such as command line and config file
437 Summary(pl): Dostêp do opcji programu za pomoc± typowych metod, jak linia poleceñ i plik konfiguracyjny
440 %description program_options
441 The program_options library allows program developers to obtain
442 program options, that is (name, value) pairs from the user, via
443 conventional methods such as command line and config file.
445 %description program_options -l pl
446 Biblioteka program_options umo¿liwia uzyskanie od u¿ytkownika opcji
447 programu, czyli par (nazwa, warto¶æ), za pomoc± typowych metod,
448 takich jak linia poleceñ, czy plik konfiguracyjny.
450 %package program_options-devel
451 Summary: Header files for boost::program_options
452 Summary(pl): Pliki nag³ówkowe dla boost::program_options
453 Group: Development/Libraries
454 Requires: %{name}-devel = %{version}-%{release}
455 Requires: %{name}-program_options = %{version}-%{release}
457 %description program_options-devel
458 Header files for boost::program_options library.
460 %description program_options-devel -l pl
461 Pliki nag³ówkowe dla biblioteki boost::program_options.
463 %package program_options-static
464 Summary: Static boost::program_options library
465 Summary(pl): Biblioteka statyczna boost::program_options
466 Group: Development/Libraries
467 Requires: %{name}-program_options-devel = %{version}-%{release}
468 Obsoletes: boost-static
470 %description program_options-static
471 Static boost::program_options library.
473 %description program_options-static -l pl
474 Biblioteka statyczna boost::program_options.
476 %package preprocessor-devel
477 Summary: Preprocessor metaprogramming tools including repetition and recursion
478 Summary(pl): Narzêdzia metaprogramowania preprocesora razem z repetycj± i rekursj±
479 Group: Development/Libraries
480 Requires: %{name}-devel = %{version}-%{release}
482 %description preprocessor-devel
483 This library provides preprocessor metaprogramming tools, including
484 repetition and recursion.
486 %description preprocessor-devel -l pl
487 Biblioteka udostêpnia narzêdzia metaprogramowania preprocesora,
488 w³±czaj±c w to repetycje i rekursjê.
491 Summary: Small library useful for passing references to function templates
492 Summary(pl): Ma³a biblioteka u¿yteczna przy przekazywaniu referencji do wzorców funkcji
493 Group: Development/Libraries
494 Requires: %{name}-devel = %{version}-%{release}
495 Requires: %{name}-mpl-devel = %{version}-%{release}
496 Requires: %{name}-utility-devel = %{version}-%{release}
498 %description ref-devel
499 boost::ref library is a small library that is useful for passing
500 references to function templates (algorithms) that would usually take
501 copies of their arguments.
503 %description ref-devel -l pl
504 Biblioteka boost::ref jest ma³± bibliotek± która jest u¿yteczna w
505 przypadku przekazywania referencji do wzorców funkcji (algorytmów)
506 które zazwyczaj bior± kopiê swoich argumentów.
509 Summary: Signals & slots callback implementation
510 Summary(pl): Implementacja sygna³ów i slotów
515 The boost::signals library is an implementation of a signals and slots
518 %description signals -l pl
519 Biblioteka boost::signals jest implementacj± systemu sygna³ów i
522 %package signals-devel
523 Summary: Header files for boost::signals library
524 Summary(pl): Pliki nag³ówkowe dla biblioteki boost::signals
525 Group: Development/Libraries
526 Requires: %{name}-signals = %{version}-%{release}
527 Requires: %{name}-any-devel = %{version}-%{release}
528 #TODO: separate smart_ptr or include to the main devel package
529 #Requires: %{name}-iterator_adaptors-devel = %{version}-%{release}
530 #Requires: %{name}-operators-devel = %{version}-%{release}
531 #Requires: %{name}-smart_ptr-devel = %{version}-%{release}
532 Requires: %{name}-mem_fn-devel = %{version}-%{release}
533 Requires: %{name}-ref-devel = %{version}-%{release}
534 Requires: %{name}-type_traits-devel = %{version}-%{release}
535 Requires: %{name}-utility-devel = %{version}-%{release}
537 %description signals-devel
538 Header files for boost::signals library.
540 %description signals-devel -l pl
541 Pliki nag³ówkowe dla biblioteki boost::signals.
543 %package signals-static
544 Summary: Static library for boost::signals
545 Summary(pl): Biblioteka statyczna dla boost::signals
546 Group: Development/Libraries
547 Requires: %{name}-signals-devel = %{version}-%{release}
549 %description signals-static
550 Static library for boost::signals.
552 %description signals-static -l pl
553 Biblioteka statyczna dla boost::signals.
555 %package spirit-devel
556 Summary: LL parser framework
557 Summary(pl): Szkielet parsera LL
558 Group: Development/Libraries
559 Requires: %{name}-compressed_pair-devel = %{version}-%{release}
560 Requires: %{name}-ref-devel = %{version}-%{release}
561 Requires: %{name}-regex-devel = %{version}-%{release}
562 Requires: %{name}-static_assert-devel = %{version}-%{release}
563 Requires: %{name}-thread-devel = %{version}-%{release}
565 #?Requires: %{name}-smart_ptr-devel = %{version}-%{release}
566 #?Requires: %{name}-iterators-devel = %{version}-%{release}
568 %description spirit-devel
569 LL parser framework represents parsers directly as EBNF grammars in
572 %description spirit-devel -l pl
573 Szkielet parsera LL reprezentuj±cy parsery jako gramatyki EBNF
574 bezpo¶rednio w kodzie C++.
576 %package static_assert-devel
577 Summary: Static assertions (compile time assertions)
578 Summary(pl): Statyczne asercje (asercje kompilacyjne)
579 Group: Development/Libraries
580 Requires: %{name}-devel = %{version}-%{release}
582 %description static_assert-devel
583 The header <boost/static_assert.hpp> supplies a single macro
584 BOOST_STATIC_ASSERT(x), which generates a compile time error message
585 if the integral-constant-expression x is not true. In other words it
586 is the compile time equivalent of the assert macro; this is sometimes
587 known as a "compile-time-assertion"
589 One of the aims of BOOST_STATIC_ASSERT is to generate readable error
590 messages. These immediately tell the user that a library is being used
591 in a manner that is not supported.
593 %description static_assert-devel -l pl
594 Plik nag³ówkowy <boost/static_assert.hpp> dostarcza pojedyncze makro
595 BOOST_STATIC_ASSERT(x), które generuje komunikat b³êdu kompilacji
596 je¿eli sta³e wyra¿enie x nie jest prawdziwe. Innymi s³owy jest to
597 kompilacyjny ekwiwalent makra 'assert'; czasami znane jest jako
598 "asercja czasu kompilacji"
600 Jednym z celów BOOST_STATIC_ASSERT jest generowanie czytelnych
601 komunikatów o b³êdach. One b³yskawicznie powiedz± u¿ytkownikowi ¿e
602 biblioteka zosta³a u¿yta w sposób który nie jest zalecany.
605 Summary: Support for program testing and execution monitoring
606 Summary(pl): Wsparcie dla testowania i monitorowania programu
611 Support for simple program testing, full unit testing, and for program
612 execution monitoring.
614 %description test -l pl
615 Wsparcie dla prostego testowania programu, pe³nego testowania i
616 monitorowania wykonania programu.
619 Summary: Header files for boost::test
620 Summary(pl): Pliki nag³ówkowe dla boost::test
621 Group: Development/Libraries
622 Requires: %{name}-call_traits-devel = %{version}-%{release}
623 Requires: %{name}-devel = %{version}-%{release}
624 Requires: %{name}-mpl-devel = %{version}-%{release}
625 Requires: %{name}-preprocessor-devel = %{version}-%{release}
626 Requires: %{name}-test = %{version}-%{release}
627 Requires: %{name}-type_traits-devel = %{version}-%{release}
628 Requires: %{name}-utility-devel = %{version}-%{release}
630 #Requires: %{name}-smart_ptr = %{version}-%{release}
631 #?Requires?: %{name}-function-devel = %{version}-%{release}
633 %description test-devel
634 Header files for boost::test.
636 %description test-devel -l pl
637 Pliki nag³ówkowe dla boost::test.
640 Summary: Static boost::test libraries
641 Summary(pl): Biblioteki statyczne boost::test
642 Group: Development/Libraries
643 Requires: %{name}-test-devel = %{version}-%{release}
644 Obsoletes: boost-static
646 %description test-static
647 Static boost::test libraries.
649 %description test-static -l pl
650 Biblioteki statyczne boost::test.
653 Summary: Portable C++ threads library
654 Summary(pl): Przeno¶na biblioteka w±tków C++
659 Portable C++ threads library - shared library.
661 %description thread -l pl
662 Przeno¶na biblioteka w±tków dla C++ - biblioteka dzielona.
664 %package thread-devel
665 Summary: Header files for boost::thread library
666 Summary(pl): Pliki nag³ówkowe dla biblioteki boost::thread
667 Group: Development/Libraries
668 Requires: %{name}-thread = %{version}-%{release}
669 Requires: %{name}-utility-devel = %{version}-%{release}
670 #TODO:requires boost::function or boost::function to boost-devel
672 %description thread-devel
673 Header files for boost::thread library.
675 %description thread-devel -l pl
676 Pliki nag³ówkowe dla biblioteki boost::thread.
678 %package type_traits-devel
679 Summary: Templates for fundamental properties of types
680 Summary(pl): Wzorce dla fundamentalnych w³a¶ciwo¶ci typów
681 Group: Development/Libraries
682 Requires: %{name}-devel = %{version}-%{release}
683 Requires: %{name}-mpl-devel = %{version}-%{release}
684 Requires: %{name}-preprocessor-devel = %{version}-%{release}
685 Requires: %{name}-static_assert-devel = %{version}-%{release}
686 Requires: %{name}-utility-devel = %{version}-%{release}
688 %description type_traits-devel
689 The boost-type_traits library defines three kinds of type trait:
690 1. The properties of a specific type.
691 2. The relationship between two types.
692 3. A transformation from one type to another.
694 %description type_traits-devel -l pl
695 Biblioteka boost-type_traits definiuje trzy rodzaje cech typów:
696 1. w³a¶ciwo¶ci konkretnego typu.
697 2. powi±zania miêdzy dwoma typami.
698 3. transformacjê z jednego typu do drugiego.
701 Summary: Basic linear algebra for dense, packed and sparse matrices
702 Summary(pl): Prosta liniowa algebra dla gêstych, upakowanych i rzadkich macierzy
703 Group: Development/Libraries
704 Requires: %{name}-concept_check-devel = %{version}-%{release}
705 Requires: %{name}-mpl-devel = %{version}-%{release}
706 Requires: %{name}-utility-devel = %{version}-%{release}
708 %description uBLAS-devel
709 uBLAS library provides templated C++ classes for dense, unit and
710 sparse vectors, dense, identity, triangular, banded, symmetric,
711 hermitian and sparse matrices.
713 %description uBLAS-devel -l pl
714 Biblioteka uBLAS dostarcza wzorce klas C++ dla gêstych, jednostkowych
715 i rzadkich wektorów oraz gêstych, jednostkowych, trójk±tnych,
716 diagonalnych, symetrycznych, hermitowskich i rzadkich macierzy.
718 %package utility-devel
719 Summary: Useful utilities: classes and function templates
720 Summary(pl): U¿yteczne narzêdzia: klasy i wzorce funkcji
721 Group: Development/Libraries
722 Requires: %{name}-type_traits-devel = %{version}-%{release}
724 %description utility-devel
725 Class noncopyable plus checked_delete(), checked_array_delete(),
726 next(), prior() function templates, plus base-from-member idiom.
728 %description utility-devel -l pl
729 Klasy noncopyable i checked_delete, funkcje checked_array_delete(),
730 next(), prior() oraz idiom base-from-member.
733 Summary: Boost C++ Library documentation
734 Summary(pl): Dokumentacja dla biblioteki Boost C++
736 Requires: %{name}-devel = %{version}-%{release}
739 Documentation for the Boost C++ Library.
741 %description doc -l pl
742 Dokumentacja dla biblioteki Boost C++.
745 %setup -q -n %{name}_%{_fver}
748 # don't know how to pass it through (b)jam -s (no way?)
749 # due to oversophisticated build flags system
750 %{__perl} -pi -e 's/ -O3 / %{rpmcflags} /' tools/build/v1/gcc-tools.jam
753 # -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only)
754 # don't know, is it gcc bug or intentional omission?
755 # anyway, boost check of -D_REENTRANT in its headers, so it's needed here
756 %{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam
761 PYTHON_VERSION=`python -V 2>&1 | sed 's,.* \([0-9]\.[0-9]\)\(\.[0-9]\)\?.*,\1,'`
762 PYTHON_ROOT=%{_prefix}
769 -sBUILD="release <threading>multi" \
770 -sPYTHON_ROOT=$PYTHON_ROOT \
771 -sPYTHON_VERSION=$PYTHON_VERSION
774 rm -rf $RPM_BUILD_ROOT
775 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
777 cp -rf boost $RPM_BUILD_ROOT%{_includedir}
779 install bin/boost/libs/*/build/*.a/*/release/*/lib*.a $RPM_BUILD_ROOT%{_libdir}
780 install bin/boost/libs/*/build/*.so/*/release/*/*/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
781 # use cp -d, install follows symlinks instead of preserving them!
782 cp -df bin/boost/libs/*/build/*.so/*/release/*/*/lib*.so $RPM_BUILD_ROOT%{_libdir}
784 # create symlinks without -gcc-mt-* things in names
785 for f in $RPM_BUILD_ROOT%{_libdir}/*.so.*; do
786 [ -f "$f" ] || continue
788 soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.so#g')
790 ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
792 for f in $RPM_BUILD_ROOT%{_libdir}/*.a; do
793 [ -f "$f" ] || continue
795 soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.a#g')
797 ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
801 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
802 install README $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
804 # as the documentation doesn't completely reside in a directory of its
805 # own, we need to find out ourselves... this looks for HTML files and
806 # then collects everything linked from those. this is certainly quite
807 # unoptimized wrt mkdir calls, but does it really matter?
808 for i in `find -type f -name '*.htm*'`; do
809 # bjam docu is included in the boost-jam RPM
810 if test "`echo $i | sed 's,jam_src,,'`" = "$i"; then
811 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/`dirname $i`
812 for LINKED in `%{__perl} - $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i <<'EOT'
816 # rewrite links from boost/* to %{_includedir}/boost/* and
817 # ignore external links as well as document-internal ones.
818 # HTML files are also ignored as they get installed anyway.
819 if (!($link =~ s,^(?:../)*boost/,%{_includedir}/boost/,) && !($link =~ m,(?:^[^/]+:|^\#|\.html?(?:$|\#)),))
821 (my $file = $link) =~ s/\#.*//;
827 open OUT, ">@ARGV[1]";
831 $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e;
832 s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig;
834 $in_link = /href|src=\s*$/;
837 TARGET=`dirname $i`/$LINKED
838 # ignore non-existant linked files
839 if test -f $TARGET; then
840 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/`dirname $TARGET`
841 install -m 644 $TARGET $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$TARGET
848 rm -rf $RPM_BUILD_ROOT
850 %post date_time -p /sbin/ldconfig
851 %postun date_time -p /sbin/ldconfig
853 %post filesystem -p /sbin/ldconfig
854 %postun filesystem -p /sbin/ldconfig
856 %post python -p /sbin/ldconfig
857 %postun python -p /sbin/ldconfig
859 %post regex -p /sbin/ldconfig
860 %postun regex -p /sbin/ldconfig
862 %post signals -p /sbin/ldconfig
863 %postun signals -p /sbin/ldconfig
865 %post test -p /sbin/ldconfig
866 %postun test -p /sbin/ldconfig
868 %post thread -p /sbin/ldconfig
869 %postun thread -p /sbin/ldconfig
872 %defattr(644,root,root,755)
873 %dir %{_includedir}/boost
874 %{_includedir}/boost/algorithm
875 %{_includedir}/boost/archive
876 %{_includedir}/boost/assert.hpp
877 %{_includedir}/boost/assign
878 %{_includedir}/boost/assign.hpp
879 %{_includedir}/boost/blank_fwd.hpp
880 %{_includedir}/boost/config
881 %{_includedir}/boost/config.hpp
882 %{_includedir}/boost/cstd*.hpp
883 %{_includedir}/boost/current_function.hpp
884 %dir %{_includedir}/boost/detail
885 %{_includedir}/boost/detail/algorithm.hpp
886 %{_includedir}/boost/detail/allocator_utilities.hpp
887 %{_includedir}/boost/detail/atomic_count*.hpp
888 %{_includedir}/boost/detail/binary_search.hpp
889 %{_includedir}/boost/detail/catch_exceptions.hpp
890 %{_includedir}/boost/detail/dynamic_bitset.hpp
891 %{_includedir}/boost/detail/indirect_traits.hpp
892 %{_includedir}/boost/detail/is_function_ref_tester.hpp
893 %{_includedir}/boost/detail/is_incrementable.hpp
894 %{_includedir}/boost/detail/iterator.hpp
895 %{_includedir}/boost/detail/lightweight_*.hpp
896 %{_includedir}/boost/detail/limits.hpp
897 %{_includedir}/boost/detail/lwm_*.hpp
898 %{_includedir}/boost/detail/named_template_params.hpp
899 %{_includedir}/boost/detail/no_exceptions_support.hpp
900 %{_includedir}/boost/detail/numeric_traits.hpp
901 %{_includedir}/boost/detail/quick_allocator.hpp
902 %{_includedir}/boost/detail/reference_content.hpp
903 %{_includedir}/boost/detail/select_type.hpp
904 %{_includedir}/boost/detail/shared_*.hpp
905 %{_includedir}/boost/detail/workaround.hpp
906 %{_includedir}/boost/dynamic_bitset
907 %{_includedir}/boost/dynamic_bitset.hpp
908 %{_includedir}/boost/dynamic_bitset_fwd.hpp
909 %{_includedir}/boost/enable_shared_from_this.hpp
910 %{_includedir}/boost/format
911 %{_includedir}/boost/format.hpp
912 %{_includedir}/boost/function
913 %{_includedir}/boost/function.hpp
914 %{_includedir}/boost/function_equal.hpp
915 %{_includedir}/boost/function_output_iterator.hpp
916 %{_includedir}/boost/functional.hpp
917 %{_includedir}/boost/generator_iterator.hpp
918 %{_includedir}/boost/graph
919 #%{_includedir}/boost/half_open_range.hpp
920 %{_includedir}/boost/indirect_reference.hpp
921 %{_includedir}/boost/integer
922 %{_includedir}/boost/integer*.hpp
923 %{_includedir}/boost/intrusive_ptr.hpp
924 %{_includedir}/boost/io
925 %{_includedir}/boost/io_fwd.hpp
926 %{_includedir}/boost/iterator*.hpp
927 %{_includedir}/boost/iterator
928 %{_includedir}/boost/lambda
929 %{_includedir}/boost/limits.hpp
930 %{_includedir}/boost/logic
931 %{_includedir}/boost/math
932 %{_includedir}/boost/math_fwd.hpp
933 %{_includedir}/boost/multi_array
934 %{_includedir}/boost/multi_array.hpp
935 %{_includedir}/boost/multi_index
936 %{_includedir}/boost/multi_index_container.hpp
937 %{_includedir}/boost/multi_index_container_fwd.hpp
938 %{_includedir}/boost/nondet_random.hpp
939 %{_includedir}/boost/none.hpp
940 %{_includedir}/boost/non_type.hpp
941 %dir %{_includedir}/boost/numeric
942 %{_includedir}/boost/numeric/interval*
943 %{_includedir}/boost/numeric/conversion
944 %{_includedir}/boost/operators.hpp
945 %{_includedir}/boost/optional
946 %{_includedir}/boost/optional.hpp
947 %{_includedir}/boost/pending
948 %{_includedir}/boost/pfto.hpp
949 %{_includedir}/boost/pool
950 %{_includedir}/boost/pointee.hpp
951 %{_includedir}/boost/progress.hpp
952 %{_includedir}/boost/property_map*.hpp
953 %{_includedir}/boost/random
954 %{_includedir}/boost/random.hpp
955 %{_includedir}/boost/range
956 %{_includedir}/boost/range.hpp
957 %{_includedir}/boost/rational.hpp
958 %{_includedir}/boost/scoped_*.hpp
959 %{_includedir}/boost/serialization
960 %{_includedir}/boost/shared_*.hpp
961 %{_includedir}/boost/smart_cast.hpp
962 %{_includedir}/boost/smart_ptr.hpp
963 %{_includedir}/boost/state_saver.hpp
964 %{_includedir}/boost/static_warning.hpp
965 %{_includedir}/boost/strong_typedef.hpp
966 %{_includedir}/boost/throw_exception.hpp
967 %{_includedir}/boost/timer.hpp
968 %{_includedir}/boost/token*.hpp
969 %{_includedir}/boost/tuple
970 %{_includedir}/boost/type.hpp
971 %{_includedir}/boost/utf8_codecvt_facet.hpp
972 %{_includedir}/boost/version.hpp
973 %{_includedir}/boost/vector_property_map.hpp
974 %{_includedir}/boost/weak_ptr.hpp
976 %{_includedir}/boost/variant.hpp
977 %{_includedir}/boost/variant
978 %{_includedir}/boost/blank.hpp
979 %{_includedir}/boost/detail/templated_streams.hpp
981 %{_includedir}/boost/aligned_storage.hpp
982 #%{_includedir}/boost/detail/in_place_factory*.hpp
983 #%{_includedir}/boost/detail/none.hpp
984 %{_includedir}/boost/detail/none_t.hpp
985 #%{_includedir}/boost/detail/typed_in_place_factory.hpp
987 %{_libdir}/libboost_serialization*.a
988 %{_libdir}/libboost_wserialization*.a
992 %defattr(644,root,root,755)
993 %attr(755,root,root) %{_libdir}/libboost_python*.so.*.*.*
996 %defattr(644,root,root,755)
997 %attr(755,root,root) %{_libdir}/libboost_python*.so
998 %{_includedir}/boost/python
999 %{_includedir}/boost/python.hpp
1001 %files python-static
1002 %defattr(644,root,root,755)
1003 %{_libdir}/libboost_python*.a
1007 %defattr(644,root,root,755)
1008 %attr(755,root,root) %{_libdir}/libboost_regex*.so.*.*.*
1011 %defattr(644,root,root,755)
1012 %attr(755,root,root) %{_libdir}/libboost_regex*.so
1013 %{_includedir}/boost/cregex.hpp
1014 %{_includedir}/boost/regex.h
1015 %{_includedir}/boost/regex*.hpp
1016 %{_includedir}/boost/regex
1019 %defattr(644,root,root,755)
1020 %{_libdir}/libboost_regex*.a
1023 %defattr(644,root,root,755)
1024 %{_includedir}/boost/any.hpp
1027 %defattr(644,root,root,755)
1028 %{_includedir}/boost/array.hpp
1031 %defattr(644,root,root,755)
1032 %{_includedir}/boost/bind
1033 %{_includedir}/boost/bind.hpp
1035 %files call_traits-devel
1036 %defattr(644,root,root,755)
1037 %{_includedir}/boost/call_traits.hpp
1038 %{_includedir}/boost/detail/call_traits.hpp
1039 %{_includedir}/boost/detail/ob_call_traits.hpp
1041 %files compatibility-devel
1042 %defattr(644,root,root,755)
1043 %{_includedir}/boost/compatibility
1045 %files compose-devel
1046 %defattr(644,root,root,755)
1047 #%{_includedir}/boost/compose.hpp
1049 %files compressed_pair-devel
1050 %defattr(644,root,root,755)
1051 %{_includedir}/boost/compressed_pair.hpp
1052 %{_includedir}/boost/detail/compressed_pair.hpp
1053 %{_includedir}/boost/detail/ob_compressed_pair.hpp
1055 %files concept_check-devel
1056 %defattr(644,root,root,755)
1057 %{_includedir}/boost/concept_archetype.hpp
1058 %{_includedir}/boost/concept_check.hpp
1060 %files conversion-devel
1061 %defattr(644,root,root,755)
1062 %{_includedir}/boost/cast.hpp
1063 %{_includedir}/boost/implicit_cast.hpp
1064 %{_includedir}/boost/lexical_cast.hpp
1067 %defattr(644,root,root,755)
1068 %{_includedir}/boost/crc.hpp
1071 %defattr(644,root,root,755)
1072 %attr(755,root,root) %{_libdir}/libboost_date_time*.so.*.*.*
1074 %files date_time-devel
1075 %defattr(644,root,root,755)
1076 %attr(755,root,root) %{_libdir}/libboost_date_time*.so
1077 %{_includedir}/boost/date_time
1079 %files date_time-static
1080 %defattr(644,root,root,755)
1081 %{_libdir}/libboost_date_time*.a
1084 %defattr(644,root,root,755)
1085 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so.*.*.*
1087 %files filesystem-devel
1088 %defattr(644,root,root,755)
1089 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so
1090 %{_includedir}/boost/filesystem
1092 %files filesystem-static
1093 %defattr(644,root,root,755)
1094 %{_libdir}/libboost_filesystem*.a
1097 %defattr(644,root,root,755)
1098 %{_includedir}/boost/get_pointer.hpp
1099 %{_includedir}/boost/mem_fn.hpp
1102 %defattr(644,root,root,755)
1103 %{_includedir}/boost/mpl
1105 %files preprocessor-devel
1106 %defattr(644,root,root,755)
1107 %{_includedir}/boost/preprocessor
1108 %{_includedir}/boost/preprocessor.hpp
1110 %files program_options
1111 %defattr(644,root,root,755)
1112 %attr(755,root,root) %{_libdir}/libboost_program_options*.so.*.*.*
1114 %files program_options-devel
1115 %defattr(644,root,root,755)
1116 %{_includedir}/boost/program_options
1117 %{_includedir}/boost/program_options.hpp
1119 %files program_options-static
1120 %defattr(644,root,root,755)
1121 %{_libdir}/libboost_program_options*.a
1124 %defattr(644,root,root,755)
1125 %{_includedir}/boost/ref.hpp
1128 %defattr(644,root,root,755)
1129 %attr(755,root,root) %{_libdir}/libboost_signals*.so.*.*.*
1131 %files signals-devel
1132 %defattr(644,root,root,755)
1133 %attr(755,root,root) %{_libdir}/libboost_signals*.so
1134 %{_includedir}/boost/signal*.hpp
1135 %{_includedir}/boost/signals
1136 %{_includedir}/boost/last_value.hpp
1137 %{_includedir}/boost/visit_each.hpp
1139 %files signals-static
1140 %defattr(644,root,root,755)
1141 %{_libdir}/libboost_signals*.a
1144 %defattr(644,root,root,755)
1145 %{_includedir}/boost/spirit.hpp
1146 %{_includedir}/boost/spirit
1148 %files static_assert-devel
1149 %defattr(644,root,root,755)
1150 %{_includedir}/boost/static_assert.hpp
1153 %defattr(644,root,root,755)
1154 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so.*.*.*
1155 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so.*.*.*
1156 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so.*.*.*
1159 %defattr(644,root,root,755)
1160 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so
1161 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so
1162 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so
1163 %{_includedir}/boost/test
1166 %defattr(644,root,root,755)
1167 %{_libdir}/libboost_prg_exec_monitor*.a
1168 %{_libdir}/libboost_test_exec_monitor*.a
1169 %{_libdir}/libboost_unit_test_framework*.a
1172 %defattr(644,root,root,755)
1173 %attr(755,root,root) %{_libdir}/libboost_thread*.so.*.*.*
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_libdir}/libboost_thread*.so
1178 %{_includedir}/boost/thread
1179 %{_includedir}/boost/thread.hpp
1181 %files type_traits-devel
1182 %defattr(644,root,root,755)
1183 %{_includedir}/boost/type_traits.hpp
1184 %{_includedir}/boost/type_traits
1187 %defattr(644,root,root,755)
1188 %{_includedir}/boost/numeric/ublas
1190 %files utility-devel
1191 %defattr(644,root,root,755)
1192 %{_includedir}/boost/checked_delete.hpp
1193 %{_includedir}/boost/next_prior.hpp
1194 %{_includedir}/boost/noncopyable.hpp
1195 %{_includedir}/boost/utility*.hpp
1196 %{_includedir}/boost/utility
1199 %defattr(644,root,root,755)
1200 %{_docdir}/%{name}-%{version}