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 Requires: libstdc++-devel
51 Headers and static libraries for the Boost C++ libraries.
53 %description devel -l pl
54 Pliki nag³ówkowe i biblioteki statyczne bibliotek Boost C++.
57 Summary: Boost.Python library
58 Summary(pl): biblioteka Boost.Python
63 Use the Boost Python Library to quickly and easily export a C++
64 library to Python such that the Python interface is very similar to
65 the C++ interface. It is designed to be minimally intrusive on your
66 C++ design. In most cases, you should not have to alter your C++
67 classes in any way in order to use them with Boost.Python. The system
68 should simply ``reflect'' your C++ classes and functions into Python.
70 %description python -l pl
71 Biblioteka Boost Python s³u¿y do szybkiego i prostego eksportu
72 biblioteki C++ do Pythona, tak ¿e interfejs Pythona jest bardzo
73 podobny do interfejsu C++. Biblioteka jest zaprojektowana tak, ¿eby
74 narzucaæ jak najmniej wymagañ dotycz±cych konstrukcjii C++. W
75 wiêkszo¶ci przypadków nie trzeba w ogóle zmieniaæ w³asnych klas C++,
76 ¿eby u¿ywaæ ich z Boost.Python. System powinien po prostu ,,odbiæ''
77 klasy C++ i funkcje do Pythona.
80 Summary: Boost.Python development headers
81 Summary(pl): Pliki nag³ówkowe dla Boost.Python
82 Group: Development/Libraries
83 Requires: %{name}-devel = %{version}-%{release}
84 Requires: %{name}-python = %{version}-%{release}
85 Requires: %{name}-compressed_pair-devel = %{version}-%{release}
87 %description python-devel
88 Headers for the Boost.Python library.
90 %description python-devel -l pl
91 Pliki nag³ówkowe dla biblioteki Boost.Python.
93 %package python-static
94 Summary: Static version of Boost.Python library
95 Summary(pl): Statyczna wersja biblioteki Boost.Python
96 Group: Development/Libraries
97 Requires: %{name}-python-devel = %{version}-%{release}
99 %description python-static
100 Static version of Boost.Python library.
102 %description python-static -l pl
103 Statyczna wersja biblioteki Boost.Python.
106 Summary: Boost C++ regular expressions library
107 Summary(pl): Biblioteka wyra¿eñ regularnych Boost C++
111 Shared library for Boost C++ regular expressions.
113 %description regex -l pl
114 Biblioteka wyra¿eñ regularnych dla C++, biblioteki dzielone.
117 Summary: Boost C++ Regex library headers
118 Summary(pl): Pliki nag³ówkowe Boost C++ Regex
119 Group: Development/Libraries
120 Requires: %{name}-devel = %{version}-%{release}
121 Requires: %{name}-regex = %{version}-%{release}
123 %description regex-devel
124 Boost C++ Regex headers.
126 %description regex-devel -l pl
127 Pliki nag³ówkowe dla Boost C++ Regex.
129 %package regex-static
130 Summary: Boost C++ Regex static libraries
131 Summary(pl): Biblioteki statyczne Boost C++ Regex
132 Group: Development/Libraries
133 Requires: %{name}-regex-devel = %{version}-%{release}
135 %description regex-static
136 Boost C++ Regex static libraries.
138 %description regex-static -l pl
139 Biblioteki statyczne dla Boost C++ Regex.
142 Summary: Header for Boost C++ "Any" Library
143 Summary(pl): Plik nag³ówkowy dla biblioteki Boost C++ "Any"
144 Group: Development/Libraries
145 Requires: %{name}-devel = %{version}-%{release}
147 %description any-devel
148 The boost::any class, is a variant value type, which supports copying
149 of any value type and safe checked extraction of that value strictly
152 I.e. 5 is held strictly as an int and is not implicitly convertible
153 either to "5" or to 5.0.
155 %description any-devel -l pl
156 Klasa boost::any jest typem, który umo¿liwia kopiowanie ze zmiennej
157 dowolnego typu i bezpieczne, sprawdzone wydobycie jej warto¶ci
158 dok³adnie tego samego typu.
160 Np. 5 jest trzymane jako int i nie jest niejawnie konwertowalne ani do
164 Summary: STL compliant container wrapper for arrays of constant size
165 Summary(pl): Wrapper na STLowe kontenery dla tablic o sta³ym rozmiarze
166 Group: Development/Libraries
167 Requires: %{name}-devel = %{version}-%{release}
169 %description array-devel
170 As replacement for ordinary arrays, the STL provides class vector<>.
171 However, vector<> provides the semantics of dynamic arrays. Thus, it
172 manages data to be able to change the number of elements. This results
173 in some overhead in case only arrays with static size are needed. This
174 library provides support for such static size arrays.
176 %description array-devel -l pl
177 STL dostarcza klasê vector<> jako zamiennik zwyk³ej tablicy. Jednak
178 vector<> dostarcza semantykê dynamicznych tablic. Zatem zarz±dza
179 danymi tak, by by³a mo¿liwa zmiana ilo¶ci elementów. To skutkuje
180 pewnym nadmiarem w przypadku kiedy tylko tablice o sta³ym rozmiarze s±
181 potrzebne. Ta biblioteka dostarcza wsparcie dla takich w³a¶nie tablic
185 Summary: Generalized binders for function/object/pointers
186 Summary(pl): Uogólnione bindery dla funkcji/obiektów/wska¼ników
187 Group: Development/Libraries
188 Requires: %{name}-mem_fn-devel = %{version}-%{release}
189 Requires: %{name}-ref-devel = %{version}-%{release}
191 %description bind-devel
192 boost::bind is a generalization of the standard functions std::bind1st
195 %description bind-devel -l pl
196 boost::bind jest uogólnieniem standardowych funkcji std::bind1st i
199 %package call_traits-devel
200 Summary: Defines types for passing parameters
201 Summary(pl): Definiowanie typów dla przekazywania parametrów
202 Group: Development/Libraries
203 Requires: %{name}-devel = %{version}-%{release}
204 Requires: %{name}-type_traits-devel = %{version}-%{release}
206 %description call_traits-devel
207 boost::call_traits<T> encapsulates the "best" method to pass a
208 parameter of some type T to or from a function. The purpose of
209 call_traits is to ensure that problems like "references to references"
210 never occur, and that parameters are passed in the most efficient
213 %description call_traits-devel -l pl
214 boost::call_traits<T> zawiera "najlepsz±" metodê przekazywania
215 parametrów jakiego¶ typu T do lub z funkcji. Celem call_traits jest
216 zapewnienie ¿e problemy takie jak "referencja referencji" nigdy nie
217 wyst±pi± i ¿e parametry s± przekazywane w mo¿liwie najbardziej
220 %package compatibility-devel
221 Summary: Help for non-conforming standard libraries
222 Summary(pl): Pomoc dla nie trzymaj±cych standardu bibliotek
223 Group: Development/Libraries
224 Requires: %{name}-devel = %{version}-%{release}
226 %description compatibility-devel
227 This library provides workarounds which allow the other Boost
228 libraries to be used on otherwise non-conforming platforms.
230 %description compatibility-devel -l pl
231 Biblioteka dostarcza obej¶cie problemu platform nie trzymaj±cych
232 standardu C++, pozwalaj±ce na u¿ywanie bibliotek Boost na tych
235 %package compose-devel
236 Summary: Functional composition adapters for the STL
237 Summary(pl): Funkcjonalne adaptery kompozycji dla STL
238 Group: Development/Libraries
239 Requires: %{name}-devel = %{version}-%{release}
241 %description compose-devel
242 The boost::compose provides compose function object adapter extensions
243 for use with the Standard Template Library (STL) portion of the C++
244 Standard Library. If you aren't currently using the STL, this library
245 won't be of any interest, but hard-core STL users will appreciate its
248 %description compose-devel -l pl
249 boost::compose dostarcza rozszerzenie adaptera obiektu funkcji compose
250 do u¿ytku z STL-ow± czê¶ci± Standardu C++. Je¿eli nie u¿ywasz STL,
251 biblioteka bêdzie poza twoim zainteresowaniem, lecz hardkorowi
252 u¿ytkownicy STL-a doceni± jej u¿yteczno¶æ.
254 %package compressed_pair-devel
255 Summary: Empty member optimization
256 Summary(pl): Optymalizacja pustego elementu
257 Group: Development/Libraries
258 Requires: %{name}-call_traits-devel = %{version}-%{release}
259 Requires: %{name}-devel = %{version}-%{release}
261 %description compressed_pair-devel
262 The class boost::compressed_pair is very similar to std::pair, but if
263 either of the template arguments are empty classes, then the "empty
264 base-class optimisation" is applied to compress the size of the pair.
266 %description compressed_pair-devel -l pl
267 Klasa boost::compressed_pair jest bardzo podobna do std::pair, ale
268 je¿eli który¶ z argumentów wzorca jest pust± klas±, wtedy stosowana
269 jest "optymalizacja pustej klasy bazowej" do kompresji pary.
271 %package concept_check-devel
272 Summary: Tools for generic programming
273 Summary(pl): Narzêdzia dla programowania generycznego
274 Group: Development/Libraries
275 Requires: %{name}-static_assert-devel = %{version}-%{release}
276 Requires: %{name}-type_traits-devel = %{version}-%{release}
278 %description concept_check-devel
279 The boost::concept_check library provides various tools for generic
282 %description concept_check-devel -l pl
283 Biblioteka boost::concept_check dostarcza ró¿ne narzêdzia dla
284 programowania generycznego.
286 %package conversion-devel
287 Summary: Numeric, polymorphic, and lexical casts
288 Summary(pl): Numeryczne, polimorficzne i leksykalne rzutowania
289 Group: Development/Libraries
290 Requires: %{name}-type_traits-devel = %{version}-%{release}
292 %description conversion-devel
293 The boost::conversion library improves program safety and clarity by
294 performing otherwise messy conversions. It includes cast-style
295 function templates designed to complement the C++ Standard's built-in
298 %description conversion-devel -l pl
299 Biblioteka boost::conversion zwiêksza bezpieczeñstwo i klarowno¶æ
300 programu dokonuj±c konwersji które s± w innych przypadkach niechlujne.
301 Biblioteka zawiera "rzutopodobne" wzorce funkcji uzupe³niaj±ce
302 wbudowane w Standard C++ rzutowania.
305 Summary: CRC computing library
306 Summary(pl): Biblioteka obliczaj±ca CRC
307 Group: Development/Libraries
308 Requires: %{name}-devel = %{version}-%{release}
310 %description crc-devel
311 The boost::crc library provides two implementations of CRC computation
312 objects and functions. The implementations are template-based.
314 %description crc-devel -l pl
315 Bibliteka boost::crc dostarcza dwie implementacje obiektów i funkcji
316 obliczaj±cych CRC. Implementacje s± oparte na wzorcach.
319 Summary: Date-Time library
320 Summary(pl): Biblioteka daty-czasu
324 %description date_time
325 A set of date-time libraries.
327 %description date_time -l pl
328 Zbiór bibliotek daty-czasu.
330 %package date_time-devel
331 Summary: Header files for boost::date_time library
332 Summary(pl): Pliki nag³ówkowe dla biblioteki boost::date_time
333 Group: Development/Libraries
334 Requires: %{name}-date_time = %{version}-%{release}
335 #TODO: make decision if do separate packages include it to main devel package
336 #Requires: %{name}-operators-devel = %{version}-%{release}
337 #Requires: %{name}-integer-devel = %{version}-%{release}
338 #Requires: %{name}-tokenizer-devel = %{version}-%{release}
339 Requires: %{name}-conversion-devel = %{version}-%{release}
341 %description date_time-devel
342 Header files for boost::date_time library.
344 %description date_time-devel -l pl
345 Pliki nag³ówkowe dla biblioteki boost::date_time
347 %package date_time-static
348 Summary: Static boost::date_time library
349 Summary(pl): Statyczna biblioteka boost::date_time
350 Group: Development/Libraries
351 Requires: %{name}-date_time-devel = %{version}-%{release}
353 %description date_time-static
354 Static boost::date_time library.
356 %description date_time-devel -l pl
357 Statyczna biblioteka boost::date_time.
360 Summary: Portable paths, iteration over directories, and other useful filesystem operations
361 Summary(pl): Przeno¶ne ¶cie¿ki, iteracje katalogów i inne u¿yteczne operacje na systemie plików
365 %description filesystem
366 The boost::filesystem library provides portable facilities to query
367 and manipulate paths, files, and directories.
369 %description filesystem -l pl
370 Przeno¶na biblioteka boost::filesystem dostarcza u³atwienia w
371 operacjach na ¶cie¿kach, plikach i katalogach.
373 %package filesystem-devel
374 Summary: Header files for boost::filesystem
375 Summary(pl): Pliki nag³ówkowe dla boost::filesystem
376 Group: Development/Libraries
377 Requires: %{name}-devel = %{version}-%{release}
378 Requires: %{name}-filesystem = %{version}-%{release}
380 #Requires: %{name}-smart_ptr = %{version}-%{release}
382 %description filesystem-devel
383 Header files for boost::filesystem library.
385 %description filesystem-devel -l pl
386 Pliki nag³ówkowe dla biblioteki boost::filesystem.
388 %package filesystem-static
389 Summary: Static boost::filesystem library
390 Summary(pl): Biblioteka statyczna boost::filesystem
391 Group: Development/Libraries
392 Requires: %{name}-filesystem-devel = %{version}-%{release}
393 Obsoletes: boost-static
395 %description filesystem-static
396 Static boost::filesystem library.
398 %description filesystem-static -l pl
399 Biblioteka statyczna boost::filesystem.
401 %package mem_fn-devel
402 Summary: Generalized binders for member functions
403 Summary(pl): Uogólnione bindery dla metod
404 Group: Development/Libraries
405 Requires: %{name}-bind-devel = %{version}-%{release}
407 %description mem_fn-devel
408 boost::mem_fn is a generalization of the standard functions
409 std::mem_fun and std::mem_fun_ref.
411 %description mem_fn-devel -l pl
412 boost::mem_fn jest uogólnieniem standardowych funkcji std::mem_fun i
416 Summary: Compile-time algorithms, sequences and metafunction classes
417 Summary(pl): Algorytmy czasu kompilacji, sekwencji i klas metafunkcji
418 Group: Development/Libraries
419 Requires: %{name}-devel = %{version}-%{release}
420 Requires: %{name}-preprocessor-devel = %{version}-%{release}
421 Requires: %{name}-type_traits-devel = %{version}-%{release}
422 Requires: %{name}-utility-devel = %{version}-%{release}
424 %description mpl-devel
425 The boost-mpl library is a C++ template metaprogramming framework of
426 compile-time algorithms, sequences and metafunction classes.
428 %description mpl-devel -l pl
429 Biblioteka boost-mpl jest szkieletem wzorców C++ dla algorytmów czasu
430 kompilacji, sekwencji i klas metafunkcji.
432 %package program_options
433 Summary: Access to program options, via conventional methods such as command line and config file
434 Summary(pl): Dostêp do opcji programu za pomoc± typowych metod, jak linia poleceñ i plik konfiguracyjny
437 %description program_options
438 The program_options library allows program developers to obtain
439 program options, that is (name, value) pairs from the user, via
440 conventional methods such as command line and config file.
442 %description program_options -l pl
443 Biblioteka program_options umo¿liwia uzyskanie od u¿ytkownika opcji
444 programu, czyli par (nazwa, warto¶æ), za pomoc± typowych metod,
445 takich jak linia poleceñ, czy plik konfiguracyjny.
447 %package program_options-devel
448 Summary: Header files for boost::program_options
449 Summary(pl): Pliki nag³ówkowe dla boost::program_options
450 Group: Development/Libraries
451 Requires: %{name}-devel = %{version}-%{release}
452 Requires: %{name}-program_options = %{version}-%{release}
454 %description program_options-devel
455 Header files for boost::program_options library.
457 %description program_options-devel -l pl
458 Pliki nag³ówkowe dla biblioteki boost::program_options.
460 %package program_options-static
461 Summary: Static boost::program_options library
462 Summary(pl): Biblioteka statyczna boost::program_options
463 Group: Development/Libraries
464 Requires: %{name}-program_options-devel = %{version}-%{release}
465 Obsoletes: boost-static
467 %description program_options-static
468 Static boost::program_options library.
470 %description program_options-static -l pl
471 Biblioteka statyczna boost::program_options.
473 %package preprocessor-devel
474 Summary: Preprocessor metaprogramming tools including repetition and recursion
475 Summary(pl): Narzêdzia metaprogramowania preprocesora razem z repetycj± i rekursj±
476 Group: Development/Libraries
477 Requires: %{name}-devel = %{version}-%{release}
479 %description preprocessor-devel
480 This library provides preprocessor metaprogramming tools, including
481 repetition and recursion.
483 %description preprocessor-devel -l pl
484 Biblioteka udostêpnia narzêdzia metaprogramowania preprocesora,
485 w³±czaj±c w to repetycje i rekursjê.
488 Summary: Small library useful for passing references to function templates
489 Summary(pl): Ma³a biblioteka u¿yteczna przy przekazywaniu referencji do wzorców funkcji
490 Group: Development/Libraries
491 Requires: %{name}-devel = %{version}-%{release}
492 Requires: %{name}-mpl-devel = %{version}-%{release}
493 Requires: %{name}-utility-devel = %{version}-%{release}
495 %description ref-devel
496 boost::ref library is a small library that is useful for passing
497 references to function templates (algorithms) that would usually take
498 copies of their arguments.
500 %description ref-devel -l pl
501 Biblioteka boost::ref jest ma³± bibliotek± która jest u¿yteczna w
502 przypadku przekazywania referencji do wzorców funkcji (algorytmów)
503 które zazwyczaj bior± kopiê swoich argumentów.
506 Summary: Signals & slots callback implementation
507 Summary(pl): Implementacja sygna³ów i slotów
512 The boost::signals library is an implementation of a signals and slots
515 %description signals -l pl
516 Biblioteka boost::signals jest implementacj± systemu sygna³ów i
519 %package signals-devel
520 Summary: Header files for boost::signals library
521 Summary(pl): Pliki nag³ówkowe dla biblioteki boost::signals
522 Group: Development/Libraries
523 Requires: %{name}-signals = %{version}-%{release}
524 Requires: %{name}-any-devel = %{version}-%{release}
525 #TODO: separate smart_ptr or include to the main devel package
526 #Requires: %{name}-iterator_adaptors-devel = %{version}-%{release}
527 #Requires: %{name}-operators-devel = %{version}-%{release}
528 #Requires: %{name}-smart_ptr-devel = %{version}-%{release}
529 Requires: %{name}-mem_fn-devel = %{version}-%{release}
530 Requires: %{name}-ref-devel = %{version}-%{release}
531 Requires: %{name}-type_traits-devel = %{version}-%{release}
532 Requires: %{name}-utility-devel = %{version}-%{release}
534 %description signals-devel
535 Header files for boost::signals library.
537 %description signals-devel -l pl
538 Pliki nag³ówkowe dla biblioteki boost::signals.
540 %package signals-static
541 Summary: Static library for boost::signals
542 Summary(pl): Biblioteka statyczna dla boost::signals
543 Group: Development/Libraries
544 Requires: %{name}-signals-devel = %{version}-%{release}
546 %description signals-static
547 Static library for boost::signals.
549 %description signals-static -l pl
550 Biblioteka statyczna dla boost::signals.
552 %package spirit-devel
553 Summary: LL parser framework
554 Summary(pl): Szkielet parsera LL
555 Group: Development/Libraries
556 Requires: %{name}-compressed_pair-devel = %{version}-%{release}
557 Requires: %{name}-ref-devel = %{version}-%{release}
558 Requires: %{name}-regex-devel = %{version}-%{release}
559 Requires: %{name}-static_assert-devel = %{version}-%{release}
560 Requires: %{name}-thread-devel = %{version}-%{release}
562 #?Requires: %{name}-smart_ptr-devel = %{version}-%{release}
563 #?Requires: %{name}-iterators-devel = %{version}-%{release}
565 %description spirit-devel
566 LL parser framework represents parsers directly as EBNF grammars in
569 %description spirit-devel -l pl
570 Szkielet parsera LL reprezentuj±cy parsery jako gramatyki EBNF
571 bezpo¶rednio w kodzie C++.
573 %package static_assert-devel
574 Summary: Static assertions (compile time assertions)
575 Summary(pl): Statyczne asercje (asercje kompilacyjne)
576 Group: Development/Libraries
577 Requires: %{name}-devel = %{version}-%{release}
579 %description static_assert-devel
580 The header <boost/static_assert.hpp> supplies a single macro
581 BOOST_STATIC_ASSERT(x), which generates a compile time error message
582 if the integral-constant-expression x is not true. In other words it
583 is the compile time equivalent of the assert macro; this is sometimes
584 known as a "compile-time-assertion"
586 One of the aims of BOOST_STATIC_ASSERT is to generate readable error
587 messages. These immediately tell the user that a library is being used
588 in a manner that is not supported.
590 %description static_assert-devel -l pl
591 Plik nag³ówkowy <boost/static_assert.hpp> dostarcza pojedyncze makro
592 BOOST_STATIC_ASSERT(x), które generuje komunikat b³êdu kompilacji
593 je¿eli sta³e wyra¿enie x nie jest prawdziwe. Innymi s³owy jest to
594 kompilacyjny ekwiwalent makra 'assert'; czasami znane jest jako
595 "asercja czasu kompilacji"
597 Jednym z celów BOOST_STATIC_ASSERT jest generowanie czytelnych
598 komunikatów o b³êdach. One b³yskawicznie powiedz± u¿ytkownikowi ¿e
599 biblioteka zosta³a u¿yta w sposób który nie jest zalecany.
602 Summary: Support for program testing and execution monitoring
603 Summary(pl): Wsparcie dla testowania i monitorowania programu
608 Support for simple program testing, full unit testing, and for program
609 execution monitoring.
611 %description test -l pl
612 Wsparcie dla prostego testowania programu, pe³nego testowania i
613 monitorowania wykonania programu.
616 Summary: Header files for boost::test
617 Summary(pl): Pliki nag³ówkowe dla boost::test
618 Group: Development/Libraries
619 Requires: %{name}-devel = %{version}-%{release}
620 Requires: %{name}-mpl-devel = %{version}-%{release}
621 Requires: %{name}-preprocessor-devel = %{version}-%{release}
622 Requires: %{name}-test = %{version}-%{release}
624 #Requires: %{name}-smart_ptr = %{version}-%{release}
625 #?Requires?: %{name}-function-devel = %{version}-%{release}
627 %description test-devel
628 Header files for boost::test.
630 %description test-devel -l pl
631 Pliki nag³ówkowe dla boost::test
634 Summary: Static boost::test libraries
635 Summary(pl): Biblioteki statyczne boost::test
636 Group: Development/Libraries
637 Requires: %{name}-test-devel = %{version}-%{release}
638 Obsoletes: boost-static
640 %description test-static
641 Static boost::test libraries.
643 %description test-static -l pl
644 Biblioteki statyczne boost::test.
647 Summary: Portable C++ threads library
648 Summary(pl): Przeno¶na biblioteka w±tków C++
653 Portable C++ threads library - shared library.
655 %description thread -l pl
656 Przeno¶na biblioteka w±tków dla C++ - biblioteka dzielona.
658 %package thread-devel
659 Summary: Header files for boost::thread library
660 Summary(pl): Pliki nag³ówkowe dla biblioteki boost::thread
661 Group: Development/Libraries
662 Requires: %{name}-thread = %{version}-%{release}
663 Requires: %{name}-utility-devel = %{version}-%{release}
664 #TODO:requires boost::function or boost::function to boost-devel
666 %description thread-devel
667 Header files for boost::thread library.
669 %description thread-devel -l pl
670 Pliki nag³ówkowe dla biblioteki boost::thread.
672 %package type_traits-devel
673 Summary: Templates for fundamental properties of types
674 Summary(pl): Wzorce dla fundamentalnych w³a¶ciwo¶ci typów
675 Group: Development/Libraries
676 Requires: %{name}-devel = %{version}-%{release}
677 Requires: %{name}-mpl-devel = %{version}-%{release}
678 Requires: %{name}-preprocessor-devel = %{version}-%{release}
679 Requires: %{name}-static_assert-devel = %{version}-%{release}
680 Requires: %{name}-utility-devel = %{version}-%{release}
682 %description type_traits-devel
683 The boost-type_traits library defines three kinds of type trait:
684 1. The properties of a specific type.
685 2. The relationship between two types.
686 3. A transformation from one type to another.
688 %description type_traits-devel -l pl
689 Biblioteka boost-type_traits definiuje trzy rodzaje cech typów:
690 1. w³a¶ciwo¶ci konkretnego typu.
691 2. powi±zania miêdzy dwoma typami.
692 3. transformacjê z jednego typu do drugiego.
695 Summary: Basic linear algebra for dense, packed and sparse matrices
696 Summary(pl): Prosta liniowa algebra dla gêstych, upakowanych i rzadkich macierzy
697 Group: Development/Libraries
698 Requires: %{name}-concept_check-devel = %{version}-%{release}
699 Requires: %{name}-mpl-devel = %{version}-%{release}
700 Requires: %{name}-utility-devel = %{version}-%{release}
702 %description uBLAS-devel
703 uBLAS library provides templated C++ classes for dense, unit and
704 sparse vectors, dense, identity, triangular, banded, symmetric,
705 hermitian and sparse matrices.
707 %description uBLAS-devel -l pl
708 Biblioteka uBLAS dostarcza wzorce klas C++ dla gêstych, jednostkowych
709 i rzadkich wektorów oraz gêstych, jednostkowych, trójk±tnych,
710 diagonalnych, symetrycznych, hermitowskich i rzadkich macierzy.
712 %package utility-devel
713 Summary: Useful utilities: classes and function templates
714 Summary(pl): U¿yteczne narzêdzia: klasy i wzorce funkcji
715 Group: Development/Libraries
716 Requires: %{name}-type_traits-devel = %{version}-%{release}
718 %description utility-devel
719 Class noncopyable plus checked_delete(), checked_array_delete(),
720 next(), prior() function templates, plus base-from-member idiom.
722 %description utility-devel -l pl
723 Klasy noncopyable i checked_delete, funkcje checked_array_delete(),
724 next(), prior() oraz idiom base-from-member.
727 Summary: Boost C++ Library documentation
728 Summary(pl): Dokumentacja dla biblioteki Boost C++
730 Requires: %{name}-devel = %{version}-%{release}
733 Documentation for the Boost C++ Library.
735 %description doc -l pl
736 Dokumentacja dla biblioteki Boost C++.
739 %setup -q -n %{name}_%{_fver}
742 # don't know how to pass it through (b)jam -s (no way?)
743 # due to oversophisticated build flags system
744 %{__perl} -pi -e 's/ -O3 / %{rpmcflags} /' tools/build/v1/gcc-tools.jam
747 # -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only)
748 # don't know, is it gcc bug or intentional omission?
749 # anyway, boost check of -D_REENTRANT in its headers, so it's needed here
750 %{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam
755 PYTHON_VERSION=`python -V 2>&1 | sed 's,.* \([0-9]\.[0-9]\)\(\.[0-9]\)\?.*,\1,'`
756 PYTHON_ROOT=%{_prefix}
763 -sBUILD="release <threading>multi" \
764 -sPYTHON_ROOT=$PYTHON_ROOT \
765 -sPYTHON_VERSION=$PYTHON_VERSION
768 rm -rf $RPM_BUILD_ROOT
769 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
771 cp -rf boost $RPM_BUILD_ROOT%{_includedir}
773 install bin/boost/libs/*/build/*.a/*/release/*/lib*.a $RPM_BUILD_ROOT%{_libdir}
774 install bin/boost/libs/*/build/*.so/*/release/*/*/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
775 # use cp -d, install follows symlinks instead of preserving them!
776 cp -df bin/boost/libs/*/build/*.so/*/release/*/*/lib*.so $RPM_BUILD_ROOT%{_libdir}
778 # create symlinks without -gcc-mt-* things in names
779 for f in $RPM_BUILD_ROOT%{_libdir}/*.so.*; do
780 [ -f "$f" ] || continue
782 soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.so#g')
784 ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
786 for f in $RPM_BUILD_ROOT%{_libdir}/*.a; do
787 [ -f "$f" ] || continue
789 soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.a#g')
791 ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
795 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
796 install README $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
798 # as the documentation doesn't completely reside in a directory of its
799 # own, we need to find out ourselves... this looks for HTML files and
800 # then collects everything linked from those. this is certainly quite
801 # unoptimized wrt mkdir calls, but does it really matter?
802 for i in `find -type f -name '*.htm*'`; do
803 # bjam docu is included in the boost-jam RPM
804 if test "`echo $i | sed 's,jam_src,,'`" = "$i"; then
805 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/`dirname $i`
806 for LINKED in `%{__perl} - $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i <<'EOT'
810 # rewrite links from boost/* to %{_includedir}/boost/* and
811 # ignore external links as well as document-internal ones.
812 # HTML files are also ignored as they get installed anyway.
813 if (!($link =~ s,^(?:../)*boost/,%{_includedir}/boost/,) && !($link =~ m,(?:^[^/]+:|^\#|\.html?(?:$|\#)),))
815 (my $file = $link) =~ s/\#.*//;
821 open OUT, ">@ARGV[1]";
825 $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e;
826 s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig;
828 $in_link = /href|src=\s*$/;
831 TARGET=`dirname $i`/$LINKED
832 # ignore non-existant linked files
833 if test -f $TARGET; then
834 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/`dirname $TARGET`
835 install -m 644 $TARGET $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$TARGET
842 rm -rf $RPM_BUILD_ROOT
844 %post date_time -p /sbin/ldconfig
845 %postun date_time -p /sbin/ldconfig
847 %post filesystem -p /sbin/ldconfig
848 %postun filesystem -p /sbin/ldconfig
850 %post python -p /sbin/ldconfig
851 %postun python -p /sbin/ldconfig
853 %post regex -p /sbin/ldconfig
854 %postun regex -p /sbin/ldconfig
856 %post signals -p /sbin/ldconfig
857 %postun signals -p /sbin/ldconfig
859 %post test -p /sbin/ldconfig
860 %postun test -p /sbin/ldconfig
862 %post thread -p /sbin/ldconfig
863 %postun thread -p /sbin/ldconfig
866 %defattr(644,root,root,755)
867 %dir %{_includedir}/boost
868 %{_includedir}/boost/algorithm
869 %{_includedir}/boost/archive
870 %{_includedir}/boost/assert.hpp
871 %{_includedir}/boost/assign
872 %{_includedir}/boost/assign.hpp
873 %{_includedir}/boost/blank_fwd.hpp
874 %{_includedir}/boost/config
875 %{_includedir}/boost/config.hpp
876 %{_includedir}/boost/cstd*.hpp
877 %{_includedir}/boost/current_function.hpp
878 %dir %{_includedir}/boost/detail
879 %{_includedir}/boost/detail/algorithm.hpp
880 %{_includedir}/boost/detail/allocator_utilities.hpp
881 %{_includedir}/boost/detail/atomic_count*.hpp
882 %{_includedir}/boost/detail/binary_search.hpp
883 %{_includedir}/boost/detail/catch_exceptions.hpp
884 %{_includedir}/boost/detail/dynamic_bitset.hpp
885 %{_includedir}/boost/detail/indirect_traits.hpp
886 %{_includedir}/boost/detail/is_function_ref_tester.hpp
887 %{_includedir}/boost/detail/is_incrementable.hpp
888 %{_includedir}/boost/detail/iterator.hpp
889 %{_includedir}/boost/detail/lightweight_*.hpp
890 %{_includedir}/boost/detail/limits.hpp
891 %{_includedir}/boost/detail/lwm_*.hpp
892 %{_includedir}/boost/detail/named_template_params.hpp
893 %{_includedir}/boost/detail/no_exceptions_support.hpp
894 %{_includedir}/boost/detail/numeric_traits.hpp
895 %{_includedir}/boost/detail/quick_allocator.hpp
896 %{_includedir}/boost/detail/reference_content.hpp
897 %{_includedir}/boost/detail/select_type.hpp
898 %{_includedir}/boost/detail/shared_*.hpp
899 %{_includedir}/boost/detail/workaround.hpp
900 %{_includedir}/boost/dynamic_bitset
901 %{_includedir}/boost/dynamic_bitset.hpp
902 %{_includedir}/boost/dynamic_bitset_fwd.hpp
903 %{_includedir}/boost/enable_shared_from_this.hpp
904 %{_includedir}/boost/format
905 %{_includedir}/boost/format.hpp
906 %{_includedir}/boost/function
907 %{_includedir}/boost/function.hpp
908 %{_includedir}/boost/function_equal.hpp
909 %{_includedir}/boost/function_output_iterator.hpp
910 %{_includedir}/boost/functional.hpp
911 %{_includedir}/boost/generator_iterator.hpp
912 %{_includedir}/boost/graph
913 #%{_includedir}/boost/half_open_range.hpp
914 %{_includedir}/boost/indirect_reference.hpp
915 %{_includedir}/boost/integer
916 %{_includedir}/boost/integer*.hpp
917 %{_includedir}/boost/intrusive_ptr.hpp
918 %{_includedir}/boost/io
919 %{_includedir}/boost/io_fwd.hpp
920 %{_includedir}/boost/iterator*.hpp
921 %{_includedir}/boost/iterator
922 %{_includedir}/boost/lambda
923 %{_includedir}/boost/limits.hpp
924 %{_includedir}/boost/logic
925 %{_includedir}/boost/math
926 %{_includedir}/boost/math_fwd.hpp
927 %{_includedir}/boost/multi_array
928 %{_includedir}/boost/multi_array.hpp
929 %{_includedir}/boost/multi_index
930 %{_includedir}/boost/multi_index_container.hpp
931 %{_includedir}/boost/multi_index_container_fwd.hpp
932 %{_includedir}/boost/nondet_random.hpp
933 %{_includedir}/boost/none.hpp
934 %{_includedir}/boost/non_type.hpp
935 %{_includedir}/boost/numeric/interval*
936 %{_includedir}/boost/numeric/conversion
937 %{_includedir}/boost/operators.hpp
938 %{_includedir}/boost/optional
939 %{_includedir}/boost/optional.hpp
940 %{_includedir}/boost/pending
941 %{_includedir}/boost/pfto.hpp
942 %{_includedir}/boost/pool
943 %{_includedir}/boost/pointee.hpp
944 %{_includedir}/boost/progress.hpp
945 %{_includedir}/boost/property_map*.hpp
946 %{_includedir}/boost/random
947 %{_includedir}/boost/random.hpp
948 %{_includedir}/boost/range
949 %{_includedir}/boost/range.hpp
950 %{_includedir}/boost/rational.hpp
951 %{_includedir}/boost/scoped_*.hpp
952 %{_includedir}/boost/serialization
953 %{_includedir}/boost/shared_*.hpp
954 %{_includedir}/boost/smart_cast.hpp
955 %{_includedir}/boost/smart_ptr.hpp
956 %{_includedir}/boost/state_saver.hpp
957 %{_includedir}/boost/static_warning.hpp
958 %{_includedir}/boost/strong_typedef.hpp
959 %{_includedir}/boost/throw_exception.hpp
960 %{_includedir}/boost/timer.hpp
961 %{_includedir}/boost/token*.hpp
962 %{_includedir}/boost/tuple
963 %{_includedir}/boost/type.hpp
964 %{_includedir}/boost/utility
965 %{_includedir}/boost/utf8_codecvt_facet.hpp
966 %{_includedir}/boost/version.hpp
967 %{_includedir}/boost/vector_property_map.hpp
968 %{_includedir}/boost/weak_ptr.hpp
970 %{_includedir}/boost/variant.hpp
971 %{_includedir}/boost/variant
972 %{_includedir}/boost/blank.hpp
973 %{_includedir}/boost/detail/templated_streams.hpp
975 %{_includedir}/boost/aligned_storage.hpp
976 #%{_includedir}/boost/detail/in_place_factory*.hpp
977 #%{_includedir}/boost/detail/none.hpp
978 %{_includedir}/boost/detail/none_t.hpp
979 #%{_includedir}/boost/detail/typed_in_place_factory.hpp
981 %{_libdir}/libboost_serialization*.a
982 %{_libdir}/libboost_wserialization*.a
986 %defattr(644,root,root,755)
987 %attr(755,root,root) %{_libdir}/libboost_python*.so.*.*.*
990 %defattr(644,root,root,755)
991 %attr(755,root,root) %{_libdir}/libboost_python*.so
992 %{_includedir}/boost/python
993 %{_includedir}/boost/python.hpp
996 %defattr(644,root,root,755)
997 %{_libdir}/libboost_python*.a
1001 %defattr(644,root,root,755)
1002 %attr(755,root,root) %{_libdir}/libboost_regex*.so.*.*.*
1005 %defattr(644,root,root,755)
1006 %attr(755,root,root) %{_libdir}/libboost_regex*.so
1007 %{_includedir}/boost/cregex.hpp
1008 %{_includedir}/boost/regex.h
1009 %{_includedir}/boost/regex*.hpp
1010 %{_includedir}/boost/regex
1013 %defattr(644,root,root,755)
1014 %{_libdir}/libboost_regex*.a
1017 %defattr(644,root,root,755)
1018 %{_includedir}/boost/any.hpp
1021 %defattr(644,root,root,755)
1022 %{_includedir}/boost/array.hpp
1025 %defattr(644,root,root,755)
1026 %{_includedir}/boost/bind
1027 %{_includedir}/boost/bind.hpp
1029 %files call_traits-devel
1030 %defattr(644,root,root,755)
1031 %{_includedir}/boost/call_traits.hpp
1032 %{_includedir}/boost/detail/call_traits.hpp
1033 %{_includedir}/boost/detail/ob_call_traits.hpp
1035 %files compatibility-devel
1036 %defattr(644,root,root,755)
1037 %{_includedir}/boost/compatibility
1039 %files compose-devel
1040 %defattr(644,root,root,755)
1041 #%{_includedir}/boost/compose.hpp
1043 %files compressed_pair-devel
1044 %defattr(644,root,root,755)
1045 %{_includedir}/boost/compressed_pair.hpp
1046 %{_includedir}/boost/detail/compressed_pair.hpp
1047 %{_includedir}/boost/detail/ob_compressed_pair.hpp
1049 %files concept_check-devel
1050 %defattr(644,root,root,755)
1051 %{_includedir}/boost/concept_archetype.hpp
1052 %{_includedir}/boost/concept_check.hpp
1054 %files conversion-devel
1055 %defattr(644,root,root,755)
1056 %{_includedir}/boost/cast.hpp
1057 %{_includedir}/boost/implicit_cast.hpp
1058 %{_includedir}/boost/lexical_cast.hpp
1061 %defattr(644,root,root,755)
1062 %{_includedir}/boost/crc.hpp
1065 %defattr(644,root,root,755)
1066 %attr(755,root,root) %{_libdir}/libboost_date_time*.so.*.*.*
1068 %files date_time-devel
1069 %defattr(644,root,root,755)
1070 %attr(755,root,root) %{_libdir}/libboost_date_time*.so
1071 %{_includedir}/boost/date_time
1073 %files date_time-static
1074 %defattr(644,root,root,755)
1075 %{_libdir}/libboost_date_time*.a
1078 %defattr(644,root,root,755)
1079 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so.*.*.*
1081 %files filesystem-devel
1082 %defattr(644,root,root,755)
1083 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so
1084 %{_includedir}/boost/filesystem
1086 %files filesystem-static
1087 %defattr(644,root,root,755)
1088 %{_libdir}/libboost_filesystem*.a
1091 %defattr(644,root,root,755)
1092 %{_includedir}/boost/get_pointer.hpp
1093 %{_includedir}/boost/mem_fn.hpp
1096 %defattr(644,root,root,755)
1097 %{_includedir}/boost/mpl
1099 %files preprocessor-devel
1100 %defattr(644,root,root,755)
1101 %{_includedir}/boost/preprocessor
1102 %{_includedir}/boost/preprocessor.hpp
1104 %files program_options
1105 %defattr(644,root,root,755)
1106 %attr(755,root,root) %{_libdir}/libboost_program_options*.so.*.*.*
1108 %files program_options-devel
1109 %defattr(644,root,root,755)
1110 %{_includedir}/boost/program_options
1111 %{_includedir}/boost/program_options.hpp
1113 %files program_options-static
1114 %defattr(644,root,root,755)
1115 %{_libdir}/libboost_program_options*.a
1118 %defattr(644,root,root,755)
1119 %{_includedir}/boost/ref.hpp
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) %{_libdir}/libboost_signals*.so.*.*.*
1125 %files signals-devel
1126 %defattr(644,root,root,755)
1127 %attr(755,root,root) %{_libdir}/libboost_signals*.so
1128 %{_includedir}/boost/signal*.hpp
1129 %{_includedir}/boost/signals
1130 %{_includedir}/boost/last_value.hpp
1131 %{_includedir}/boost/visit_each.hpp
1133 %files signals-static
1134 %defattr(644,root,root,755)
1135 %{_libdir}/libboost_signals*.a
1138 %defattr(644,root,root,755)
1139 %{_includedir}/boost/spirit.hpp
1140 %{_includedir}/boost/spirit
1142 %files static_assert-devel
1143 %defattr(644,root,root,755)
1144 %{_includedir}/boost/static_assert.hpp
1147 %defattr(644,root,root,755)
1148 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so.*.*.*
1149 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so.*.*.*
1150 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so.*.*.*
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
1157 %{_includedir}/boost/test
1160 %defattr(644,root,root,755)
1161 %{_libdir}/libboost_prg_exec_monitor*.a
1162 %{_libdir}/libboost_test_exec_monitor*.a
1163 %{_libdir}/libboost_unit_test_framework*.a
1166 %defattr(644,root,root,755)
1167 %attr(755,root,root) %{_libdir}/libboost_thread*.so.*.*.*
1170 %defattr(644,root,root,755)
1171 %attr(755,root,root) %{_libdir}/libboost_thread*.so
1172 %{_includedir}/boost/thread
1173 %{_includedir}/boost/thread.hpp
1175 %files type_traits-devel
1176 %defattr(644,root,root,755)
1177 %{_includedir}/boost/type_traits.hpp
1178 %{_includedir}/boost/type_traits
1181 %defattr(644,root,root,755)
1182 %{_includedir}/boost/numeric/ublas
1184 %files utility-devel
1185 %defattr(644,root,root,755)
1186 %{_includedir}/boost/checked_delete.hpp
1187 %{_includedir}/boost/next_prior.hpp
1188 %{_includedir}/boost/noncopyable.hpp
1189 %{_includedir}/boost/utility*.hpp
1190 %{_includedir}/boost/utility
1193 %defattr(644,root,root,755)
1194 %{_docdir}/%{name}-%{version}