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 BuildConflicts: gcc = 5:3.3.1
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The Boost web site provides free peer-reviewed portable C++ source
26 libraries. The emphasis is on libraries which work well with the C++
27 Standard Library. One goal is to establish "existing practice" and
28 provide reference implementations so that the Boost libraries are
29 suitable for eventual standardization. Some of the libraries have
30 already been proposed for inclusion in the C++ Standards Committee's
31 upcoming C++ Standard Library Technical Report.
34 Strona http://www.boost.org/ dostarcza darmowe biblioteki C++ wraz z
35 kodem ¼ród³owym. Nacisk po³o¿ono na biblioteki, które dobrze
36 wspó³pracuj± ze standardow± bibliotek± C++. Celem jest ustanowienie
37 "istniej±cej praktyki" i dostarczenie implementacji, tak ¿e biblioteki
38 "Boost" nadaj± siê do ewentualnej standaryzacji. Niektóre z bibliotek
39 ju¿ zosta³y zg³oszone do komitetu standaryzacyjnego C++ w nadchodz±cym
40 Raporcie Technicznym Biblioteki Standardowej C++
43 Summary: Boost C++ development libraries and headers
44 Summary(pl): Pliki nag³ówkowe i biblioteki statyczne Boost C++
45 Group: Development/Libraries
46 # req'd by <boost/iterator_adaptors.hpp> (also included by <boost/signal.h>)
47 Requires: %{name}-concept_check-devel = %{version}-%{release}
48 # <boost/implicit_cast.hpp> req'd by <boost/graph/graph_utility.hpp>
49 Requires: %{name}-conversion-devel = %{version}-%{release}
50 Requires: libstdc++-devel
53 Headers and static libraries for the Boost C++ libraries.
55 %description devel -l pl
56 Pliki nag³ówkowe i biblioteki statyczne bibliotek Boost C++.
59 Summary: Boost.Python library
60 Summary(pl): biblioteka Boost.Python
65 Use the Boost Python Library to quickly and easily export a C++
66 library to Python such that the Python interface is very similar to
67 the C++ interface. It is designed to be minimally intrusive on your
68 C++ design. In most cases, you should not have to alter your C++
69 classes in any way in order to use them with Boost.Python. The system
70 should simply ``reflect'' your C++ classes and functions into Python.
72 %description python -l pl
73 Biblioteka Boost Python s³u¿y do szybkiego i prostego eksportu
74 biblioteki C++ do Pythona, tak ¿e interfejs Pythona jest bardzo
75 podobny do interfejsu C++. Biblioteka jest zaprojektowana tak, ¿eby
76 narzucaæ jak najmniej wymagañ dotycz±cych konstrukcjii C++. W
77 wiêkszo¶ci przypadków nie trzeba w ogóle zmieniaæ w³asnych klas C++,
78 ¿eby u¿ywaæ ich z Boost.Python. System powinien po prostu ,,odbiæ''
79 klasy C++ i funkcje do Pythona.
82 Summary: Boost.Python development headers
83 Summary(pl): Pliki nag³ówkowe dla Boost.Python
84 Group: Development/Libraries
85 Requires: %{name}-devel = %{version}-%{release}
86 Requires: %{name}-python = %{version}-%{release}
87 Requires: %{name}-compressed_pair-devel = %{version}-%{release}
89 %description python-devel
90 Headers for the Boost.Python library.
92 %description python-devel -l pl
93 Pliki nag³ówkowe dla biblioteki Boost.Python.
95 %package python-static
96 Summary: Static version of Boost.Python library
97 Summary(pl): Statyczna wersja biblioteki Boost.Python
98 Group: Development/Libraries
99 Requires: %{name}-python-devel = %{version}-%{release}
101 %description python-static
102 Static version of Boost.Python library.
104 %description python-static -l pl
105 Statyczna wersja biblioteki Boost.Python.
108 Summary: Boost C++ regular expressions library
109 Summary(pl): Biblioteka wyra¿eñ regularnych Boost C++
113 Shared library for Boost C++ regular expressions.
115 %description regex -l pl
116 Biblioteka wyra¿eñ regularnych dla C++, biblioteki dzielone.
119 Summary: Boost C++ Regex library headers
120 Summary(pl): Pliki nag³ówkowe Boost C++ Regex
121 Group: Development/Libraries
122 Requires: %{name}-devel = %{version}-%{release}
123 Requires: %{name}-regex = %{version}-%{release}
125 %description regex-devel
126 Boost C++ Regex headers.
128 %description regex-devel -l pl
129 Pliki nag³ówkowe dla Boost C++ Regex.
131 %package regex-static
132 Summary: Boost C++ Regex static libraries
133 Summary(pl): Biblioteki statyczne Boost C++ Regex
134 Group: Development/Libraries
135 Requires: %{name}-regex-devel = %{version}-%{release}
137 %description regex-static
138 Boost C++ Regex static libraries.
140 %description regex-static -l pl
141 Biblioteki statyczne dla Boost C++ Regex.
144 Summary: Header for Boost C++ "Any" Library
145 Summary(pl): Plik nag³ówkowy dla biblioteki Boost C++ "Any"
146 Group: Development/Libraries
147 Requires: %{name}-devel = %{version}-%{release}
149 %description any-devel
150 The boost::any class, is a variant value type, which supports copying
151 of any value type and safe checked extraction of that value strictly
154 I.e. 5 is held strictly as an int and is not implicitly convertible
155 either to "5" or to 5.0.
157 %description any-devel -l pl
158 Klasa boost::any jest typem, który umo¿liwia kopiowanie ze zmiennej
159 dowolnego typu i bezpieczne, sprawdzone wydobycie jej warto¶ci
160 dok³adnie tego samego typu.
162 Np. 5 jest trzymane jako int i nie jest niejawnie konwertowalne ani do
166 Summary: STL compliant container wrapper for arrays of constant size
167 Summary(pl): Wrapper na STLowe kontenery dla tablic o sta³ym rozmiarze
168 Group: Development/Libraries
169 Requires: %{name}-devel = %{version}-%{release}
171 %description array-devel
172 As replacement for ordinary arrays, the STL provides class vector<>.
173 However, vector<> provides the semantics of dynamic arrays. Thus, it
174 manages data to be able to change the number of elements. This results
175 in some overhead in case only arrays with static size are needed. This
176 library provides support for such static size arrays.
178 %description array-devel -l pl
179 STL dostarcza klasê vector<> jako zamiennik zwyk³ej tablicy. Jednak
180 vector<> dostarcza semantykê dynamicznych tablic. Zatem zarz±dza
181 danymi tak, by by³a mo¿liwa zmiana ilo¶ci elementów. To skutkuje
182 pewnym nadmiarem w przypadku kiedy tylko tablice o sta³ym rozmiarze s±
183 potrzebne. Ta biblioteka dostarcza wsparcie dla takich w³a¶nie tablic
187 Summary: Generalized binders for function/object/pointers
188 Summary(pl): Uogólnione bindery dla funkcji/obiektów/wska¼ników
189 Group: Development/Libraries
190 Requires: %{name}-mem_fn-devel = %{version}-%{release}
191 Requires: %{name}-ref-devel = %{version}-%{release}
193 %description bind-devel
194 boost::bind is a generalization of the standard functions std::bind1st
197 %description bind-devel -l pl
198 boost::bind jest uogólnieniem standardowych funkcji std::bind1st i
201 %package call_traits-devel
202 Summary: Defines types for passing parameters
203 Summary(pl): Definiowanie typów dla przekazywania parametrów
204 Group: Development/Libraries
205 Requires: %{name}-devel = %{version}-%{release}
206 Requires: %{name}-type_traits-devel = %{version}-%{release}
208 %description call_traits-devel
209 boost::call_traits<T> encapsulates the "best" method to pass a
210 parameter of some type T to or from a function. The purpose of
211 call_traits is to ensure that problems like "references to references"
212 never occur, and that parameters are passed in the most efficient
215 %description call_traits-devel -l pl
216 boost::call_traits<T> zawiera "najlepsz±" metodê przekazywania
217 parametrów jakiego¶ typu T do lub z funkcji. Celem call_traits jest
218 zapewnienie ¿e problemy takie jak "referencja referencji" nigdy nie
219 wyst±pi± i ¿e parametry s± przekazywane w mo¿liwie najbardziej
222 %package compatibility-devel
223 Summary: Help for non-conforming standard libraries
224 Summary(pl): Pomoc dla nie trzymaj±cych standardu bibliotek
225 Group: Development/Libraries
226 Requires: %{name}-devel = %{version}-%{release}
228 %description compatibility-devel
229 This library provides workarounds which allow the other Boost
230 libraries to be used on otherwise non-conforming platforms.
232 %description compatibility-devel -l pl
233 Biblioteka dostarcza obej¶cie problemu platform nie trzymaj±cych
234 standardu C++, pozwalaj±ce na u¿ywanie bibliotek Boost na tych
237 %package compose-devel
238 Summary: Functional composition adapters for the STL
239 Summary(pl): Funkcjonalne adaptery kompozycji dla STL
240 Group: Development/Libraries
241 Requires: %{name}-devel = %{version}-%{release}
243 %description compose-devel
244 The boost::compose provides compose function object adapter extensions
245 for use with the Standard Template Library (STL) portion of the C++
246 Standard Library. If you aren't currently using the STL, this library
247 won't be of any interest, but hard-core STL users will appreciate its
250 %description compose-devel -l pl
251 boost::compose dostarcza rozszerzenie adaptera obiektu funkcji compose
252 do u¿ytku z STL-ow± czê¶ci± Standardu C++. Je¿eli nie u¿ywasz STL,
253 biblioteka bêdzie poza twoim zainteresowaniem, lecz hardkorowi
254 u¿ytkownicy STL-a doceni± jej u¿yteczno¶æ.
256 %package compressed_pair-devel
257 Summary: Empty member optimization
258 Summary(pl): Optymalizacja pustego elementu
259 Group: Development/Libraries
260 Requires: %{name}-call_traits-devel = %{version}-%{release}
261 Requires: %{name}-devel = %{version}-%{release}
263 %description compressed_pair-devel
264 The class boost::compressed_pair is very similar to std::pair, but if
265 either of the template arguments are empty classes, then the "empty
266 base-class optimisation" is applied to compress the size of the pair.
268 %description compressed_pair-devel -l pl
269 Klasa boost::compressed_pair jest bardzo podobna do std::pair, ale
270 je¿eli który¶ z argumentów wzorca jest pust± klas±, wtedy stosowana
271 jest "optymalizacja pustej klasy bazowej" do kompresji pary.
273 %package concept_check-devel
274 Summary: Tools for generic programming
275 Summary(pl): Narzêdzia dla programowania generycznego
276 Group: Development/Libraries
277 Requires: %{name}-static_assert-devel = %{version}-%{release}
278 Requires: %{name}-type_traits-devel = %{version}-%{release}
280 %description concept_check-devel
281 The boost::concept_check library provides various tools for generic
284 %description concept_check-devel -l pl
285 Biblioteka boost::concept_check dostarcza ró¿ne narzêdzia dla
286 programowania generycznego.
288 %package conversion-devel
289 Summary: Numeric, polymorphic, and lexical casts
290 Summary(pl): Numeryczne, polimorficzne i leksykalne rzutowania
291 Group: Development/Libraries
292 Requires: %{name}-type_traits-devel = %{version}-%{release}
294 %description conversion-devel
295 The boost::conversion library improves program safety and clarity by
296 performing otherwise messy conversions. It includes cast-style
297 function templates designed to complement the C++ Standard's built-in
300 %description conversion-devel -l pl
301 Biblioteka boost::conversion zwiêksza bezpieczeñstwo i klarowno¶æ
302 programu dokonuj±c konwersji które s± w innych przypadkach niechlujne.
303 Biblioteka zawiera "rzutopodobne" wzorce funkcji uzupe³niaj±ce
304 wbudowane w Standard C++ rzutowania.
307 Summary: CRC computing library
308 Summary(pl): Biblioteka obliczaj±ca CRC
309 Group: Development/Libraries
310 Requires: %{name}-devel = %{version}-%{release}
312 %description crc-devel
313 The boost::crc library provides two implementations of CRC computation
314 objects and functions. The implementations are template-based.
316 %description crc-devel -l pl
317 Bibliteka boost::crc dostarcza dwie implementacje obiektów i funkcji
318 obliczaj±cych CRC. Implementacje s± oparte na wzorcach.
321 Summary: Date-Time library
322 Summary(pl): Biblioteka daty-czasu
326 %description date_time
327 A set of date-time libraries.
329 %description date_time -l pl
330 Zbiór bibliotek daty-czasu.
332 %package date_time-devel
333 Summary: Header files for boost::date_time library
334 Summary(pl): Pliki nag³ówkowe dla biblioteki boost::date_time
335 Group: Development/Libraries
336 Requires: %{name}-date_time = %{version}-%{release}
337 #TODO: make decision if do separate packages include it to main devel package
338 #Requires: %{name}-operators-devel = %{version}-%{release}
339 #Requires: %{name}-integer-devel = %{version}-%{release}
340 #Requires: %{name}-tokenizer-devel = %{version}-%{release}
341 Requires: %{name}-conversion-devel = %{version}-%{release}
343 %description date_time-devel
344 Header files for boost::date_time library.
346 %description date_time-devel -l pl
347 Pliki nag³ówkowe dla biblioteki boost::date_time
349 %package date_time-static
350 Summary: Static boost::date_time library
351 Summary(pl): Statyczna biblioteka boost::date_time
352 Group: Development/Libraries
353 Requires: %{name}-date_time-devel = %{version}-%{release}
355 %description date_time-static
356 Static boost::date_time library.
358 %description date_time-devel -l pl
359 Statyczna biblioteka boost::date_time.
362 Summary: Portable paths, iteration over directories, and other useful filesystem operations
363 Summary(pl): Przeno¶ne ¶cie¿ki, iteracje katalogów i inne u¿yteczne operacje na systemie plików
367 %description filesystem
368 The boost::filesystem library provides portable facilities to query
369 and manipulate paths, files, and directories.
371 %description filesystem -l pl
372 Przeno¶na biblioteka boost::filesystem dostarcza u³atwienia w
373 operacjach na ¶cie¿kach, plikach i katalogach.
375 %package filesystem-devel
376 Summary: Header files for boost::filesystem
377 Summary(pl): Pliki nag³ówkowe dla boost::filesystem
378 Group: Development/Libraries
379 Requires: %{name}-devel = %{version}-%{release}
380 Requires: %{name}-filesystem = %{version}-%{release}
382 #Requires: %{name}-smart_ptr = %{version}-%{release}
384 %description filesystem-devel
385 Header files for boost::filesystem library.
387 %description filesystem-devel -l pl
388 Pliki nag³ówkowe dla biblioteki boost::filesystem.
390 %package filesystem-static
391 Summary: Static boost::filesystem library
392 Summary(pl): Biblioteka statyczna boost::filesystem
393 Group: Development/Libraries
394 Requires: %{name}-filesystem-devel = %{version}-%{release}
395 Obsoletes: boost-static
397 %description filesystem-static
398 Static boost::filesystem library.
400 %description filesystem-static -l pl
401 Biblioteka statyczna boost::filesystem.
403 %package mem_fn-devel
404 Summary: Generalized binders for member functions
405 Summary(pl): Uogólnione bindery dla metod
406 Group: Development/Libraries
407 Requires: %{name}-bind-devel = %{version}-%{release}
409 %description mem_fn-devel
410 boost::mem_fn is a generalization of the standard functions
411 std::mem_fun and std::mem_fun_ref.
413 %description mem_fn-devel -l pl
414 boost::mem_fn jest uogólnieniem standardowych funkcji std::mem_fun i
418 Summary: Compile-time algorithms, sequences and metafunction classes
419 Summary(pl): Algorytmy czasu kompilacji, sekwencji i klas metafunkcji
420 Group: Development/Libraries
421 Requires: %{name}-devel = %{version}-%{release}
422 Requires: %{name}-preprocessor-devel = %{version}-%{release}
423 Requires: %{name}-type_traits-devel = %{version}-%{release}
424 Requires: %{name}-utility-devel = %{version}-%{release}
426 %description mpl-devel
427 The boost-mpl library is a C++ template metaprogramming framework of
428 compile-time algorithms, sequences and metafunction classes.
430 %description mpl-devel -l pl
431 Biblioteka boost-mpl jest szkieletem wzorców C++ dla algorytmów czasu
432 kompilacji, sekwencji i klas metafunkcji.
434 %package program_options
435 Summary: Access to program options, via conventional methods such as command line and config file
436 Summary(pl): Dostêp do opcji programu za pomoc± typowych metod, jak linia poleceñ i plik konfiguracyjny
439 %description program_options
440 The program_options library allows program developers to obtain
441 program options, that is (name, value) pairs from the user, via
442 conventional methods such as command line and config file.
444 %description program_options -l pl
445 Biblioteka program_options umo¿liwia uzyskanie od u¿ytkownika opcji
446 programu, czyli par (nazwa, warto¶æ), za pomoc± typowych metod,
447 takich jak linia poleceñ, czy plik konfiguracyjny.
449 %package program_options-devel
450 Summary: Header files for boost::program_options
451 Summary(pl): Pliki nag³ówkowe dla boost::program_options
452 Group: Development/Libraries
453 Requires: %{name}-devel = %{version}-%{release}
454 Requires: %{name}-program_options = %{version}-%{release}
456 %description program_options-devel
457 Header files for boost::program_options library.
459 %description program_options-devel -l pl
460 Pliki nag³ówkowe dla biblioteki boost::program_options.
462 %package program_options-static
463 Summary: Static boost::program_options library
464 Summary(pl): Biblioteka statyczna boost::program_options
465 Group: Development/Libraries
466 Requires: %{name}-program_options-devel = %{version}-%{release}
467 Obsoletes: boost-static
469 %description program_options-static
470 Static boost::program_options library.
472 %description program_options-static -l pl
473 Biblioteka statyczna boost::program_options.
475 %package preprocessor-devel
476 Summary: Preprocessor metaprogramming tools including repetition and recursion
477 Summary(pl): Narzêdzia metaprogramowania preprocesora razem z repetycj± i rekursj±
478 Group: Development/Libraries
479 Requires: %{name}-devel = %{version}-%{release}
481 %description preprocessor-devel
482 This library provides preprocessor metaprogramming tools, including
483 repetition and recursion.
485 %description preprocessor-devel -l pl
486 Biblioteka udostêpnia narzêdzia metaprogramowania preprocesora,
487 w³±czaj±c w to repetycje i rekursjê.
490 Summary: Small library useful for passing references to function templates
491 Summary(pl): Ma³a biblioteka u¿yteczna przy przekazywaniu referencji do wzorców funkcji
492 Group: Development/Libraries
493 Requires: %{name}-devel = %{version}-%{release}
494 Requires: %{name}-mpl-devel = %{version}-%{release}
495 Requires: %{name}-utility-devel = %{version}-%{release}
497 %description ref-devel
498 boost::ref library is a small library that is useful for passing
499 references to function templates (algorithms) that would usually take
500 copies of their arguments.
502 %description ref-devel -l pl
503 Biblioteka boost::ref jest ma³± bibliotek± która jest u¿yteczna w
504 przypadku przekazywania referencji do wzorców funkcji (algorytmów)
505 które zazwyczaj bior± kopiê swoich argumentów.
508 Summary: Signals & slots callback implementation
509 Summary(pl): Implementacja sygna³ów i slotów
514 The boost::signals library is an implementation of a signals and slots
517 %description signals -l pl
518 Biblioteka boost::signals jest implementacj± systemu sygna³ów i
521 %package signals-devel
522 Summary: Header files for boost::signals library
523 Summary(pl): Pliki nag³ówkowe dla biblioteki boost::signals
524 Group: Development/Libraries
525 Requires: %{name}-signals = %{version}-%{release}
526 Requires: %{name}-any-devel = %{version}-%{release}
527 #TODO: separate smart_ptr or include to the main devel package
528 #Requires: %{name}-iterator_adaptors-devel = %{version}-%{release}
529 #Requires: %{name}-operators-devel = %{version}-%{release}
530 #Requires: %{name}-smart_ptr-devel = %{version}-%{release}
531 Requires: %{name}-mem_fn-devel = %{version}-%{release}
532 Requires: %{name}-ref-devel = %{version}-%{release}
533 Requires: %{name}-type_traits-devel = %{version}-%{release}
534 Requires: %{name}-utility-devel = %{version}-%{release}
536 %description signals-devel
537 Header files for boost::signals library.
539 %description signals-devel -l pl
540 Pliki nag³ówkowe dla biblioteki boost::signals.
542 %package signals-static
543 Summary: Static library for boost::signals
544 Summary(pl): Biblioteka statyczna dla boost::signals
545 Group: Development/Libraries
546 Requires: %{name}-signals-devel = %{version}-%{release}
548 %description signals-static
549 Static library for boost::signals.
551 %description signals-static -l pl
552 Biblioteka statyczna dla boost::signals.
554 %package spirit-devel
555 Summary: LL parser framework
556 Summary(pl): Szkielet parsera LL
557 Group: Development/Libraries
558 Requires: %{name}-compressed_pair-devel = %{version}-%{release}
559 Requires: %{name}-ref-devel = %{version}-%{release}
560 Requires: %{name}-regex-devel = %{version}-%{release}
561 Requires: %{name}-static_assert-devel = %{version}-%{release}
562 Requires: %{name}-thread-devel = %{version}-%{release}
564 #?Requires: %{name}-smart_ptr-devel = %{version}-%{release}
565 #?Requires: %{name}-iterators-devel = %{version}-%{release}
567 %description spirit-devel
568 LL parser framework represents parsers directly as EBNF grammars in
571 %description spirit-devel -l pl
572 Szkielet parsera LL reprezentuj±cy parsery jako gramatyki EBNF
573 bezpo¶rednio w kodzie C++.
575 %package static_assert-devel
576 Summary: Static assertions (compile time assertions)
577 Summary(pl): Statyczne asercje (asercje kompilacyjne)
578 Group: Development/Libraries
579 Requires: %{name}-devel = %{version}-%{release}
581 %description static_assert-devel
582 The header <boost/static_assert.hpp> supplies a single macro
583 BOOST_STATIC_ASSERT(x), which generates a compile time error message
584 if the integral-constant-expression x is not true. In other words it
585 is the compile time equivalent of the assert macro; this is sometimes
586 known as a "compile-time-assertion"
588 One of the aims of BOOST_STATIC_ASSERT is to generate readable error
589 messages. These immediately tell the user that a library is being used
590 in a manner that is not supported.
592 %description static_assert-devel -l pl
593 Plik nag³ówkowy <boost/static_assert.hpp> dostarcza pojedyncze makro
594 BOOST_STATIC_ASSERT(x), które generuje komunikat b³êdu kompilacji
595 je¿eli sta³e wyra¿enie x nie jest prawdziwe. Innymi s³owy jest to
596 kompilacyjny ekwiwalent makra 'assert'; czasami znane jest jako
597 "asercja czasu kompilacji"
599 Jednym z celów BOOST_STATIC_ASSERT jest generowanie czytelnych
600 komunikatów o b³êdach. One b³yskawicznie powiedz± u¿ytkownikowi ¿e
601 biblioteka zosta³a u¿yta w sposób który nie jest zalecany.
604 Summary: Support for program testing and execution monitoring
605 Summary(pl): Wsparcie dla testowania i monitorowania programu
610 Support for simple program testing, full unit testing, and for program
611 execution monitoring.
613 %description test -l pl
614 Wsparcie dla prostego testowania programu, pe³nego testowania i
615 monitorowania wykonania programu.
618 Summary: Header files for boost::test
619 Summary(pl): Pliki nag³ówkowe dla boost::test
620 Group: Development/Libraries
621 Requires: %{name}-call_traits-devel = %{version}-%{release}
622 Requires: %{name}-devel = %{version}-%{release}
623 Requires: %{name}-mpl-devel = %{version}-%{release}
624 Requires: %{name}-preprocessor-devel = %{version}-%{release}
625 Requires: %{name}-test = %{version}-%{release}
626 Requires: %{name}-type_traits-devel = %{version}-%{release}
627 Requires: %{name}-utility-devel = %{version}-%{release}
629 #Requires: %{name}-smart_ptr = %{version}-%{release}
630 #?Requires?: %{name}-function-devel = %{version}-%{release}
632 %description test-devel
633 Header files for boost::test.
635 %description test-devel -l pl
636 Pliki nag³ówkowe dla boost::test.
639 Summary: Static boost::test libraries
640 Summary(pl): Biblioteki statyczne boost::test
641 Group: Development/Libraries
642 Requires: %{name}-test-devel = %{version}-%{release}
643 Obsoletes: boost-static
645 %description test-static
646 Static boost::test libraries.
648 %description test-static -l pl
649 Biblioteki statyczne boost::test.
652 Summary: Portable C++ threads library
653 Summary(pl): Przeno¶na biblioteka w±tków C++
658 Portable C++ threads library - shared library.
660 %description thread -l pl
661 Przeno¶na biblioteka w±tków dla C++ - biblioteka dzielona.
663 %package thread-devel
664 Summary: Header files for boost::thread library
665 Summary(pl): Pliki nag³ówkowe dla biblioteki boost::thread
666 Group: Development/Libraries
667 Requires: %{name}-thread = %{version}-%{release}
668 Requires: %{name}-utility-devel = %{version}-%{release}
669 #TODO:requires boost::function or boost::function to boost-devel
671 %description thread-devel
672 Header files for boost::thread library.
674 %description thread-devel -l pl
675 Pliki nag³ówkowe dla biblioteki boost::thread.
677 %package type_traits-devel
678 Summary: Templates for fundamental properties of types
679 Summary(pl): Wzorce dla fundamentalnych w³a¶ciwo¶ci typów
680 Group: Development/Libraries
681 Requires: %{name}-devel = %{version}-%{release}
682 Requires: %{name}-mpl-devel = %{version}-%{release}
683 Requires: %{name}-preprocessor-devel = %{version}-%{release}
684 Requires: %{name}-static_assert-devel = %{version}-%{release}
685 Requires: %{name}-utility-devel = %{version}-%{release}
687 %description type_traits-devel
688 The boost-type_traits library defines three kinds of type trait:
689 1. The properties of a specific type.
690 2. The relationship between two types.
691 3. A transformation from one type to another.
693 %description type_traits-devel -l pl
694 Biblioteka boost-type_traits definiuje trzy rodzaje cech typów:
695 1. w³a¶ciwo¶ci konkretnego typu.
696 2. powi±zania miêdzy dwoma typami.
697 3. transformacjê z jednego typu do drugiego.
700 Summary: Basic linear algebra for dense, packed and sparse matrices
701 Summary(pl): Prosta liniowa algebra dla gêstych, upakowanych i rzadkich macierzy
702 Group: Development/Libraries
703 Requires: %{name}-concept_check-devel = %{version}-%{release}
704 Requires: %{name}-mpl-devel = %{version}-%{release}
705 Requires: %{name}-utility-devel = %{version}-%{release}
707 %description uBLAS-devel
708 uBLAS library provides templated C++ classes for dense, unit and
709 sparse vectors, dense, identity, triangular, banded, symmetric,
710 hermitian and sparse matrices.
712 %description uBLAS-devel -l pl
713 Biblioteka uBLAS dostarcza wzorce klas C++ dla gêstych, jednostkowych
714 i rzadkich wektorów oraz gêstych, jednostkowych, trójk±tnych,
715 diagonalnych, symetrycznych, hermitowskich i rzadkich macierzy.
717 %package utility-devel
718 Summary: Useful utilities: classes and function templates
719 Summary(pl): U¿yteczne narzêdzia: klasy i wzorce funkcji
720 Group: Development/Libraries
721 Requires: %{name}-type_traits-devel = %{version}-%{release}
723 %description utility-devel
724 Class noncopyable plus checked_delete(), checked_array_delete(),
725 next(), prior() function templates, plus base-from-member idiom.
727 %description utility-devel -l pl
728 Klasy noncopyable i checked_delete, funkcje checked_array_delete(),
729 next(), prior() oraz idiom base-from-member.
732 Summary: Boost C++ Library documentation
733 Summary(pl): Dokumentacja dla biblioteki Boost C++
735 Requires: %{name}-devel = %{version}-%{release}
738 Documentation for the Boost C++ Library.
740 %description doc -l pl
741 Dokumentacja dla biblioteki Boost C++.
744 %setup -q -n %{name}_%{_fver}
747 # don't know how to pass it through (b)jam -s (no way?)
748 # due to oversophisticated build flags system
749 %{__perl} -pi -e 's/ -O3 / %{rpmcflags} /' tools/build/v1/gcc-tools.jam
752 # -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only)
753 # don't know, is it gcc bug or intentional omission?
754 # anyway, boost check of -D_REENTRANT in its headers, so it's needed here
755 %{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam
760 PYTHON_VERSION=`python -V 2>&1 | sed 's,.* \([0-9]\.[0-9]\)\(\.[0-9]\)\?.*,\1,'`
761 PYTHON_ROOT=%{_prefix}
768 -sBUILD="release <threading>multi" \
769 -sPYTHON_ROOT=$PYTHON_ROOT \
770 -sPYTHON_VERSION=$PYTHON_VERSION
773 rm -rf $RPM_BUILD_ROOT
774 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
776 cp -rf boost $RPM_BUILD_ROOT%{_includedir}
778 install bin/boost/libs/*/build/*.a/*/release/*/lib*.a $RPM_BUILD_ROOT%{_libdir}
779 install bin/boost/libs/*/build/*.so/*/release/*/*/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
780 # use cp -d, install follows symlinks instead of preserving them!
781 cp -df bin/boost/libs/*/build/*.so/*/release/*/*/lib*.so $RPM_BUILD_ROOT%{_libdir}
783 # create symlinks without -gcc-mt-* things in names
784 for f in $RPM_BUILD_ROOT%{_libdir}/*.so.*; do
785 [ -f "$f" ] || continue
787 soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.so#g')
789 ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
791 for f in $RPM_BUILD_ROOT%{_libdir}/*.a; do
792 [ -f "$f" ] || continue
794 soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.a#g')
796 ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
800 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
801 install README $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
803 # as the documentation doesn't completely reside in a directory of its
804 # own, we need to find out ourselves... this looks for HTML files and
805 # then collects everything linked from those. this is certainly quite
806 # unoptimized wrt mkdir calls, but does it really matter?
807 for i in `find -type f -name '*.htm*'`; do
808 # bjam docu is included in the boost-jam RPM
809 if test "`echo $i | sed 's,jam_src,,'`" = "$i"; then
810 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/`dirname $i`
811 for LINKED in `%{__perl} - $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i <<'EOT'
815 # rewrite links from boost/* to %{_includedir}/boost/* and
816 # ignore external links as well as document-internal ones.
817 # HTML files are also ignored as they get installed anyway.
818 if (!($link =~ s,^(?:../)*boost/,%{_includedir}/boost/,) && !($link =~ m,(?:^[^/]+:|^\#|\.html?(?:$|\#)),))
820 (my $file = $link) =~ s/\#.*//;
826 open OUT, ">@ARGV[1]";
830 $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e;
831 s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig;
833 $in_link = /href|src=\s*$/;
836 TARGET=`dirname $i`/$LINKED
837 # ignore non-existant linked files
838 if test -f $TARGET; then
839 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/`dirname $TARGET`
840 install -m 644 $TARGET $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$TARGET
847 rm -rf $RPM_BUILD_ROOT
849 %post date_time -p /sbin/ldconfig
850 %postun date_time -p /sbin/ldconfig
852 %post filesystem -p /sbin/ldconfig
853 %postun filesystem -p /sbin/ldconfig
855 %post python -p /sbin/ldconfig
856 %postun python -p /sbin/ldconfig
858 %post regex -p /sbin/ldconfig
859 %postun regex -p /sbin/ldconfig
861 %post signals -p /sbin/ldconfig
862 %postun signals -p /sbin/ldconfig
864 %post test -p /sbin/ldconfig
865 %postun test -p /sbin/ldconfig
867 %post thread -p /sbin/ldconfig
868 %postun thread -p /sbin/ldconfig
871 %defattr(644,root,root,755)
872 %dir %{_includedir}/boost
873 %{_includedir}/boost/algorithm
874 %{_includedir}/boost/archive
875 %{_includedir}/boost/assert.hpp
876 %{_includedir}/boost/assign
877 %{_includedir}/boost/assign.hpp
878 %{_includedir}/boost/blank_fwd.hpp
879 %{_includedir}/boost/config
880 %{_includedir}/boost/config.hpp
881 %{_includedir}/boost/cstd*.hpp
882 %{_includedir}/boost/current_function.hpp
883 %dir %{_includedir}/boost/detail
884 %{_includedir}/boost/detail/algorithm.hpp
885 %{_includedir}/boost/detail/allocator_utilities.hpp
886 %{_includedir}/boost/detail/atomic_count*.hpp
887 %{_includedir}/boost/detail/binary_search.hpp
888 %{_includedir}/boost/detail/catch_exceptions.hpp
889 %{_includedir}/boost/detail/dynamic_bitset.hpp
890 %{_includedir}/boost/detail/indirect_traits.hpp
891 %{_includedir}/boost/detail/is_function_ref_tester.hpp
892 %{_includedir}/boost/detail/is_incrementable.hpp
893 %{_includedir}/boost/detail/iterator.hpp
894 %{_includedir}/boost/detail/lightweight_*.hpp
895 %{_includedir}/boost/detail/limits.hpp
896 %{_includedir}/boost/detail/lwm_*.hpp
897 %{_includedir}/boost/detail/named_template_params.hpp
898 %{_includedir}/boost/detail/no_exceptions_support.hpp
899 %{_includedir}/boost/detail/numeric_traits.hpp
900 %{_includedir}/boost/detail/quick_allocator.hpp
901 %{_includedir}/boost/detail/reference_content.hpp
902 %{_includedir}/boost/detail/select_type.hpp
903 %{_includedir}/boost/detail/shared_*.hpp
904 %{_includedir}/boost/detail/workaround.hpp
905 %{_includedir}/boost/dynamic_bitset
906 %{_includedir}/boost/dynamic_bitset.hpp
907 %{_includedir}/boost/dynamic_bitset_fwd.hpp
908 %{_includedir}/boost/enable_shared_from_this.hpp
909 %{_includedir}/boost/format
910 %{_includedir}/boost/format.hpp
911 %{_includedir}/boost/function
912 %{_includedir}/boost/function.hpp
913 %{_includedir}/boost/function_equal.hpp
914 %{_includedir}/boost/function_output_iterator.hpp
915 %{_includedir}/boost/functional.hpp
916 %{_includedir}/boost/generator_iterator.hpp
917 %{_includedir}/boost/graph
918 #%{_includedir}/boost/half_open_range.hpp
919 %{_includedir}/boost/indirect_reference.hpp
920 %{_includedir}/boost/integer
921 %{_includedir}/boost/integer*.hpp
922 %{_includedir}/boost/intrusive_ptr.hpp
923 %{_includedir}/boost/io
924 %{_includedir}/boost/io_fwd.hpp
925 %{_includedir}/boost/iterator*.hpp
926 %{_includedir}/boost/iterator
927 %{_includedir}/boost/lambda
928 %{_includedir}/boost/limits.hpp
929 %{_includedir}/boost/logic
930 %{_includedir}/boost/math
931 %{_includedir}/boost/math_fwd.hpp
932 %{_includedir}/boost/multi_array
933 %{_includedir}/boost/multi_array.hpp
934 %{_includedir}/boost/multi_index
935 %{_includedir}/boost/multi_index_container.hpp
936 %{_includedir}/boost/multi_index_container_fwd.hpp
937 %{_includedir}/boost/nondet_random.hpp
938 %{_includedir}/boost/none.hpp
939 %{_includedir}/boost/non_type.hpp
940 %dir %{_includedir}/boost/numeric
941 %{_includedir}/boost/numeric/interval*
942 %{_includedir}/boost/numeric/conversion
943 %{_includedir}/boost/operators.hpp
944 %{_includedir}/boost/optional
945 %{_includedir}/boost/optional.hpp
946 %{_includedir}/boost/pending
947 %{_includedir}/boost/pfto.hpp
948 %{_includedir}/boost/pool
949 %{_includedir}/boost/pointee.hpp
950 %{_includedir}/boost/progress.hpp
951 %{_includedir}/boost/property_map*.hpp
952 %{_includedir}/boost/random
953 %{_includedir}/boost/random.hpp
954 %{_includedir}/boost/range
955 %{_includedir}/boost/range.hpp
956 %{_includedir}/boost/rational.hpp
957 %{_includedir}/boost/scoped_*.hpp
958 %{_includedir}/boost/serialization
959 %{_includedir}/boost/shared_*.hpp
960 %{_includedir}/boost/smart_cast.hpp
961 %{_includedir}/boost/smart_ptr.hpp
962 %{_includedir}/boost/state_saver.hpp
963 %{_includedir}/boost/static_warning.hpp
964 %{_includedir}/boost/strong_typedef.hpp
965 %{_includedir}/boost/throw_exception.hpp
966 %{_includedir}/boost/timer.hpp
967 %{_includedir}/boost/token*.hpp
968 %{_includedir}/boost/tuple
969 %{_includedir}/boost/type.hpp
970 %{_includedir}/boost/utf8_codecvt_facet.hpp
971 %{_includedir}/boost/version.hpp
972 %{_includedir}/boost/vector_property_map.hpp
973 %{_includedir}/boost/weak_ptr.hpp
975 %{_includedir}/boost/variant.hpp
976 %{_includedir}/boost/variant
977 %{_includedir}/boost/blank.hpp
978 %{_includedir}/boost/detail/templated_streams.hpp
980 %{_includedir}/boost/aligned_storage.hpp
981 #%{_includedir}/boost/detail/in_place_factory*.hpp
982 #%{_includedir}/boost/detail/none.hpp
983 %{_includedir}/boost/detail/none_t.hpp
984 #%{_includedir}/boost/detail/typed_in_place_factory.hpp
986 %{_libdir}/libboost_serialization*.a
987 %{_libdir}/libboost_wserialization*.a
991 %defattr(644,root,root,755)
992 %attr(755,root,root) %{_libdir}/libboost_python*.so.*.*.*
995 %defattr(644,root,root,755)
996 %attr(755,root,root) %{_libdir}/libboost_python*.so
997 %{_includedir}/boost/python
998 %{_includedir}/boost/python.hpp
1000 %files python-static
1001 %defattr(644,root,root,755)
1002 %{_libdir}/libboost_python*.a
1006 %defattr(644,root,root,755)
1007 %attr(755,root,root) %{_libdir}/libboost_regex*.so.*.*.*
1010 %defattr(644,root,root,755)
1011 %attr(755,root,root) %{_libdir}/libboost_regex*.so
1012 %{_includedir}/boost/cregex.hpp
1013 %{_includedir}/boost/regex.h
1014 %{_includedir}/boost/regex*.hpp
1015 %{_includedir}/boost/regex
1018 %defattr(644,root,root,755)
1019 %{_libdir}/libboost_regex*.a
1022 %defattr(644,root,root,755)
1023 %{_includedir}/boost/any.hpp
1026 %defattr(644,root,root,755)
1027 %{_includedir}/boost/array.hpp
1030 %defattr(644,root,root,755)
1031 %{_includedir}/boost/bind
1032 %{_includedir}/boost/bind.hpp
1034 %files call_traits-devel
1035 %defattr(644,root,root,755)
1036 %{_includedir}/boost/call_traits.hpp
1037 %{_includedir}/boost/detail/call_traits.hpp
1038 %{_includedir}/boost/detail/ob_call_traits.hpp
1040 %files compatibility-devel
1041 %defattr(644,root,root,755)
1042 %{_includedir}/boost/compatibility
1044 %files compose-devel
1045 %defattr(644,root,root,755)
1046 #%{_includedir}/boost/compose.hpp
1048 %files compressed_pair-devel
1049 %defattr(644,root,root,755)
1050 %{_includedir}/boost/compressed_pair.hpp
1051 %{_includedir}/boost/detail/compressed_pair.hpp
1052 %{_includedir}/boost/detail/ob_compressed_pair.hpp
1054 %files concept_check-devel
1055 %defattr(644,root,root,755)
1056 %{_includedir}/boost/concept_archetype.hpp
1057 %{_includedir}/boost/concept_check.hpp
1059 %files conversion-devel
1060 %defattr(644,root,root,755)
1061 %{_includedir}/boost/cast.hpp
1062 %{_includedir}/boost/implicit_cast.hpp
1063 %{_includedir}/boost/lexical_cast.hpp
1066 %defattr(644,root,root,755)
1067 %{_includedir}/boost/crc.hpp
1070 %defattr(644,root,root,755)
1071 %attr(755,root,root) %{_libdir}/libboost_date_time*.so.*.*.*
1073 %files date_time-devel
1074 %defattr(644,root,root,755)
1075 %attr(755,root,root) %{_libdir}/libboost_date_time*.so
1076 %{_includedir}/boost/date_time
1078 %files date_time-static
1079 %defattr(644,root,root,755)
1080 %{_libdir}/libboost_date_time*.a
1083 %defattr(644,root,root,755)
1084 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so.*.*.*
1086 %files filesystem-devel
1087 %defattr(644,root,root,755)
1088 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so
1089 %{_includedir}/boost/filesystem
1091 %files filesystem-static
1092 %defattr(644,root,root,755)
1093 %{_libdir}/libboost_filesystem*.a
1096 %defattr(644,root,root,755)
1097 %{_includedir}/boost/get_pointer.hpp
1098 %{_includedir}/boost/mem_fn.hpp
1101 %defattr(644,root,root,755)
1102 %{_includedir}/boost/mpl
1104 %files preprocessor-devel
1105 %defattr(644,root,root,755)
1106 %{_includedir}/boost/preprocessor
1107 %{_includedir}/boost/preprocessor.hpp
1109 %files program_options
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{_libdir}/libboost_program_options*.so.*.*.*
1113 %files program_options-devel
1114 %defattr(644,root,root,755)
1115 %{_includedir}/boost/program_options
1116 %{_includedir}/boost/program_options.hpp
1118 %files program_options-static
1119 %defattr(644,root,root,755)
1120 %{_libdir}/libboost_program_options*.a
1123 %defattr(644,root,root,755)
1124 %{_includedir}/boost/ref.hpp
1127 %defattr(644,root,root,755)
1128 %attr(755,root,root) %{_libdir}/libboost_signals*.so.*.*.*
1130 %files signals-devel
1131 %defattr(644,root,root,755)
1132 %attr(755,root,root) %{_libdir}/libboost_signals*.so
1133 %{_includedir}/boost/signal*.hpp
1134 %{_includedir}/boost/signals
1135 %{_includedir}/boost/last_value.hpp
1136 %{_includedir}/boost/visit_each.hpp
1138 %files signals-static
1139 %defattr(644,root,root,755)
1140 %{_libdir}/libboost_signals*.a
1143 %defattr(644,root,root,755)
1144 %{_includedir}/boost/spirit.hpp
1145 %{_includedir}/boost/spirit
1147 %files static_assert-devel
1148 %defattr(644,root,root,755)
1149 %{_includedir}/boost/static_assert.hpp
1152 %defattr(644,root,root,755)
1153 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so.*.*.*
1154 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so.*.*.*
1155 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so.*.*.*
1158 %defattr(644,root,root,755)
1159 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so
1160 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so
1161 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so
1162 %{_includedir}/boost/test
1165 %defattr(644,root,root,755)
1166 %{_libdir}/libboost_prg_exec_monitor*.a
1167 %{_libdir}/libboost_test_exec_monitor*.a
1168 %{_libdir}/libboost_unit_test_framework*.a
1171 %defattr(644,root,root,755)
1172 %attr(755,root,root) %{_libdir}/libboost_thread*.so.*.*.*
1175 %defattr(644,root,root,755)
1176 %attr(755,root,root) %{_libdir}/libboost_thread*.so
1177 %{_includedir}/boost/thread
1178 %{_includedir}/boost/thread.hpp
1180 %files type_traits-devel
1181 %defattr(644,root,root,755)
1182 %{_includedir}/boost/type_traits.hpp
1183 %{_includedir}/boost/type_traits
1186 %defattr(644,root,root,755)
1187 %{_includedir}/boost/numeric/ublas
1189 %files utility-devel
1190 %defattr(644,root,root,755)
1191 %{_includedir}/boost/checked_delete.hpp
1192 %{_includedir}/boost/next_prior.hpp
1193 %{_includedir}/boost/noncopyable.hpp
1194 %{_includedir}/boost/utility*.hpp
1195 %{_includedir}/boost/utility
1198 %defattr(644,root,root,755)
1199 %{_docdir}/%{name}-%{version}