3 # - /usr/include/boost/detail/atomic_cont_gcc.hpp includes bits/atomicity.h
4 # but new libstdc++ has ext/atomicity.h
7 %bcond_without python # without boost-python support
9 %define _fver %(echo %{version} | tr . _)
10 Summary: The Boost C++ Libraries
11 Summary(pl.UTF-8): Biblioteki C++ "Boost"
15 License: Boost Software License and others
17 Source0: http://dl.sourceforge.net/boost/%{name}_%{_fver}.tar.bz2
18 # Source0-md5: 2b999b2fb7798e1737d1fff8fac602ef
19 Patch0: %{name}-python.patch
20 Patch1: %{name}-archive_iterator_segv.patch
21 Patch2: %{name}-atomicity.patch
22 URL: http://www.boost.org/
23 BuildRequires: boost-jam >= 3.1.3
24 BuildRequires: bzip2-devel
25 BuildRequires: libicu-devel
26 BuildRequires: libstdc++-devel
27 BuildRequires: perl-base
28 %{?with_python:BuildRequires: python-devel >= 2.2}
29 BuildRequires: rpm-pythonprov
30 BuildRequires: zlib-devel
31 BuildConflicts: gcc = 5:3.3.1
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 The Boost web site provides free peer-reviewed portable C++ source
36 libraries. The emphasis is on libraries which work well with the C++
37 Standard Library. One goal is to establish "existing practice" and
38 provide reference implementations so that the Boost libraries are
39 suitable for eventual standardization. Some of the libraries have
40 already been proposed for inclusion in the C++ Standards Committee's
41 upcoming C++ Standard Library Technical Report.
43 %description -l pl.UTF-8
44 Strona http://www.boost.org/ dostarcza darmowe biblioteki C++ wraz z
45 kodem źródłowym. Nacisk położono na biblioteki, które dobrze
46 współpracują ze standardową biblioteką C++. Celem jest ustanowienie
47 "istniejącej praktyki" i dostarczenie implementacji, tak że biblioteki
48 "Boost" nadają się do ewentualnej standaryzacji. Niektóre z bibliotek
49 już zostały zgłoszone do komitetu standaryzacyjnego C++ w nadchodzącym
50 Raporcie Technicznym Biblioteki Standardowej C++
53 Summary: Boost C++ development headers
54 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek C++ Boost
55 Group: Development/Libraries
56 Requires: %{name} = %{version}-%{release}
57 Requires: %{name}-ref-devel = %{version}-%{release}
58 Requires: libstdc++-devel
59 # temporary Provides (until CVS HEAD stops using it)?
60 Provides: boost-concept_check-devel = %{version}-%{release}
61 Provides: boost-conversion-devel = %{version}-%{release}
62 Provides: boost-mpl-devel = %{version}-%{release}
63 Provides: boost-preprocessor-devel = %{version}-%{release}
64 Provides: boost-static_assert-devel = %{version}-%{release}
65 Provides: boost-type_traits-devel = %{version}-%{release}
66 Provides: boost-utility-devel = %{version}-%{release}
67 Obsoletes: boost-compose-devel
68 Obsoletes: boost-concept_check-devel
69 Obsoletes: boost-conversion-devel
70 Obsoletes: boost-mpl-devel
71 Obsoletes: boost-preprocessor-devel
72 Obsoletes: boost-static_assert-devel
73 Obsoletes: boost-type_traits-devel
74 Obsoletes: boost-utility-devel
77 Header files for the Boost C++ libraries.
79 %description devel -l pl.UTF-8
80 Pliki nagłówkowe bibliotek C++ Boost.
83 Summary: Static version of base Boost C++ libraries
84 Summary(pl.UTF-8): Statyczne wersje podstawowych bibliotek C++ Boost
85 Group: Development/Libraries
86 Requires: %{name}-devel = %{version}-%{release}
89 Static version of base Boost C++ libraries.
91 %description static -l pl.UTF-8
92 Statyczne wersje podstawowych bibliotek C++ Boost.
95 Summary: Boost.Python library
96 Summary(pl.UTF-8): biblioteka Boost.Python
101 Use the Boost Python Library to quickly and easily export a C++
102 library to Python such that the Python interface is very similar to
103 the C++ interface. It is designed to be minimally intrusive on your
104 C++ design. In most cases, you should not have to alter your C++
105 classes in any way in order to use them with Boost.Python. The system
106 should simply ``reflect'' your C++ classes and functions into Python.
108 %description python -l pl.UTF-8
109 Biblioteka Boost Python służy do szybkiego i prostego eksportu
110 biblioteki C++ do Pythona, tak że interfejs Pythona jest bardzo
111 podobny do interfejsu C++. Biblioteka jest zaprojektowana tak, żeby
112 narzucać jak najmniej wymagań dotyczących konstrukcjii C++. W
113 większości przypadków nie trzeba w ogóle zmieniać własnych klas C++,
114 żeby używać ich z Boost.Python. System powinien po prostu ,,odbić''
115 klasy C++ i funkcje do Pythona.
117 %package python-devel
118 Summary: Boost.Python development headers
119 Summary(pl.UTF-8): Pliki nagłówkowe dla Boost.Python
120 Group: Development/Libraries
121 Requires: %{name}-compressed_pair-devel = %{version}-%{release}
122 Requires: %{name}-devel = %{version}-%{release}
123 Requires: %{name}-python = %{version}-%{release}
125 %description python-devel
126 Headers for the Boost.Python library.
128 %description python-devel -l pl.UTF-8
129 Pliki nagłówkowe dla biblioteki Boost.Python.
131 %package python-static
132 Summary: Static version of Boost.Python library
133 Summary(pl.UTF-8): Statyczna wersja biblioteki Boost.Python
134 Group: Development/Libraries
135 Requires: %{name}-python-devel = %{version}-%{release}
137 %description python-static
138 Static version of Boost.Python library.
140 %description python-static -l pl.UTF-8
141 Statyczna wersja biblioteki Boost.Python.
144 Summary: Boost C++ regular expressions library
145 Summary(pl.UTF-8): Biblioteka wyrażeń regularnych Boost C++
149 Shared library for Boost C++ regular expressions.
151 %description regex -l pl.UTF-8
152 Biblioteka wyrażeń regularnych dla C++, biblioteki dzielone.
155 Summary: Boost C++ Regex library headers
156 Summary(pl.UTF-8): Pliki nagłówkowe Boost C++ Regex
157 Group: Development/Libraries
158 Requires: %{name}-devel = %{version}-%{release}
159 Requires: %{name}-regex = %{version}-%{release}
161 %description regex-devel
162 Boost C++ Regex headers.
164 %description regex-devel -l pl.UTF-8
165 Pliki nagłówkowe dla Boost C++ Regex.
167 %package regex-static
168 Summary: Boost C++ Regex static libraries
169 Summary(pl.UTF-8): Biblioteki statyczne Boost C++ Regex
170 Group: Development/Libraries
171 Requires: %{name}-regex-devel = %{version}-%{release}
173 %description regex-static
174 Boost C++ Regex static libraries.
176 %description regex-static -l pl.UTF-8
177 Biblioteki statyczne dla Boost C++ Regex.
180 Summary: Header for Boost C++ "Any" Library
181 Summary(pl.UTF-8): Plik nagłówkowy dla biblioteki Boost C++ "Any"
182 Group: Development/Libraries
183 Requires: %{name}-devel = %{version}-%{release}
185 %description any-devel
186 The boost::any class, is a variant value type, which supports copying
187 of any value type and safe checked extraction of that value strictly
190 I.e. 5 is held strictly as an int and is not implicitly convertible
191 either to "5" or to 5.0.
193 %description any-devel -l pl.UTF-8
194 Klasa boost::any jest typem, który umożliwia kopiowanie ze zmiennej
195 dowolnego typu i bezpieczne, sprawdzone wydobycie jej wartości
196 dokładnie tego samego typu.
198 Np. 5 jest trzymane jako int i nie jest niejawnie konwertowalne ani do
202 Summary: STL compliant container wrapper for arrays of constant size
203 Summary(pl.UTF-8): Wrapper na STLowe kontenery dla tablic o stałym rozmiarze
204 Group: Development/Libraries
205 Requires: %{name}-devel = %{version}-%{release}
207 %description array-devel
208 As replacement for ordinary arrays, the STL provides class vector<>.
209 However, vector<> provides the semantics of dynamic arrays. Thus, it
210 manages data to be able to change the number of elements. This results
211 in some overhead in case only arrays with static size are needed. This
212 library provides support for such static size arrays.
214 %description array-devel -l pl.UTF-8
215 STL dostarcza klasę vector<> jako zamiennik zwykłej tablicy. Jednak
216 vector<> dostarcza semantykę dynamicznych tablic. Zatem zarządza
217 danymi tak, by była możliwa zmiana ilości elementów. To skutkuje
218 pewnym nadmiarem w przypadku kiedy tylko tablice o stałym rozmiarze są
219 potrzebne. Ta biblioteka dostarcza wsparcie dla takich właśnie tablic
223 Summary: Generalized binders for function/object/pointers and member functions
224 Summary(pl.UTF-8): Uogólnione bindery dla funkcji/obiektów/wskaźników oraz metod
225 Group: Development/Libraries
226 Requires: %{name}-ref-devel = %{version}-%{release}
227 Provides: boost-mem_fn-devel = %{version}-%{release}
228 Obsoletes: boost-compose-devel
229 Obsoletes: boost-mem_fn-devel
231 %description bind-devel
232 boost::bind is a generalization of the standard functions std::bind1st
233 and std::bind2nd. This package contains also boost::mem_fn which is a
234 generalization of the standard functions std::mem_fun and
237 %description bind-devel -l pl.UTF-8
238 boost::bind jest uogólnieniem standardowych funkcji std::bind1st i
239 std::bind2nd. Ten pakiet zawiera także boost::mem_fn, który jest
240 uogólnieniem standardowych funkcji std::mem_fun i std::mem_fun_ref.
242 %package call_traits-devel
243 Summary: Defines types for passing parameters
244 Summary(pl.UTF-8): Definiowanie typów dla przekazywania parametrów
245 Group: Development/Libraries
246 Requires: %{name}-devel = %{version}-%{release}
248 %description call_traits-devel
249 boost::call_traits<T> encapsulates the "best" method to pass a
250 parameter of some type T to or from a function. The purpose of
251 call_traits is to ensure that problems like "references to references"
252 never occur, and that parameters are passed in the most efficient
255 %description call_traits-devel -l pl.UTF-8
256 boost::call_traits<T> zawiera "najlepszą" metodę przekazywania
257 parametrów jakiegoś typu T do lub z funkcji. Celem call_traits jest
258 zapewnienie że problemy takie jak "referencja referencji" nigdy nie
259 wystąpią i że parametry są przekazywane w możliwie najbardziej
262 %package compatibility-devel
263 Summary: Help for non-conforming standard libraries
264 Summary(pl.UTF-8): Pomoc dla nie trzymających standardu bibliotek
265 Group: Development/Libraries
266 Requires: %{name}-devel = %{version}-%{release}
268 %description compatibility-devel
269 This library provides workarounds which allow the other Boost
270 libraries to be used on otherwise non-conforming platforms.
272 %description compatibility-devel -l pl.UTF-8
273 Biblioteka dostarcza obejście problemu platform nie trzymających
274 standardu C++, pozwalające na używanie bibliotek Boost na tych
277 %package compose-devel
278 Summary: Functional composition adapters for the STL
279 Summary(pl.UTF-8): Funkcjonalne adaptery kompozycji dla STL
280 Group: Development/Libraries
281 Requires: %{name}-devel = %{version}-%{release}
283 %description compose-devel
284 The boost::compose provides compose function object adapter extensions
285 for use with the Standard Template Library (STL) portion of the C++
286 Standard Library. If you aren't currently using the STL, this library
287 won't be of any interest, but hard-core STL users will appreciate its
290 %description compose-devel -l pl.UTF-8
291 boost::compose dostarcza rozszerzenie adaptera obiektu funkcji compose
292 do użytku z STL-ową częścią Standardu C++. Jeżeli nie używasz STL,
293 biblioteka będzie poza twoim zainteresowaniem, lecz hardkorowi
294 użytkownicy STL-a docenią jej użyteczność.
296 %package compressed_pair-devel
297 Summary: Empty member optimization
298 Summary(pl.UTF-8): Optymalizacja pustego elementu
299 Group: Development/Libraries
300 Requires: %{name}-call_traits-devel = %{version}-%{release}
301 Requires: %{name}-devel = %{version}-%{release}
303 %description compressed_pair-devel
304 The class boost::compressed_pair is very similar to std::pair, but if
305 either of the template arguments are empty classes, then the "empty
306 base-class optimisation" is applied to compress the size of the pair.
308 %description compressed_pair-devel -l pl.UTF-8
309 Klasa boost::compressed_pair jest bardzo podobna do std::pair, ale
310 jeżeli któryś z argumentów wzorca jest pustą klasą, wtedy stosowana
311 jest "optymalizacja pustej klasy bazowej" do kompresji pary.
314 Summary: CRC computing library
315 Summary(pl.UTF-8): Biblioteka obliczająca CRC
316 Group: Development/Libraries
317 Requires: %{name}-devel = %{version}-%{release}
319 %description crc-devel
320 The boost::crc library provides two implementations of CRC computation
321 objects and functions. The implementations are template-based.
323 %description crc-devel -l pl.UTF-8
324 Bibliteka boost::crc dostarcza dwie implementacje obiektów i funkcji
325 obliczających CRC. Implementacje są oparte na wzorcach.
328 Summary: Date-Time library
329 Summary(pl.UTF-8): Biblioteka daty-czasu
331 Obsoletes: boost < 1.33
333 %description date_time
334 A set of date-time libraries.
336 %description date_time -l pl.UTF-8
337 Zbiór bibliotek daty-czasu.
339 %package date_time-devel
340 Summary: Header files for boost::date_time library
341 Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki boost::date_time
342 Group: Development/Libraries
343 Requires: %{name}-date_time = %{version}-%{release}
344 Requires: %{name}-devel = %{version}-%{release}
345 #TODO: make decision if do separate packages include it to main devel package
346 #Requires: %{name}-integer-devel = %{version}-%{release}
347 #Requires: %{name}-operators-devel = %{version}-%{release}
348 #Requires: %{name}-tokenizer-devel = %{version}-%{release}
350 %description date_time-devel
351 Header files for boost::date_time library.
353 %description date_time-devel -l pl.UTF-8
354 Pliki nagłówkowe dla biblioteki boost::date_time
356 %package date_time-static
357 Summary: Static boost::date_time library
358 Summary(pl.UTF-8): Statyczna biblioteka boost::date_time
359 Group: Development/Libraries
360 Requires: %{name}-date_time-devel = %{version}-%{release}
362 %description date_time-static
363 Static boost::date_time library.
365 %description date_time-devel -l pl.UTF-8
366 Statyczna biblioteka boost::date_time.
369 Summary: Portable paths, iteration over directories, and other useful filesystem operations
370 Summary(pl.UTF-8): Przenośne ścieżki, iteracje katalogów i inne użyteczne operacje na systemie plików
372 Obsoletes: boost < 1.33
374 %description filesystem
375 The boost::filesystem library provides portable facilities to query
376 and manipulate paths, files, and directories.
378 %description filesystem -l pl.UTF-8
379 Przenośna biblioteka boost::filesystem dostarcza ułatwienia w
380 operacjach na ścieżkach, plikach i katalogach.
382 %package filesystem-devel
383 Summary: Header files for boost::filesystem
384 Summary(pl.UTF-8): Pliki nagłówkowe dla boost::filesystem
385 Group: Development/Libraries
386 Requires: %{name}-devel = %{version}-%{release}
387 Requires: %{name}-filesystem = %{version}-%{release}
389 #Requires: %{name}-smart_ptr = %{version}-%{release}
391 %description filesystem-devel
392 Header files for boost::filesystem library.
394 %description filesystem-devel -l pl.UTF-8
395 Pliki nagłówkowe dla biblioteki boost::filesystem.
397 %package filesystem-static
398 Summary: Static boost::filesystem library
399 Summary(pl.UTF-8): Biblioteka statyczna boost::filesystem
400 Group: Development/Libraries
401 Requires: %{name}-filesystem-devel = %{version}-%{release}
402 Obsoletes: boost-static < 1.33
404 %description filesystem-static
405 Static boost::filesystem library.
407 %description filesystem-static -l pl.UTF-8
408 Biblioteka statyczna boost::filesystem.
410 %package program_options
411 Summary: Access to program options, via conventional methods such as command line and config file
412 Summary(pl.UTF-8): Dostęp do opcji programu za pomocą typowych metod, jak linia poleceń i plik konfiguracyjny
415 %description program_options
416 The program_options library allows program developers to obtain
417 program options, that is (name, value) pairs from the user, via
418 conventional methods such as command line and config file.
420 %description program_options -l pl.UTF-8
421 Biblioteka program_options umożliwia uzyskanie od użytkownika opcji
422 programu, czyli par (nazwa, wartość), za pomocą typowych metod, takich
423 jak linia poleceń, czy plik konfiguracyjny.
425 %package program_options-devel
426 Summary: Header files for boost::program_options
427 Summary(pl.UTF-8): Pliki nagłówkowe dla boost::program_options
428 Group: Development/Libraries
429 Requires: %{name}-any-devel = %{version}-%{release}
430 Requires: %{name}-bind-devel = %{version}-%{release}
431 Requires: %{name}-devel = %{version}-%{release}
432 Requires: %{name}-program_options = %{version}-%{release}
434 %description program_options-devel
435 Header files for boost::program_options library.
437 %description program_options-devel -l pl.UTF-8
438 Pliki nagłówkowe dla biblioteki boost::program_options.
440 %package program_options-static
441 Summary: Static boost::program_options library
442 Summary(pl.UTF-8): Biblioteka statyczna boost::program_options
443 Group: Development/Libraries
444 Requires: %{name}-program_options-devel = %{version}-%{release}
445 Obsoletes: boost-static < 1.33
447 %description program_options-static
448 Static boost::program_options library.
450 %description program_options-static -l pl.UTF-8
451 Biblioteka statyczna boost::program_options.
454 Summary: Small library useful for passing references to function templates
455 Summary(pl.UTF-8): Mała biblioteka użyteczna przy przekazywaniu referencji do wzorców funkcji
456 Group: Development/Libraries
457 Requires: %{name}-devel = %{version}-%{release}
459 %description ref-devel
460 boost::ref library is a small library that is useful for passing
461 references to function templates (algorithms) that would usually take
462 copies of their arguments.
464 %description ref-devel -l pl.UTF-8
465 Biblioteka boost::ref jest małą biblioteką która jest użyteczna w
466 przypadku przekazywania referencji do wzorców funkcji (algorytmów)
467 które zazwyczaj biorą kopię swoich argumentów.
470 Summary: Signals & slots callback implementation
471 Summary(pl.UTF-8): Implementacja sygnałów i slotów
473 Obsoletes: boost < 1.33
476 The boost::signals library is an implementation of a signals and slots
479 %description signals -l pl.UTF-8
480 Biblioteka boost::signals jest implementacją systemu sygnałów i
483 %package signals-devel
484 Summary: Header files for boost::signals library
485 Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki boost::signals
486 Group: Development/Libraries
487 Requires: %{name}-any-devel = %{version}-%{release}
488 Requires: %{name}-devel = %{version}-%{release}
489 Requires: %{name}-signals = %{version}-%{release}
490 #TODO: separate smart_ptr or include to the main devel package
491 Requires: %{name}-bind-devel = %{version}-%{release}
492 #Requires: %{name}-iterator_adaptors-devel = %{version}-%{release}
493 #Requires: %{name}-operators-devel = %{version}-%{release}
494 Requires: %{name}-ref-devel = %{version}-%{release}
495 #Requires: %{name}-smart_ptr-devel = %{version}-%{release}
497 %description signals-devel
498 Header files for boost::signals library.
500 %description signals-devel -l pl.UTF-8
501 Pliki nagłówkowe dla biblioteki boost::signals.
503 %package signals-static
504 Summary: Static library for boost::signals
505 Summary(pl.UTF-8): Biblioteka statyczna dla boost::signals
506 Group: Development/Libraries
507 Requires: %{name}-signals-devel = %{version}-%{release}
509 %description signals-static
510 Static library for boost::signals.
512 %description signals-static -l pl.UTF-8
513 Biblioteka statyczna dla boost::signals.
515 %package spirit-devel
516 Summary: LL parser framework
517 Summary(pl.UTF-8): Szkielet parsera LL
518 Group: Development/Libraries
519 Requires: %{name}-compressed_pair-devel = %{version}-%{release}
520 Requires: %{name}-ref-devel = %{version}-%{release}
521 Requires: %{name}-regex-devel = %{version}-%{release}
522 Requires: %{name}-thread-devel = %{version}-%{release}
524 #?Requires: %{name}-iterators-devel = %{version}-%{release}
525 #?Requires: %{name}-smart_ptr-devel = %{version}-%{release}
527 %description spirit-devel
528 LL parser framework represents parsers directly as EBNF grammars in
531 %description spirit-devel -l pl.UTF-8
532 Szkielet parsera LL reprezentujący parsery jako gramatyki EBNF
533 bezpośrednio w kodzie C++.
536 Summary: Support for program testing and execution monitoring
537 Summary(pl.UTF-8): Wsparcie dla testowania i monitorowania programu
539 Obsoletes: boost < 1.33
542 Support for simple program testing, full unit testing, and for program
543 execution monitoring.
545 %description test -l pl.UTF-8
546 Wsparcie dla prostego testowania programu, pełnego testowania i
547 monitorowania wykonania programu.
550 Summary: Header files for boost::test
551 Summary(pl.UTF-8): Pliki nagłówkowe dla boost::test
552 Group: Development/Libraries
553 Requires: %{name}-call_traits-devel = %{version}-%{release}
554 Requires: %{name}-devel = %{version}-%{release}
555 Requires: %{name}-test = %{version}-%{release}
557 #?Requires?: %{name}-function-devel = %{version}-%{release}
558 #Requires: %{name}-smart_ptr = %{version}-%{release}
560 %description test-devel
561 Header files for boost::test.
563 %description test-devel -l pl.UTF-8
564 Pliki nagłówkowe dla boost::test.
567 Summary: Static boost::test libraries
568 Summary(pl.UTF-8): Biblioteki statyczne boost::test
569 Group: Development/Libraries
570 Requires: %{name}-test-devel = %{version}-%{release}
571 Obsoletes: boost-static < 1.33
573 %description test-static
574 Static boost::test libraries.
576 %description test-static -l pl.UTF-8
577 Biblioteki statyczne boost::test.
580 Summary: Portable C++ threads library
581 Summary(pl.UTF-8): Przenośna biblioteka wątków C++
583 Obsoletes: boost < 1.33
586 Portable C++ threads library - shared library.
588 %description thread -l pl.UTF-8
589 Przenośna biblioteka wątków dla C++ - biblioteka dzielona.
591 %package thread-devel
592 Summary: Header files for boost::thread library
593 Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki boost::thread
594 Group: Development/Libraries
595 Requires: %{name}-devel = %{version}-%{release}
596 Requires: %{name}-thread = %{version}-%{release}
597 #TODO:requires boost::function or boost::function to boost-devel
599 %description thread-devel
600 Header files for boost::thread library.
602 %description thread-devel -l pl.UTF-8
603 Pliki nagłówkowe dla biblioteki boost::thread.
605 %package thread-static
606 Summary: Portable C++ threads library - static version
607 Summary(pl.UTF-8): Przenośna biblioteka wątków C++ - wersja statyczna
609 Requires: %{name}-thread-devel = %{version}-%{release}
610 Obsoletes: boost < 1.33
612 %description thread-static
613 Portable C++ threads library - static library.
615 %description thread-static -l pl.UTF-8
616 Przenośna biblioteka wątków dla C++ - biblioteka statyczna.
619 Summary: Basic linear algebra for dense, packed and sparse matrices
620 Summary(pl.UTF-8): Prosta liniowa algebra dla gęstych, upakowanych i rzadkich macierzy
621 Group: Development/Libraries
622 Requires: %{name}-devel = %{version}-%{release}
624 %description uBLAS-devel
625 uBLAS library provides templated C++ classes for dense, unit and
626 sparse vectors, dense, identity, triangular, banded, symmetric,
627 hermitian and sparse matrices.
629 %description uBLAS-devel -l pl.UTF-8
630 Biblioteka uBLAS dostarcza wzorce klas C++ dla gęstych, jednostkowych
631 i rzadkich wektorów oraz gęstych, jednostkowych, trójkątnych,
632 diagonalnych, symetrycznych, hermitowskich i rzadkich macierzy.
635 Summary: Boost.Wave - a standard compliant C++ preprocessor library
636 Summary(pl.UTF-8): Boost.Wave - zgodna ze standardem biblioteka preprocesora C++
637 Group: Development/Libraries
638 Requires: %{name}-devel = %{version}-%{release}
640 %description wave-devel
641 Boost.Wave - a standard compliant C++ preprocessor library.
643 %description wave-devel -l pl.UTF-8
644 Boost.Wave - zgodna ze standardem biblioteka preprocesora C++.
647 Summary: Boost C++ Library documentation
648 Summary(pl.UTF-8): Dokumentacja dla biblioteki Boost C++
650 Requires: %{name}-devel = %{version}-%{release}
653 Documentation for the Boost C++ Library.
655 %description doc -l pl.UTF-8
656 Dokumentacja dla biblioteki Boost C++.
659 %setup -q -n %{name}_%{_fver}
664 # don't know how to pass it through (b)jam -s (no way?)
665 # due to oversophisticated build flags system
666 %{__perl} -pi -e 's/ -O3 / %{rpmcxxflags} /' tools/build/v1/gcc-tools.jam
669 # -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only)
670 # don't know, is it gcc bug or intentional omission?
671 # anyway, boost check of -D_REENTRANT in its headers, so it's needed here
672 %{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam
677 PYTHON_VERSION=$(%{__python} -c 'import sys; print sys.version[0:3]')
678 PYTHON_ROOT=%{_prefix}
687 -sHAVE_ICU=1 -sICU_PATH=/usr \
688 -sBUILD="release <threading>multi <shared-linkable>true <inlining>on <debug-symbols>on" \
689 -sPYTHON_ROOT=$PYTHON_ROOT \
690 -sPYTHON_VERSION=$PYTHON_VERSION
693 rm -rf $RPM_BUILD_ROOT
694 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
696 cp -rf boost $RPM_BUILD_ROOT%{_includedir}
698 install bin/boost/libs/*/build/*.a/*/release/inlining-on/shared-linkable-true/*/lib*.a $RPM_BUILD_ROOT%{_libdir}
699 install bin/boost/libs/*/build/*.so/*/release/inlining-on/shared-linkable-true/*/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
700 # use cp -d, install follows symlinks instead of preserving them!
701 cp -df bin/boost/libs/*/build/*.so/*/release/inlining-on/shared-linkable-true/*/lib*.so $RPM_BUILD_ROOT%{_libdir}
703 # create symlinks without -gcc-mt-* things in names
704 for f in $RPM_BUILD_ROOT%{_libdir}/*.so.*; do
705 [ -f "$f" ] || continue
707 soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.so#g')
709 ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
711 for f in $RPM_BUILD_ROOT%{_libdir}/*.a; do
712 [ -f "$f" ] || continue
714 soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.a#g')
716 ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
720 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
721 install README $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
723 # as the documentation doesn't completely reside in a directory of its
724 # own, we need to find out ourselves... this looks for HTML files and
725 # then collects everything linked from those. this is certainly quite
726 # unoptimized wrt mkdir calls, but does it really matter?
728 for i in $(find -type f -name '*.htm*'); do
729 # bjam docu is included in the boost-jam RPM
730 if test "`echo $i | sed 's,jam_src,,'`" = "$i"; then
731 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/${i%/*}
732 for LINKED in `%{__perl} - $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i <<'EOT'
736 # rewrite links from boost/* to %{_includedir}/boost/* and
737 # ignore external links as well as document-internal ones.
738 # HTML files are also ignored as they get installed anyway.
739 if (!($link =~ s,^(?:../)*boost/,%{_includedir}/boost/,) && !($link =~ m,(?:^[^/]+:|^\#|\.html?(?:$|\#)),))
741 (my $file = $link) =~ s/\#.*//;
747 open OUT, ">@ARGV[1]";
751 $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e;
752 s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig;
754 $in_link = /href|src=\s*$/;
757 TARGET=${i%/*}/$LINKED
758 # ignore non-existant linked files
759 if test -f $TARGET; then
760 install -D -m 644 $TARGET $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$TARGET
768 rm -rf $RPM_BUILD_ROOT
770 %post -p /sbin/ldconfig
771 %postun -p /sbin/ldconfig
773 %post date_time -p /sbin/ldconfig
774 %postun date_time -p /sbin/ldconfig
776 %post filesystem -p /sbin/ldconfig
777 %postun filesystem -p /sbin/ldconfig
779 %post python -p /sbin/ldconfig
780 %postun python -p /sbin/ldconfig
782 %post program_options -p /sbin/ldconfig
783 %postun program_options -p /sbin/ldconfig
785 %post regex -p /sbin/ldconfig
786 %postun regex -p /sbin/ldconfig
788 %post signals -p /sbin/ldconfig
789 %postun signals -p /sbin/ldconfig
791 %post test -p /sbin/ldconfig
792 %postun test -p /sbin/ldconfig
794 %post thread -p /sbin/ldconfig
795 %postun thread -p /sbin/ldconfig
798 %defattr(644,root,root,755)
799 %attr(755,root,root) %{_libdir}/libboost_iostreams*.so.*.*.*
800 %attr(755,root,root) %{_libdir}/libboost_serialization*.so.*.*.*
801 %attr(755,root,root) %{_libdir}/libboost_wserialization*.so.*.*.*
804 %defattr(644,root,root,755)
805 %attr(755,root,root) %{_libdir}/libboost_iostreams*.so
806 %attr(755,root,root) %{_libdir}/libboost_serialization*.so
807 %attr(755,root,root) %{_libdir}/libboost_wserialization*.so
808 %dir %{_includedir}/boost
809 %{_includedir}/boost/algorithm
810 %{_includedir}/boost/archive
811 %{_includedir}/boost/assert.hpp
812 %{_includedir}/boost/assign
813 %{_includedir}/boost/assign.hpp
814 %{_includedir}/boost/blank_fwd.hpp
815 %{_includedir}/boost/cast.hpp
816 %{_includedir}/boost/checked_delete.hpp
817 %{_includedir}/boost/concept_archetype.hpp
818 %{_includedir}/boost/concept_check.hpp
819 %{_includedir}/boost/config
820 %{_includedir}/boost/config.hpp
821 %{_includedir}/boost/cstd*.hpp
822 %{_includedir}/boost/current_function.hpp
823 %dir %{_includedir}/boost/detail
824 %{_includedir}/boost/detail/algorithm.hpp
825 %{_includedir}/boost/detail/allocator_utilities.hpp
826 %{_includedir}/boost/detail/atomic_count*.hpp
827 %{_includedir}/boost/detail/bad_weak_ptr.hpp
828 %{_includedir}/boost/detail/binary_search.hpp
829 %{_includedir}/boost/detail/catch_exceptions.hpp
830 %{_includedir}/boost/detail/dynamic_bitset.hpp
831 %{_includedir}/boost/detail/endian.hpp
832 %{_includedir}/boost/detail/indirect_traits.hpp
833 %{_includedir}/boost/detail/interlocked.hpp
834 %{_includedir}/boost/detail/is_function_ref_tester.hpp
835 %{_includedir}/boost/detail/is_incrementable.hpp
836 %{_includedir}/boost/detail/is_xxx.hpp
837 %{_includedir}/boost/detail/iterator.hpp
838 %{_includedir}/boost/detail/lightweight_*.hpp
839 %{_includedir}/boost/detail/limits.hpp
840 %{_includedir}/boost/detail/lwm_*.hpp
841 %{_includedir}/boost/detail/named_template_params.hpp
842 %{_includedir}/boost/detail/no_exceptions_support.hpp
843 %{_includedir}/boost/detail/numeric_traits.hpp
844 %{_includedir}/boost/detail/quick_allocator.hpp
845 %{_includedir}/boost/detail/reference_content.hpp
846 %{_includedir}/boost/detail/select_type.hpp
847 %{_includedir}/boost/detail/shared_*.hpp
848 %{_includedir}/boost/detail/sp_counted_*.hpp
849 %{_includedir}/boost/detail/utf8_codecvt_facet.hpp
850 %{_includedir}/boost/detail/workaround.hpp
851 %{_includedir}/boost/dynamic_bitset
852 %{_includedir}/boost/dynamic_bitset.hpp
853 %{_includedir}/boost/dynamic_bitset_fwd.hpp
854 %{_includedir}/boost/dynamic_property_map.hpp
855 %{_includedir}/boost/enable_shared_from_this.hpp
856 %{_includedir}/boost/format
857 %{_includedir}/boost/format.hpp
858 %{_includedir}/boost/function
859 %{_includedir}/boost/function.hpp
860 %{_includedir}/boost/function_equal.hpp
861 %{_includedir}/boost/function_output_iterator.hpp
862 %{_includedir}/boost/functional
863 %{_includedir}/boost/functional.hpp
864 %{_includedir}/boost/generator_iterator.hpp
865 %{_includedir}/boost/graph
866 %{_includedir}/boost/implicit_cast.hpp
867 %{_includedir}/boost/indirect_reference.hpp
868 %{_includedir}/boost/integer
869 %{_includedir}/boost/integer*.hpp
870 %{_includedir}/boost/intrusive_ptr.hpp
871 %{_includedir}/boost/io
872 %{_includedir}/boost/iostreams
873 %{_includedir}/boost/io_fwd.hpp
874 %{_includedir}/boost/iterator*.hpp
875 %{_includedir}/boost/iterator
876 %{_includedir}/boost/lambda
877 %{_includedir}/boost/lexical_cast.hpp
878 %{_includedir}/boost/limits.hpp
879 %{_includedir}/boost/logic
880 %{_includedir}/boost/math
881 %{_includedir}/boost/math_fwd.hpp
882 %{_includedir}/boost/mpl
883 %{_includedir}/boost/multi_array
884 %{_includedir}/boost/multi_array.hpp
885 %{_includedir}/boost/multi_index
886 %{_includedir}/boost/multi_index_container.hpp
887 %{_includedir}/boost/multi_index_container_fwd.hpp
888 %{_includedir}/boost/next_prior.hpp
889 %{_includedir}/boost/noncopyable.hpp
890 %{_includedir}/boost/nondet_random.hpp
891 %{_includedir}/boost/none.hpp
892 %{_includedir}/boost/none_t.hpp
893 %{_includedir}/boost/non_type.hpp
894 %dir %{_includedir}/boost/numeric
895 %{_includedir}/boost/numeric/interval*
896 %{_includedir}/boost/numeric/conversion
897 %{_includedir}/boost/operators.hpp
898 %{_includedir}/boost/optional
899 %{_includedir}/boost/optional.hpp
900 %{_includedir}/boost/parameter
901 %{_includedir}/boost/parameter.hpp
902 %{_includedir}/boost/pending
903 %{_includedir}/boost/pfto.hpp
904 %{_includedir}/boost/pool
905 %{_includedir}/boost/pointee.hpp
906 %{_includedir}/boost/preprocessor
907 %{_includedir}/boost/preprocessor.hpp
908 %{_includedir}/boost/progress.hpp
909 %{_includedir}/boost/property_map*.hpp
910 %{_includedir}/boost/ptr_container
911 %{_includedir}/boost/random
912 %{_includedir}/boost/random.hpp
913 %{_includedir}/boost/range
914 %{_includedir}/boost/range.hpp
915 %{_includedir}/boost/rational.hpp
916 %{_includedir}/boost/scoped_*.hpp
917 %{_includedir}/boost/serialization
918 %{_includedir}/boost/shared_*.hpp
919 %{_includedir}/boost/smart_cast.hpp
920 %{_includedir}/boost/smart_ptr.hpp
921 %{_includedir}/boost/state_saver.hpp
922 %{_includedir}/boost/static_assert.hpp
923 %{_includedir}/boost/static_warning.hpp
924 %{_includedir}/boost/strong_typedef.hpp
925 %{_includedir}/boost/throw_exception.hpp
926 %{_includedir}/boost/timer.hpp
927 %{_includedir}/boost/token*.hpp
928 %{_includedir}/boost/tuple
929 %{_includedir}/boost/type.hpp
930 %{_includedir}/boost/type_traits.hpp
931 %{_includedir}/boost/type_traits
932 %{_includedir}/boost/utility*.hpp
933 %{_includedir}/boost/utility
934 %{_includedir}/boost/version.hpp
935 %{_includedir}/boost/vector_property_map.hpp
936 %{_includedir}/boost/weak_ptr.hpp
938 %{_includedir}/boost/variant.hpp
939 %{_includedir}/boost/variant
940 %{_includedir}/boost/blank.hpp
941 %{_includedir}/boost/detail/templated_streams.hpp
943 %{_includedir}/boost/aligned_storage.hpp
944 %{_includedir}/boost/detail/none_t.hpp
947 %defattr(644,root,root,755)
948 %{_libdir}/libboost_iostreams*.a
949 %{_libdir}/libboost_serialization*.a
950 %{_libdir}/libboost_wserialization*.a
954 %defattr(644,root,root,755)
955 %attr(755,root,root) %{_libdir}/libboost_python*.so.*.*.*
958 %defattr(644,root,root,755)
959 %attr(755,root,root) %{_libdir}/libboost_python*.so
960 %{_includedir}/boost/python
961 %{_includedir}/boost/python.hpp
964 %defattr(644,root,root,755)
965 %{_libdir}/libboost_python*.a
969 %defattr(644,root,root,755)
970 %attr(755,root,root) %{_libdir}/libboost_regex*.so.*.*.*
973 %defattr(644,root,root,755)
974 %attr(755,root,root) %{_libdir}/libboost_regex*.so
975 %{_includedir}/boost/cregex.hpp
976 %{_includedir}/boost/regex.h
977 %{_includedir}/boost/regex*.hpp
978 %{_includedir}/boost/regex
981 %defattr(644,root,root,755)
982 %{_libdir}/libboost_regex*.a
985 %defattr(644,root,root,755)
986 %{_includedir}/boost/any.hpp
989 %defattr(644,root,root,755)
990 %{_includedir}/boost/array.hpp
993 %defattr(644,root,root,755)
994 %{_includedir}/boost/bind
995 %{_includedir}/boost/bind.hpp
996 %{_includedir}/boost/get_pointer.hpp
997 %{_includedir}/boost/mem_fn.hpp
999 %files call_traits-devel
1000 %defattr(644,root,root,755)
1001 %{_includedir}/boost/call_traits.hpp
1002 %{_includedir}/boost/detail/call_traits.hpp
1003 %{_includedir}/boost/detail/ob_call_traits.hpp
1005 %files compatibility-devel
1006 %defattr(644,root,root,755)
1007 %{_includedir}/boost/compatibility
1009 %files compressed_pair-devel
1010 %defattr(644,root,root,755)
1011 %{_includedir}/boost/compressed_pair.hpp
1012 %{_includedir}/boost/detail/compressed_pair.hpp
1013 %{_includedir}/boost/detail/ob_compressed_pair.hpp
1016 %defattr(644,root,root,755)
1017 %{_includedir}/boost/crc.hpp
1020 %defattr(644,root,root,755)
1021 %attr(755,root,root) %{_libdir}/libboost_date_time*.so.*.*.*
1023 %files date_time-devel
1024 %defattr(644,root,root,755)
1025 %attr(755,root,root) %{_libdir}/libboost_date_time*.so
1026 %{_includedir}/boost/date_time
1028 %files date_time-static
1029 %defattr(644,root,root,755)
1030 %{_libdir}/libboost_date_time*.a
1033 %defattr(644,root,root,755)
1034 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so.*.*.*
1036 %files filesystem-devel
1037 %defattr(644,root,root,755)
1038 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so
1039 %{_includedir}/boost/filesystem
1041 %files filesystem-static
1042 %defattr(644,root,root,755)
1043 %{_libdir}/libboost_filesystem*.a
1045 %files program_options
1046 %defattr(644,root,root,755)
1047 %attr(755,root,root) %{_libdir}/libboost_program_options*.so.*.*.*
1049 %files program_options-devel
1050 %defattr(644,root,root,755)
1051 %attr(755,root,root) %{_libdir}/libboost_program_options*.so
1052 %{_includedir}/boost/program_options
1053 %{_includedir}/boost/program_options.hpp
1055 %files program_options-static
1056 %defattr(644,root,root,755)
1057 %{_libdir}/libboost_program_options*.a
1060 %defattr(644,root,root,755)
1061 %{_includedir}/boost/ref.hpp
1064 %defattr(644,root,root,755)
1065 %attr(755,root,root) %{_libdir}/libboost_signals*.so.*.*.*
1067 %files signals-devel
1068 %defattr(644,root,root,755)
1069 %attr(755,root,root) %{_libdir}/libboost_signals*.so
1070 %{_includedir}/boost/signal*.hpp
1071 %{_includedir}/boost/signals
1072 %{_includedir}/boost/last_value.hpp
1073 %{_includedir}/boost/visit_each.hpp
1075 %files signals-static
1076 %defattr(644,root,root,755)
1077 %{_libdir}/libboost_signals*.a
1080 %defattr(644,root,root,755)
1081 %{_includedir}/boost/spirit.hpp
1082 %{_includedir}/boost/spirit
1085 %defattr(644,root,root,755)
1086 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so.*.*.*
1087 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so.*.*.*
1088 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so.*.*.*
1091 %defattr(644,root,root,755)
1092 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so
1093 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so
1094 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so
1095 %{_includedir}/boost/test
1098 %defattr(644,root,root,755)
1099 %{_libdir}/libboost_prg_exec_monitor*.a
1100 %{_libdir}/libboost_test_exec_monitor*.a
1101 %{_libdir}/libboost_unit_test_framework*.a
1104 %defattr(644,root,root,755)
1105 %attr(755,root,root) %{_libdir}/libboost_thread*.so.*.*.*
1108 %defattr(644,root,root,755)
1109 %attr(755,root,root) %{_libdir}/libboost_thread*.so
1110 %{_includedir}/boost/thread
1111 %{_includedir}/boost/thread.hpp
1113 %files thread-static
1114 %defattr(644,root,root,755)
1115 %attr(755,root,root) %{_libdir}/libboost_thread*.a
1118 %defattr(644,root,root,755)
1119 %{_includedir}/boost/numeric/ublas
1122 %defattr(644,root,root,755)
1123 %{_libdir}/libboost_wave*.a
1124 %{_includedir}/boost/wave
1125 %{_includedir}/boost/wave.hpp
1128 %defattr(644,root,root,755)
1129 %{_docdir}/%{name}-%{version}