3 # - review python fixes.
4 # - add new subpackages and update files.
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: ed5b9291ffad776f8757a916e1726ad0
19 Patch0: %{name}-atomicity.patch
20 #Patch1: %{name}-python.patch
21 URL: http://www.boost.org/
22 BuildRequires: boost-jam >= 3.1.3
23 BuildRequires: bzip2-devel
24 BuildRequires: libicu-devel
25 BuildRequires: libstdc++-devel
26 BuildRequires: perl-base
27 %{?with_python:BuildRequires: python-devel >= 2.2}
28 BuildRequires: rpm-pythonprov
29 BuildRequires: zlib-devel
30 BuildConflicts: gcc = 5:3.3.1
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 The Boost web site provides free peer-reviewed portable C++ source
35 libraries. The emphasis is on libraries which work well with the C++
36 Standard Library. One goal is to establish "existing practice" and
37 provide reference implementations so that the Boost libraries are
38 suitable for eventual standardization. Some of the libraries have
39 already been proposed for inclusion in the C++ Standards Committee's
40 upcoming C++ Standard Library Technical Report.
42 %description -l pl.UTF-8
43 Strona http://www.boost.org/ dostarcza darmowe biblioteki C++ wraz z
44 kodem źródłowym. Nacisk położono na biblioteki, które dobrze
45 współpracują ze standardową biblioteką C++. Celem jest ustanowienie
46 "istniejącej praktyki" i dostarczenie implementacji, tak że biblioteki
47 "Boost" nadają się do ewentualnej standaryzacji. Niektóre z bibliotek
48 już zostały zgłoszone do komitetu standaryzacyjnego C++ w nadchodzącym
49 Raporcie Technicznym Biblioteki Standardowej C++
52 Summary: Boost C++ development headers
53 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek C++ Boost
54 Group: Development/Libraries
55 Requires: %{name} = %{version}-%{release}
56 Requires: %{name}-ref-devel = %{version}-%{release}
57 Requires: libstdc++-devel
58 # temporary Provides (until CVS HEAD stops using it)?
59 Provides: boost-concept_check-devel = %{version}-%{release}
60 Provides: boost-conversion-devel = %{version}-%{release}
61 Provides: boost-mpl-devel = %{version}-%{release}
62 Provides: boost-preprocessor-devel = %{version}-%{release}
63 Provides: boost-static_assert-devel = %{version}-%{release}
64 Provides: boost-type_traits-devel = %{version}-%{release}
65 Provides: boost-utility-devel = %{version}-%{release}
66 Obsoletes: boost-compose-devel
67 Obsoletes: boost-concept_check-devel
68 Obsoletes: boost-conversion-devel
69 Obsoletes: boost-mpl-devel
70 Obsoletes: boost-preprocessor-devel
71 Obsoletes: boost-static_assert-devel
72 Obsoletes: boost-type_traits-devel
73 Obsoletes: boost-utility-devel
76 Header files for the Boost C++ libraries.
78 %description devel -l pl.UTF-8
79 Pliki nagłówkowe bibliotek C++ Boost.
82 Summary: Static version of base Boost C++ libraries
83 Summary(pl.UTF-8): Statyczne wersje podstawowych bibliotek C++ Boost
84 Group: Development/Libraries
85 Requires: %{name}-devel = %{version}-%{release}
88 Static version of base Boost C++ libraries.
90 %description static -l pl.UTF-8
91 Statyczne wersje podstawowych bibliotek C++ Boost.
94 Summary: Boost.Python library
95 Summary(pl.UTF-8): biblioteka Boost.Python
100 Use the Boost Python Library to quickly and easily export a C++
101 library to Python such that the Python interface is very similar to
102 the C++ interface. It is designed to be minimally intrusive on your
103 C++ design. In most cases, you should not have to alter your C++
104 classes in any way in order to use them with Boost.Python. The system
105 should simply ``reflect'' your C++ classes and functions into Python.
107 %description python -l pl.UTF-8
108 Biblioteka Boost Python służy do szybkiego i prostego eksportu
109 biblioteki C++ do Pythona, tak że interfejs Pythona jest bardzo
110 podobny do interfejsu C++. Biblioteka jest zaprojektowana tak, żeby
111 narzucać jak najmniej wymagań dotyczących konstrukcjii C++. W
112 większości przypadków nie trzeba w ogóle zmieniać własnych klas C++,
113 żeby używać ich z Boost.Python. System powinien po prostu ,,odbić''
114 klasy C++ i funkcje do Pythona.
116 %package python-devel
117 Summary: Boost.Python development headers
118 Summary(pl.UTF-8): Pliki nagłówkowe dla Boost.Python
119 Group: Development/Libraries
120 Requires: %{name}-compressed_pair-devel = %{version}-%{release}
121 Requires: %{name}-devel = %{version}-%{release}
122 Requires: %{name}-python = %{version}-%{release}
124 %description python-devel
125 Headers for the Boost.Python library.
127 %description python-devel -l pl.UTF-8
128 Pliki nagłówkowe dla biblioteki Boost.Python.
130 %package python-static
131 Summary: Static version of Boost.Python library
132 Summary(pl.UTF-8): Statyczna wersja biblioteki Boost.Python
133 Group: Development/Libraries
134 Requires: %{name}-python-devel = %{version}-%{release}
136 %description python-static
137 Static version of Boost.Python library.
139 %description python-static -l pl.UTF-8
140 Statyczna wersja biblioteki Boost.Python.
143 Summary: Boost C++ regular expressions library
144 Summary(pl.UTF-8): Biblioteka wyrażeń regularnych Boost C++
148 Shared library for Boost C++ regular expressions.
150 %description regex -l pl.UTF-8
151 Biblioteka wyrażeń regularnych dla C++, biblioteki dzielone.
154 Summary: Boost C++ Regex library headers
155 Summary(pl.UTF-8): Pliki nagłówkowe Boost C++ Regex
156 Group: Development/Libraries
157 Requires: %{name}-devel = %{version}-%{release}
158 Requires: %{name}-regex = %{version}-%{release}
160 %description regex-devel
161 Boost C++ Regex headers.
163 %description regex-devel -l pl.UTF-8
164 Pliki nagłówkowe dla Boost C++ Regex.
166 %package regex-static
167 Summary: Boost C++ Regex static libraries
168 Summary(pl.UTF-8): Biblioteki statyczne Boost C++ Regex
169 Group: Development/Libraries
170 Requires: %{name}-regex-devel = %{version}-%{release}
172 %description regex-static
173 Boost C++ Regex static libraries.
175 %description regex-static -l pl.UTF-8
176 Biblioteki statyczne dla Boost C++ Regex.
179 Summary: Header for Boost C++ "Any" Library
180 Summary(pl.UTF-8): Plik nagłówkowy dla biblioteki Boost C++ "Any"
181 Group: Development/Libraries
182 Requires: %{name}-devel = %{version}-%{release}
184 %description any-devel
185 The boost::any class, is a variant value type, which supports copying
186 of any value type and safe checked extraction of that value strictly
189 I.e. 5 is held strictly as an int and is not implicitly convertible
190 either to "5" or to 5.0.
192 %description any-devel -l pl.UTF-8
193 Klasa boost::any jest typem, który umożliwia kopiowanie ze zmiennej
194 dowolnego typu i bezpieczne, sprawdzone wydobycie jej wartości
195 dokładnie tego samego typu.
197 Np. 5 jest trzymane jako int i nie jest niejawnie konwertowalne ani do
201 Summary: STL compliant container wrapper for arrays of constant size
202 Summary(pl.UTF-8): Wrapper na STLowe kontenery dla tablic o stałym rozmiarze
203 Group: Development/Libraries
204 Requires: %{name}-devel = %{version}-%{release}
206 %description array-devel
207 As replacement for ordinary arrays, the STL provides class vector<>.
208 However, vector<> provides the semantics of dynamic arrays. Thus, it
209 manages data to be able to change the number of elements. This results
210 in some overhead in case only arrays with static size are needed. This
211 library provides support for such static size arrays.
213 %description array-devel -l pl.UTF-8
214 STL dostarcza klasę vector<> jako zamiennik zwykłej tablicy. Jednak
215 vector<> dostarcza semantykę dynamicznych tablic. Zatem zarządza
216 danymi tak, by była możliwa zmiana ilości elementów. To skutkuje
217 pewnym nadmiarem w przypadku kiedy tylko tablice o stałym rozmiarze są
218 potrzebne. Ta biblioteka dostarcza wsparcie dla takich właśnie tablic
222 Summary: Generalized binders for function/object/pointers and member functions
223 Summary(pl.UTF-8): Uogólnione bindery dla funkcji/obiektów/wskaźników oraz metod
224 Group: Development/Libraries
225 Requires: %{name}-ref-devel = %{version}-%{release}
226 Provides: boost-mem_fn-devel = %{version}-%{release}
227 Obsoletes: boost-compose-devel
228 Obsoletes: boost-mem_fn-devel
230 %description bind-devel
231 boost::bind is a generalization of the standard functions std::bind1st
232 and std::bind2nd. This package contains also boost::mem_fn which is a
233 generalization of the standard functions std::mem_fun and
236 %description bind-devel -l pl.UTF-8
237 boost::bind jest uogólnieniem standardowych funkcji std::bind1st i
238 std::bind2nd. Ten pakiet zawiera także boost::mem_fn, który jest
239 uogólnieniem standardowych funkcji std::mem_fun i std::mem_fun_ref.
241 %package call_traits-devel
242 Summary: Defines types for passing parameters
243 Summary(pl.UTF-8): Definiowanie typów dla przekazywania parametrów
244 Group: Development/Libraries
245 Requires: %{name}-devel = %{version}-%{release}
247 %description call_traits-devel
248 boost::call_traits<T> encapsulates the "best" method to pass a
249 parameter of some type T to or from a function. The purpose of
250 call_traits is to ensure that problems like "references to references"
251 never occur, and that parameters are passed in the most efficient
254 %description call_traits-devel -l pl.UTF-8
255 boost::call_traits<T> zawiera "najlepszą" metodę przekazywania
256 parametrów jakiegoś typu T do lub z funkcji. Celem call_traits jest
257 zapewnienie że problemy takie jak "referencja referencji" nigdy nie
258 wystąpią i że parametry są przekazywane w możliwie najbardziej
261 %package compatibility-devel
262 Summary: Help for non-conforming standard libraries
263 Summary(pl.UTF-8): Pomoc dla nie trzymających standardu bibliotek
264 Group: Development/Libraries
265 Requires: %{name}-devel = %{version}-%{release}
267 %description compatibility-devel
268 This library provides workarounds which allow the other Boost
269 libraries to be used on otherwise non-conforming platforms.
271 %description compatibility-devel -l pl.UTF-8
272 Biblioteka dostarcza obejście problemu platform nie trzymających
273 standardu C++, pozwalające na używanie bibliotek Boost na tych
276 %package compose-devel
277 Summary: Functional composition adapters for the STL
278 Summary(pl.UTF-8): Funkcjonalne adaptery kompozycji dla STL
279 Group: Development/Libraries
280 Requires: %{name}-devel = %{version}-%{release}
282 %description compose-devel
283 The boost::compose provides compose function object adapter extensions
284 for use with the Standard Template Library (STL) portion of the C++
285 Standard Library. If you aren't currently using the STL, this library
286 won't be of any interest, but hard-core STL users will appreciate its
289 %description compose-devel -l pl.UTF-8
290 boost::compose dostarcza rozszerzenie adaptera obiektu funkcji compose
291 do użytku z STL-ową częścią Standardu C++. Jeżeli nie używasz STL,
292 biblioteka będzie poza twoim zainteresowaniem, lecz hardkorowi
293 użytkownicy STL-a docenią jej użyteczność.
295 %package compressed_pair-devel
296 Summary: Empty member optimization
297 Summary(pl.UTF-8): Optymalizacja pustego elementu
298 Group: Development/Libraries
299 Requires: %{name}-call_traits-devel = %{version}-%{release}
300 Requires: %{name}-devel = %{version}-%{release}
302 %description compressed_pair-devel
303 The class boost::compressed_pair is very similar to std::pair, but if
304 either of the template arguments are empty classes, then the "empty
305 base-class optimisation" is applied to compress the size of the pair.
307 %description compressed_pair-devel -l pl.UTF-8
308 Klasa boost::compressed_pair jest bardzo podobna do std::pair, ale
309 jeżeli któryś z argumentów wzorca jest pustą klasą, wtedy stosowana
310 jest "optymalizacja pustej klasy bazowej" do kompresji pary.
313 Summary: CRC computing library
314 Summary(pl.UTF-8): Biblioteka obliczająca CRC
315 Group: Development/Libraries
316 Requires: %{name}-devel = %{version}-%{release}
318 %description crc-devel
319 The boost::crc library provides two implementations of CRC computation
320 objects and functions. The implementations are template-based.
322 %description crc-devel -l pl.UTF-8
323 Bibliteka boost::crc dostarcza dwie implementacje obiektów i funkcji
324 obliczających CRC. Implementacje są oparte na wzorcach.
327 Summary: Date-Time library
328 Summary(pl.UTF-8): Biblioteka daty-czasu
330 Obsoletes: boost < 1.33
332 %description date_time
333 A set of date-time libraries.
335 %description date_time -l pl.UTF-8
336 Zbiór bibliotek daty-czasu.
338 %package date_time-devel
339 Summary: Header files for boost::date_time library
340 Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki boost::date_time
341 Group: Development/Libraries
342 Requires: %{name}-date_time = %{version}-%{release}
343 Requires: %{name}-devel = %{version}-%{release}
344 #TODO: make decision if do separate packages include it to main devel package
345 #Requires: %{name}-integer-devel = %{version}-%{release}
346 #Requires: %{name}-operators-devel = %{version}-%{release}
347 #Requires: %{name}-tokenizer-devel = %{version}-%{release}
349 %description date_time-devel
350 Header files for boost::date_time library.
352 %description date_time-devel -l pl.UTF-8
353 Pliki nagłówkowe dla biblioteki boost::date_time
355 %package date_time-static
356 Summary: Static boost::date_time library
357 Summary(pl.UTF-8): Statyczna biblioteka boost::date_time
358 Group: Development/Libraries
359 Requires: %{name}-date_time-devel = %{version}-%{release}
361 %description date_time-static
362 Static boost::date_time library.
364 %description date_time-devel -l pl.UTF-8
365 Statyczna biblioteka boost::date_time.
368 Summary: Portable paths, iteration over directories, and other useful filesystem operations
369 Summary(pl.UTF-8): Przenośne ścieżki, iteracje katalogów i inne użyteczne operacje na systemie plików
371 Obsoletes: boost < 1.33
373 %description filesystem
374 The boost::filesystem library provides portable facilities to query
375 and manipulate paths, files, and directories.
377 %description filesystem -l pl.UTF-8
378 Przenośna biblioteka boost::filesystem dostarcza ułatwienia w
379 operacjach na ścieżkach, plikach i katalogach.
381 %package filesystem-devel
382 Summary: Header files for boost::filesystem
383 Summary(pl.UTF-8): Pliki nagłówkowe dla boost::filesystem
384 Group: Development/Libraries
385 Requires: %{name}-devel = %{version}-%{release}
386 Requires: %{name}-filesystem = %{version}-%{release}
388 #Requires: %{name}-smart_ptr = %{version}-%{release}
390 %description filesystem-devel
391 Header files for boost::filesystem library.
393 %description filesystem-devel -l pl.UTF-8
394 Pliki nagłówkowe dla biblioteki boost::filesystem.
396 %package filesystem-static
397 Summary: Static boost::filesystem library
398 Summary(pl.UTF-8): Biblioteka statyczna boost::filesystem
399 Group: Development/Libraries
400 Requires: %{name}-filesystem-devel = %{version}-%{release}
401 Obsoletes: boost-static < 1.33
403 %description filesystem-static
404 Static boost::filesystem library.
406 %description filesystem-static -l pl.UTF-8
407 Biblioteka statyczna boost::filesystem.
409 %package program_options
410 Summary: Access to program options, via conventional methods such as command line and config file
411 Summary(pl.UTF-8): Dostęp do opcji programu za pomocą typowych metod, jak linia poleceń i plik konfiguracyjny
414 %description program_options
415 The program_options library allows program developers to obtain
416 program options, that is (name, value) pairs from the user, via
417 conventional methods such as command line and config file.
419 %description program_options -l pl.UTF-8
420 Biblioteka program_options umożliwia uzyskanie od użytkownika opcji
421 programu, czyli par (nazwa, wartość), za pomocą typowych metod, takich
422 jak linia poleceń, czy plik konfiguracyjny.
424 %package program_options-devel
425 Summary: Header files for boost::program_options
426 Summary(pl.UTF-8): Pliki nagłówkowe dla boost::program_options
427 Group: Development/Libraries
428 Requires: %{name}-any-devel = %{version}-%{release}
429 Requires: %{name}-bind-devel = %{version}-%{release}
430 Requires: %{name}-devel = %{version}-%{release}
431 Requires: %{name}-program_options = %{version}-%{release}
433 %description program_options-devel
434 Header files for boost::program_options library.
436 %description program_options-devel -l pl.UTF-8
437 Pliki nagłówkowe dla biblioteki boost::program_options.
439 %package program_options-static
440 Summary: Static boost::program_options library
441 Summary(pl.UTF-8): Biblioteka statyczna boost::program_options
442 Group: Development/Libraries
443 Requires: %{name}-program_options-devel = %{version}-%{release}
444 Obsoletes: boost-static < 1.33
446 %description program_options-static
447 Static boost::program_options library.
449 %description program_options-static -l pl.UTF-8
450 Biblioteka statyczna boost::program_options.
453 Summary: Small library useful for passing references to function templates
454 Summary(pl.UTF-8): Mała biblioteka użyteczna przy przekazywaniu referencji do wzorców funkcji
455 Group: Development/Libraries
456 Requires: %{name}-devel = %{version}-%{release}
458 %description ref-devel
459 boost::ref library is a small library that is useful for passing
460 references to function templates (algorithms) that would usually take
461 copies of their arguments.
463 %description ref-devel -l pl.UTF-8
464 Biblioteka boost::ref jest małą biblioteką która jest użyteczna w
465 przypadku przekazywania referencji do wzorców funkcji (algorytmów)
466 które zazwyczaj biorą kopię swoich argumentów.
469 Summary: Signals & slots callback implementation
470 Summary(pl.UTF-8): Implementacja sygnałów i slotów
472 Obsoletes: boost < 1.33
475 The boost::signals library is an implementation of a signals and slots
478 %description signals -l pl.UTF-8
479 Biblioteka boost::signals jest implementacją systemu sygnałów i
482 %package signals-devel
483 Summary: Header files for boost::signals library
484 Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki boost::signals
485 Group: Development/Libraries
486 Requires: %{name}-any-devel = %{version}-%{release}
487 Requires: %{name}-devel = %{version}-%{release}
488 Requires: %{name}-signals = %{version}-%{release}
489 #TODO: separate smart_ptr or include to the main devel package
490 Requires: %{name}-bind-devel = %{version}-%{release}
491 #Requires: %{name}-iterator_adaptors-devel = %{version}-%{release}
492 #Requires: %{name}-operators-devel = %{version}-%{release}
493 Requires: %{name}-ref-devel = %{version}-%{release}
494 #Requires: %{name}-smart_ptr-devel = %{version}-%{release}
496 %description signals-devel
497 Header files for boost::signals library.
499 %description signals-devel -l pl.UTF-8
500 Pliki nagłówkowe dla biblioteki boost::signals.
502 %package signals-static
503 Summary: Static library for boost::signals
504 Summary(pl.UTF-8): Biblioteka statyczna dla boost::signals
505 Group: Development/Libraries
506 Requires: %{name}-signals-devel = %{version}-%{release}
508 %description signals-static
509 Static library for boost::signals.
511 %description signals-static -l pl.UTF-8
512 Biblioteka statyczna dla boost::signals.
514 %package spirit-devel
515 Summary: LL parser framework
516 Summary(pl.UTF-8): Szkielet parsera LL
517 Group: Development/Libraries
518 Requires: %{name}-compressed_pair-devel = %{version}-%{release}
519 Requires: %{name}-ref-devel = %{version}-%{release}
520 Requires: %{name}-regex-devel = %{version}-%{release}
521 Requires: %{name}-thread-devel = %{version}-%{release}
523 #?Requires: %{name}-iterators-devel = %{version}-%{release}
524 #?Requires: %{name}-smart_ptr-devel = %{version}-%{release}
526 %description spirit-devel
527 LL parser framework represents parsers directly as EBNF grammars in
530 %description spirit-devel -l pl.UTF-8
531 Szkielet parsera LL reprezentujący parsery jako gramatyki EBNF
532 bezpośrednio w kodzie C++.
535 Summary: Support for program testing and execution monitoring
536 Summary(pl.UTF-8): Wsparcie dla testowania i monitorowania programu
538 Obsoletes: boost < 1.33
541 Support for simple program testing, full unit testing, and for program
542 execution monitoring.
544 %description test -l pl.UTF-8
545 Wsparcie dla prostego testowania programu, pełnego testowania i
546 monitorowania wykonania programu.
549 Summary: Header files for boost::test
550 Summary(pl.UTF-8): Pliki nagłówkowe dla boost::test
551 Group: Development/Libraries
552 Requires: %{name}-call_traits-devel = %{version}-%{release}
553 Requires: %{name}-devel = %{version}-%{release}
554 Requires: %{name}-test = %{version}-%{release}
556 #?Requires?: %{name}-function-devel = %{version}-%{release}
557 #Requires: %{name}-smart_ptr = %{version}-%{release}
559 %description test-devel
560 Header files for boost::test.
562 %description test-devel -l pl.UTF-8
563 Pliki nagłówkowe dla boost::test.
566 Summary: Static boost::test libraries
567 Summary(pl.UTF-8): Biblioteki statyczne boost::test
568 Group: Development/Libraries
569 Requires: %{name}-test-devel = %{version}-%{release}
570 Obsoletes: boost-static < 1.33
572 %description test-static
573 Static boost::test libraries.
575 %description test-static -l pl.UTF-8
576 Biblioteki statyczne boost::test.
579 Summary: Portable C++ threads library
580 Summary(pl.UTF-8): Przenośna biblioteka wątków C++
582 Obsoletes: boost < 1.33
585 Portable C++ threads library - shared library.
587 %description thread -l pl.UTF-8
588 Przenośna biblioteka wątków dla C++ - biblioteka dzielona.
590 %package thread-devel
591 Summary: Header files for boost::thread library
592 Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki boost::thread
593 Group: Development/Libraries
594 Requires: %{name}-devel = %{version}-%{release}
595 Requires: %{name}-thread = %{version}-%{release}
596 #TODO:requires boost::function or boost::function to boost-devel
598 %description thread-devel
599 Header files for boost::thread library.
601 %description thread-devel -l pl.UTF-8
602 Pliki nagłówkowe dla biblioteki boost::thread.
604 %package thread-static
605 Summary: Portable C++ threads library - static version
606 Summary(pl.UTF-8): Przenośna biblioteka wątków C++ - wersja statyczna
608 Requires: %{name}-thread-devel = %{version}-%{release}
609 Obsoletes: boost < 1.33
611 %description thread-static
612 Portable C++ threads library - static library.
614 %description thread-static -l pl.UTF-8
615 Przenośna biblioteka wątków dla C++ - biblioteka statyczna.
618 Summary: Basic linear algebra for dense, packed and sparse matrices
619 Summary(pl.UTF-8): Prosta liniowa algebra dla gęstych, upakowanych i rzadkich macierzy
620 Group: Development/Libraries
621 Requires: %{name}-devel = %{version}-%{release}
623 %description uBLAS-devel
624 uBLAS library provides templated C++ classes for dense, unit and
625 sparse vectors, dense, identity, triangular, banded, symmetric,
626 hermitian and sparse matrices.
628 %description uBLAS-devel -l pl.UTF-8
629 Biblioteka uBLAS dostarcza wzorce klas C++ dla gęstych, jednostkowych
630 i rzadkich wektorów oraz gęstych, jednostkowych, trójkątnych,
631 diagonalnych, symetrycznych, hermitowskich i rzadkich macierzy.
634 Summary: Boost.Wave - a standard compliant C++ preprocessor library
635 Summary(pl.UTF-8): Boost.Wave - zgodna ze standardem biblioteka preprocesora C++
636 Group: Development/Libraries
637 Requires: %{name}-devel = %{version}-%{release}
639 %description wave-devel
640 Boost.Wave - a standard compliant C++ preprocessor library.
642 %description wave-devel -l pl.UTF-8
643 Boost.Wave - zgodna ze standardem biblioteka preprocesora C++.
646 Summary: Boost C++ Library documentation
647 Summary(pl.UTF-8): Dokumentacja dla biblioteki Boost C++
649 Requires: %{name}-devel = %{version}-%{release}
652 Documentation for the Boost C++ Library.
654 %description doc -l pl.UTF-8
655 Dokumentacja dla biblioteki Boost C++.
658 %setup -q -n %{name}_%{_fver}
662 # - don't know how to pass it through (b)jam -s (no way?)
663 # due to oversophisticated build flags system.
664 # - pass -fPIC due to <shared-linkable> removal.
665 %{__perl} -pi -e 's/ -O3 / %{rpmcxxflags} -fPIC /' tools/build/v2/tools/gcc.jam
666 # - we pass debug flags in cxxflags, so remove hardcoded -g.
667 %{__perl} -pi -e 's/ -g / -gdwarf-2 -g2 /' tools/build/v2/tools/gcc.jam
670 # -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only)
671 # don't know, is it gcc bug or intentional omission?
672 # anyway, boost check of -D_REENTRANT in its headers, so it's needed here
673 %{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam
678 PYTHON_VERSION=$(%{__python} -c 'import sys; print sys.version[0:3]')
679 PYTHON_ROOT=%{_prefix}
686 variant=release threading=multi inlining=on debug-symbols=on
688 # -sPYTHON_ROOT=$PYTHON_ROOT \
689 # -sPYTHON_VERSION=$PYTHON_VERSION
692 rm -rf $RPM_BUILD_ROOT
693 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
695 cp -rf boost $RPM_BUILD_ROOT%{_includedir}
697 install bin.v2/libs/*/build/gcc-*/release/debug-symbols-on/inlining-on/link-static/threading-multi/lib*.a $RPM_BUILD_ROOT%{_libdir}
698 install bin.v2/libs/*/build/gcc-*/release/debug-symbols-on/inlining-on/threading-multi/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
700 # create symlinks without -gcc42-mt-* things in names
701 for f in $RPM_BUILD_ROOT%{_libdir}/*.so.*.*.*; do
702 [ -f "$f" ] || continue
704 soname=$(basename "$f" | sed -e 's#-gcc42-mt-.*#.so#g')
705 ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/$soname"
707 for f in $RPM_BUILD_ROOT%{_libdir}/*.a; do
708 [ -f "$f" ] || continue
710 soname=$(basename "$f" | sed -e 's#-gcc42-mt-.*#.a#g')
711 ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/$soname"
715 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
716 install README $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
718 # as the documentation doesn't completely reside in a directory of its
719 # own, we need to find out ourselves... this looks for HTML files and
720 # then collects everything linked from those. this is certainly quite
721 # unoptimized wrt mkdir calls, but does it really matter?
723 for i in $(find -type f -name '*.htm*'); do
724 # bjam docu is included in the boost-jam RPM
725 if test "`echo $i | sed 's,jam_src,,'`" = "$i"; then
726 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/${i%/*}
727 for LINKED in `%{__perl} - $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i <<'EOT'
731 # rewrite links from boost/* to %{_includedir}/boost/* and
732 # ignore external links as well as document-internal ones.
733 # HTML files are also ignored as they get installed anyway.
734 if (!($link =~ s,^(?:../)*boost/,%{_includedir}/boost/,) && !($link =~ m,(?:^[^/]+:|^\#|\.html?(?:$|\#)),))
736 (my $file = $link) =~ s/\#.*//;
742 open OUT, ">@ARGV[1]";
746 $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e;
747 s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig;
749 $in_link = /href|src=\s*$/;
752 TARGET=${i%/*}/$LINKED
753 # ignore non-existant linked files
754 if test -f $TARGET; then
755 install -D -m 644 $TARGET $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$TARGET
763 rm -rf $RPM_BUILD_ROOT
765 %post -p /sbin/ldconfig
766 %postun -p /sbin/ldconfig
768 %post date_time -p /sbin/ldconfig
769 %postun date_time -p /sbin/ldconfig
771 %post filesystem -p /sbin/ldconfig
772 %postun filesystem -p /sbin/ldconfig
774 %post python -p /sbin/ldconfig
775 %postun python -p /sbin/ldconfig
777 %post program_options -p /sbin/ldconfig
778 %postun program_options -p /sbin/ldconfig
780 %post regex -p /sbin/ldconfig
781 %postun regex -p /sbin/ldconfig
783 %post signals -p /sbin/ldconfig
784 %postun signals -p /sbin/ldconfig
786 %post test -p /sbin/ldconfig
787 %postun test -p /sbin/ldconfig
789 %post thread -p /sbin/ldconfig
790 %postun thread -p /sbin/ldconfig
793 %defattr(644,root,root,755)
794 %attr(755,root,root) %{_libdir}/libboost_iostreams*.so.*.*.*
795 %attr(755,root,root) %{_libdir}/libboost_serialization*.so.*.*.*
796 %attr(755,root,root) %{_libdir}/libboost_wserialization*.so.*.*.*
799 %defattr(644,root,root,755)
800 %attr(755,root,root) %{_libdir}/libboost_iostreams*.so
801 %attr(755,root,root) %{_libdir}/libboost_serialization*.so
802 %attr(755,root,root) %{_libdir}/libboost_wserialization*.so
803 %dir %{_includedir}/boost
804 %{_includedir}/boost/algorithm
805 %{_includedir}/boost/archive
806 %{_includedir}/boost/assert.hpp
807 %{_includedir}/boost/assign
808 %{_includedir}/boost/assign.hpp
809 %{_includedir}/boost/blank_fwd.hpp
810 %{_includedir}/boost/cast.hpp
811 %{_includedir}/boost/checked_delete.hpp
812 %{_includedir}/boost/concept_archetype.hpp
813 %{_includedir}/boost/concept_check.hpp
814 %{_includedir}/boost/config
815 %{_includedir}/boost/config.hpp
816 %{_includedir}/boost/cstd*.hpp
817 %{_includedir}/boost/current_function.hpp
818 %dir %{_includedir}/boost/detail
819 %{_includedir}/boost/detail/algorithm.hpp
820 %{_includedir}/boost/detail/allocator_utilities.hpp
821 %{_includedir}/boost/detail/atomic_count*.hpp
822 %{_includedir}/boost/detail/bad_weak_ptr.hpp
823 %{_includedir}/boost/detail/binary_search.hpp
824 %{_includedir}/boost/detail/catch_exceptions.hpp
825 %{_includedir}/boost/detail/dynamic_bitset.hpp
826 %{_includedir}/boost/detail/endian.hpp
827 %{_includedir}/boost/detail/indirect_traits.hpp
828 %{_includedir}/boost/detail/interlocked.hpp
829 %{_includedir}/boost/detail/is_function_ref_tester.hpp
830 %{_includedir}/boost/detail/is_incrementable.hpp
831 %{_includedir}/boost/detail/is_xxx.hpp
832 %{_includedir}/boost/detail/iterator.hpp
833 %{_includedir}/boost/detail/lightweight_*.hpp
834 %{_includedir}/boost/detail/limits.hpp
835 %{_includedir}/boost/detail/lwm_*.hpp
836 %{_includedir}/boost/detail/named_template_params.hpp
837 %{_includedir}/boost/detail/no_exceptions_support.hpp
838 %{_includedir}/boost/detail/numeric_traits.hpp
839 %{_includedir}/boost/detail/quick_allocator.hpp
840 %{_includedir}/boost/detail/reference_content.hpp
841 %{_includedir}/boost/detail/select_type.hpp
842 %{_includedir}/boost/detail/shared_*.hpp
843 %{_includedir}/boost/detail/sp_counted_*.hpp
844 %{_includedir}/boost/detail/utf8_codecvt_facet.hpp
845 %{_includedir}/boost/detail/workaround.hpp
846 %{_includedir}/boost/dynamic_bitset
847 %{_includedir}/boost/dynamic_bitset.hpp
848 %{_includedir}/boost/dynamic_bitset_fwd.hpp
849 %{_includedir}/boost/dynamic_property_map.hpp
850 %{_includedir}/boost/enable_shared_from_this.hpp
851 %{_includedir}/boost/format
852 %{_includedir}/boost/format.hpp
853 %{_includedir}/boost/function
854 %{_includedir}/boost/function.hpp
855 %{_includedir}/boost/function_equal.hpp
856 %{_includedir}/boost/function_output_iterator.hpp
857 %{_includedir}/boost/functional
858 %{_includedir}/boost/functional.hpp
859 %{_includedir}/boost/generator_iterator.hpp
860 %{_includedir}/boost/graph
861 %{_includedir}/boost/implicit_cast.hpp
862 %{_includedir}/boost/indirect_reference.hpp
863 %{_includedir}/boost/integer
864 %{_includedir}/boost/integer*.hpp
865 %{_includedir}/boost/intrusive_ptr.hpp
866 %{_includedir}/boost/io
867 %{_includedir}/boost/iostreams
868 %{_includedir}/boost/io_fwd.hpp
869 %{_includedir}/boost/iterator*.hpp
870 %{_includedir}/boost/iterator
871 %{_includedir}/boost/lambda
872 %{_includedir}/boost/lexical_cast.hpp
873 %{_includedir}/boost/limits.hpp
874 %{_includedir}/boost/logic
875 %{_includedir}/boost/math
876 %{_includedir}/boost/math_fwd.hpp
877 %{_includedir}/boost/mpl
878 %{_includedir}/boost/multi_array
879 %{_includedir}/boost/multi_array.hpp
880 %{_includedir}/boost/multi_index
881 %{_includedir}/boost/multi_index_container.hpp
882 %{_includedir}/boost/multi_index_container_fwd.hpp
883 %{_includedir}/boost/next_prior.hpp
884 %{_includedir}/boost/noncopyable.hpp
885 %{_includedir}/boost/nondet_random.hpp
886 %{_includedir}/boost/none.hpp
887 %{_includedir}/boost/non_type.hpp
888 %dir %{_includedir}/boost/numeric
889 %{_includedir}/boost/numeric/interval*
890 %{_includedir}/boost/numeric/conversion
891 %{_includedir}/boost/operators.hpp
892 %{_includedir}/boost/optional
893 %{_includedir}/boost/optional.hpp
894 %{_includedir}/boost/parameter
895 %{_includedir}/boost/parameter.hpp
896 %{_includedir}/boost/pending
897 %{_includedir}/boost/pfto.hpp
898 %{_includedir}/boost/pool
899 %{_includedir}/boost/pointee.hpp
900 %{_includedir}/boost/preprocessor
901 %{_includedir}/boost/preprocessor.hpp
902 %{_includedir}/boost/progress.hpp
903 %{_includedir}/boost/property_map*.hpp
904 %{_includedir}/boost/ptr_container
905 %{_includedir}/boost/random
906 %{_includedir}/boost/random.hpp
907 %{_includedir}/boost/range
908 %{_includedir}/boost/range.hpp
909 %{_includedir}/boost/rational.hpp
910 %{_includedir}/boost/scoped_*.hpp
911 %{_includedir}/boost/serialization
912 %{_includedir}/boost/shared_*.hpp
913 %{_includedir}/boost/smart_cast.hpp
914 %{_includedir}/boost/smart_ptr.hpp
915 %{_includedir}/boost/state_saver.hpp
916 %{_includedir}/boost/static_assert.hpp
917 %{_includedir}/boost/static_warning.hpp
918 %{_includedir}/boost/strong_typedef.hpp
919 %{_includedir}/boost/throw_exception.hpp
920 %{_includedir}/boost/timer.hpp
921 %{_includedir}/boost/token*.hpp
922 %{_includedir}/boost/tuple
923 %{_includedir}/boost/type.hpp
924 %{_includedir}/boost/type_traits.hpp
925 %{_includedir}/boost/type_traits
926 %{_includedir}/boost/utility*.hpp
927 %{_includedir}/boost/utility
928 %{_includedir}/boost/version.hpp
929 %{_includedir}/boost/vector_property_map.hpp
930 %{_includedir}/boost/weak_ptr.hpp
932 %{_includedir}/boost/variant.hpp
933 %{_includedir}/boost/variant
934 %{_includedir}/boost/blank.hpp
935 %{_includedir}/boost/detail/templated_streams.hpp
937 %{_includedir}/boost/aligned_storage.hpp
938 %{_includedir}/boost/detail/none_t.hpp
941 %defattr(644,root,root,755)
942 %{_libdir}/libboost_iostreams*.a
943 %{_libdir}/libboost_serialization*.a
944 %{_libdir}/libboost_wserialization*.a
948 %defattr(644,root,root,755)
949 %attr(755,root,root) %{_libdir}/libboost_python*.so.*.*.*
952 %defattr(644,root,root,755)
953 %attr(755,root,root) %{_libdir}/libboost_python*.so
954 %{_includedir}/boost/python
955 %{_includedir}/boost/python.hpp
958 %defattr(644,root,root,755)
959 %{_libdir}/libboost_python*.a
963 %defattr(644,root,root,755)
964 %attr(755,root,root) %{_libdir}/libboost_regex*.so.*.*.*
967 %defattr(644,root,root,755)
968 %attr(755,root,root) %{_libdir}/libboost_regex*.so
969 %{_includedir}/boost/cregex.hpp
970 %{_includedir}/boost/regex.h
971 %{_includedir}/boost/regex*.hpp
972 %{_includedir}/boost/regex
975 %defattr(644,root,root,755)
976 %{_libdir}/libboost_regex*.a
979 %defattr(644,root,root,755)
980 %{_includedir}/boost/any.hpp
983 %defattr(644,root,root,755)
984 %{_includedir}/boost/array.hpp
987 %defattr(644,root,root,755)
988 %{_includedir}/boost/bind
989 %{_includedir}/boost/bind.hpp
990 %{_includedir}/boost/get_pointer.hpp
991 %{_includedir}/boost/mem_fn.hpp
993 %files call_traits-devel
994 %defattr(644,root,root,755)
995 %{_includedir}/boost/call_traits.hpp
996 %{_includedir}/boost/detail/call_traits.hpp
997 %{_includedir}/boost/detail/ob_call_traits.hpp
999 %files compatibility-devel
1000 %defattr(644,root,root,755)
1001 %{_includedir}/boost/compatibility
1003 %files compressed_pair-devel
1004 %defattr(644,root,root,755)
1005 %{_includedir}/boost/compressed_pair.hpp
1006 %{_includedir}/boost/detail/compressed_pair.hpp
1007 %{_includedir}/boost/detail/ob_compressed_pair.hpp
1010 %defattr(644,root,root,755)
1011 %{_includedir}/boost/crc.hpp
1014 %defattr(644,root,root,755)
1015 %attr(755,root,root) %{_libdir}/libboost_date_time*.so.*.*.*
1017 %files date_time-devel
1018 %defattr(644,root,root,755)
1019 %attr(755,root,root) %{_libdir}/libboost_date_time*.so
1020 %{_includedir}/boost/date_time
1022 %files date_time-static
1023 %defattr(644,root,root,755)
1024 %{_libdir}/libboost_date_time*.a
1027 %defattr(644,root,root,755)
1028 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so.*.*.*
1030 %files filesystem-devel
1031 %defattr(644,root,root,755)
1032 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so
1033 %{_includedir}/boost/filesystem
1035 %files filesystem-static
1036 %defattr(644,root,root,755)
1037 %{_libdir}/libboost_filesystem*.a
1039 %files program_options
1040 %defattr(644,root,root,755)
1041 %attr(755,root,root) %{_libdir}/libboost_program_options*.so.*.*.*
1043 %files program_options-devel
1044 %defattr(644,root,root,755)
1045 %attr(755,root,root) %{_libdir}/libboost_program_options*.so
1046 %{_includedir}/boost/program_options
1047 %{_includedir}/boost/program_options.hpp
1049 %files program_options-static
1050 %defattr(644,root,root,755)
1051 %{_libdir}/libboost_program_options*.a
1054 %defattr(644,root,root,755)
1055 %{_includedir}/boost/ref.hpp
1058 %defattr(644,root,root,755)
1059 %attr(755,root,root) %{_libdir}/libboost_signals*.so.*.*.*
1061 %files signals-devel
1062 %defattr(644,root,root,755)
1063 %attr(755,root,root) %{_libdir}/libboost_signals*.so
1064 %{_includedir}/boost/signal*.hpp
1065 %{_includedir}/boost/signals
1066 %{_includedir}/boost/last_value.hpp
1067 %{_includedir}/boost/visit_each.hpp
1069 %files signals-static
1070 %defattr(644,root,root,755)
1071 %{_libdir}/libboost_signals*.a
1074 %defattr(644,root,root,755)
1075 %{_includedir}/boost/spirit.hpp
1076 %{_includedir}/boost/spirit
1079 %defattr(644,root,root,755)
1080 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so.*.*.*
1081 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so.*.*.*
1084 %defattr(644,root,root,755)
1085 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so
1086 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so
1087 %{_includedir}/boost/test
1090 %defattr(644,root,root,755)
1091 %{_libdir}/libboost_prg_exec_monitor*.a
1092 %{_libdir}/libboost_test_exec_monitor*.a
1093 %{_libdir}/libboost_unit_test_framework*.a
1096 %defattr(644,root,root,755)
1097 %attr(755,root,root) %{_libdir}/libboost_thread*.so.*.*.*
1100 %defattr(644,root,root,755)
1101 %attr(755,root,root) %{_libdir}/libboost_thread*.so
1102 %{_includedir}/boost/thread
1103 %{_includedir}/boost/thread.hpp
1105 %files thread-static
1106 %defattr(644,root,root,755)
1107 %attr(755,root,root) %{_libdir}/libboost_thread*.a
1110 %defattr(644,root,root,755)
1111 %{_includedir}/boost/numeric/ublas
1114 %defattr(644,root,root,755)
1115 %{_libdir}/libboost_wave*.a
1116 %{_includedir}/boost/wave
1117 %{_includedir}/boost/wave.hpp
1120 %defattr(644,root,root,755)
1121 %{_docdir}/%{name}-%{version}