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
668 # -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only)
669 # don't know, is it gcc bug or intentional omission?
670 # anyway, boost check of -D_REENTRANT in its headers, so it's needed here
671 %{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam
676 PYTHON_VERSION=$(%{__python} -c 'import sys; print sys.version[0:3]')
677 PYTHON_ROOT=%{_prefix}
684 variant=release threading=multi inlining=on debug-symbols=on
686 # -sPYTHON_ROOT=$PYTHON_ROOT \
687 # -sPYTHON_VERSION=$PYTHON_VERSION
690 rm -rf $RPM_BUILD_ROOT
691 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
693 cp -rf boost $RPM_BUILD_ROOT%{_includedir}
695 install bin.v2/libs/*/build/gcc-*/release/debug-symbols-on/inlining-on/link-static/threading-multi/lib*.a $RPM_BUILD_ROOT%{_libdir}
696 install bin.v2/libs/*/build/gcc-*/release/debug-symbols-on/inlining-on/threading-multi/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
698 # create symlinks without -gccXX-mt-* things in names
699 for f in $RPM_BUILD_ROOT%{_libdir}/*.so.*.*.*; do
700 [ -f "$f" ] || continue
702 soname=$(basename "$f" | sed -e 's#-gcc..-mt-.*#.so#g')
703 ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/$soname"
705 for f in $RPM_BUILD_ROOT%{_libdir}/*.a; do
706 [ -f "$f" ] || continue
708 soname=$(basename "$f" | sed -e 's#-gcc..-mt-.*#.a#g')
709 ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/$soname"
713 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
714 install README $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
716 # as the documentation doesn't completely reside in a directory of its
717 # own, we need to find out ourselves... this looks for HTML files and
718 # then collects everything linked from those. this is certainly quite
719 # unoptimized wrt mkdir calls, but does it really matter?
721 for i in $(find -type f -name '*.htm*'); do
722 # bjam docu is included in the boost-jam RPM
723 if test "`echo $i | sed 's,jam_src,,'`" = "$i"; then
724 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/${i%/*}
725 for LINKED in `%{__perl} - $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i <<'EOT'
729 # rewrite links from boost/* to %{_includedir}/boost/* and
730 # ignore external links as well as document-internal ones.
731 # HTML files are also ignored as they get installed anyway.
732 if (!($link =~ s,^(?:../)*boost/,%{_includedir}/boost/,) && !($link =~ m,(?:^[^/]+:|^\#|\.html?(?:$|\#)),))
734 (my $file = $link) =~ s/\#.*//;
740 open OUT, ">@ARGV[1]";
744 $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e;
745 s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig;
747 $in_link = /href|src=\s*$/;
750 TARGET=${i%/*}/$LINKED
751 # ignore non-existant linked files
752 if test -f $TARGET; then
753 install -D -m 644 $TARGET $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$TARGET
761 rm -rf $RPM_BUILD_ROOT
763 %post -p /sbin/ldconfig
764 %postun -p /sbin/ldconfig
766 %post date_time -p /sbin/ldconfig
767 %postun date_time -p /sbin/ldconfig
769 %post filesystem -p /sbin/ldconfig
770 %postun filesystem -p /sbin/ldconfig
772 %post python -p /sbin/ldconfig
773 %postun python -p /sbin/ldconfig
775 %post program_options -p /sbin/ldconfig
776 %postun program_options -p /sbin/ldconfig
778 %post regex -p /sbin/ldconfig
779 %postun regex -p /sbin/ldconfig
781 %post signals -p /sbin/ldconfig
782 %postun signals -p /sbin/ldconfig
784 %post test -p /sbin/ldconfig
785 %postun test -p /sbin/ldconfig
787 %post thread -p /sbin/ldconfig
788 %postun thread -p /sbin/ldconfig
791 %defattr(644,root,root,755)
792 %attr(755,root,root) %{_libdir}/libboost_iostreams*.so.*.*.*
793 %attr(755,root,root) %{_libdir}/libboost_serialization*.so.*.*.*
794 %attr(755,root,root) %{_libdir}/libboost_wserialization*.so.*.*.*
797 %defattr(644,root,root,755)
798 %attr(755,root,root) %{_libdir}/libboost_iostreams*.so
799 %attr(755,root,root) %{_libdir}/libboost_serialization*.so
800 %attr(755,root,root) %{_libdir}/libboost_wserialization*.so
801 %dir %{_includedir}/boost
802 %{_includedir}/boost/algorithm
803 %{_includedir}/boost/archive
804 %{_includedir}/boost/assert.hpp
805 %{_includedir}/boost/assign
806 %{_includedir}/boost/assign.hpp
807 %{_includedir}/boost/blank_fwd.hpp
808 %{_includedir}/boost/cast.hpp
809 %{_includedir}/boost/checked_delete.hpp
810 %{_includedir}/boost/concept_archetype.hpp
811 %{_includedir}/boost/concept_check.hpp
812 %{_includedir}/boost/config
813 %{_includedir}/boost/config.hpp
814 %{_includedir}/boost/cstd*.hpp
815 %{_includedir}/boost/current_function.hpp
816 %dir %{_includedir}/boost/detail
817 %{_includedir}/boost/detail/algorithm.hpp
818 %{_includedir}/boost/detail/allocator_utilities.hpp
819 %{_includedir}/boost/detail/atomic_count*.hpp
820 %{_includedir}/boost/detail/bad_weak_ptr.hpp
821 %{_includedir}/boost/detail/binary_search.hpp
822 %{_includedir}/boost/detail/catch_exceptions.hpp
823 %{_includedir}/boost/detail/dynamic_bitset.hpp
824 %{_includedir}/boost/detail/endian.hpp
825 %{_includedir}/boost/detail/indirect_traits.hpp
826 %{_includedir}/boost/detail/interlocked.hpp
827 %{_includedir}/boost/detail/is_function_ref_tester.hpp
828 %{_includedir}/boost/detail/is_incrementable.hpp
829 %{_includedir}/boost/detail/is_xxx.hpp
830 %{_includedir}/boost/detail/iterator.hpp
831 %{_includedir}/boost/detail/lightweight_*.hpp
832 %{_includedir}/boost/detail/limits.hpp
833 %{_includedir}/boost/detail/lwm_*.hpp
834 %{_includedir}/boost/detail/named_template_params.hpp
835 %{_includedir}/boost/detail/no_exceptions_support.hpp
836 %{_includedir}/boost/detail/numeric_traits.hpp
837 %{_includedir}/boost/detail/quick_allocator.hpp
838 %{_includedir}/boost/detail/reference_content.hpp
839 %{_includedir}/boost/detail/select_type.hpp
840 %{_includedir}/boost/detail/shared_*.hpp
841 %{_includedir}/boost/detail/sp_counted_*.hpp
842 %{_includedir}/boost/detail/utf8_codecvt_facet.hpp
843 %{_includedir}/boost/detail/workaround.hpp
844 %{_includedir}/boost/dynamic_bitset
845 %{_includedir}/boost/dynamic_bitset.hpp
846 %{_includedir}/boost/dynamic_bitset_fwd.hpp
847 %{_includedir}/boost/dynamic_property_map.hpp
848 %{_includedir}/boost/enable_shared_from_this.hpp
849 %{_includedir}/boost/format
850 %{_includedir}/boost/format.hpp
851 %{_includedir}/boost/function
852 %{_includedir}/boost/function.hpp
853 %{_includedir}/boost/function_equal.hpp
854 %{_includedir}/boost/function_output_iterator.hpp
855 %{_includedir}/boost/functional
856 %{_includedir}/boost/functional.hpp
857 %{_includedir}/boost/generator_iterator.hpp
858 %{_includedir}/boost/graph
859 %{_includedir}/boost/implicit_cast.hpp
860 %{_includedir}/boost/indirect_reference.hpp
861 %{_includedir}/boost/integer
862 %{_includedir}/boost/integer*.hpp
863 %{_includedir}/boost/intrusive_ptr.hpp
864 %{_includedir}/boost/io
865 %{_includedir}/boost/iostreams
866 %{_includedir}/boost/io_fwd.hpp
867 %{_includedir}/boost/iterator*.hpp
868 %{_includedir}/boost/iterator
869 %{_includedir}/boost/lambda
870 %{_includedir}/boost/lexical_cast.hpp
871 %{_includedir}/boost/limits.hpp
872 %{_includedir}/boost/logic
873 %{_includedir}/boost/math
874 %{_includedir}/boost/math_fwd.hpp
875 %{_includedir}/boost/mpl
876 %{_includedir}/boost/multi_array
877 %{_includedir}/boost/multi_array.hpp
878 %{_includedir}/boost/multi_index
879 %{_includedir}/boost/multi_index_container.hpp
880 %{_includedir}/boost/multi_index_container_fwd.hpp
881 %{_includedir}/boost/next_prior.hpp
882 %{_includedir}/boost/noncopyable.hpp
883 %{_includedir}/boost/nondet_random.hpp
884 %{_includedir}/boost/none.hpp
885 %{_includedir}/boost/non_type.hpp
886 %dir %{_includedir}/boost/numeric
887 %{_includedir}/boost/numeric/interval*
888 %{_includedir}/boost/numeric/conversion
889 %{_includedir}/boost/operators.hpp
890 %{_includedir}/boost/optional
891 %{_includedir}/boost/optional.hpp
892 %{_includedir}/boost/parameter
893 %{_includedir}/boost/parameter.hpp
894 %{_includedir}/boost/pending
895 %{_includedir}/boost/pfto.hpp
896 %{_includedir}/boost/pool
897 %{_includedir}/boost/pointee.hpp
898 %{_includedir}/boost/preprocessor
899 %{_includedir}/boost/preprocessor.hpp
900 %{_includedir}/boost/progress.hpp
901 %{_includedir}/boost/property_map*.hpp
902 %{_includedir}/boost/ptr_container
903 %{_includedir}/boost/random
904 %{_includedir}/boost/random.hpp
905 %{_includedir}/boost/range
906 %{_includedir}/boost/range.hpp
907 %{_includedir}/boost/rational.hpp
908 %{_includedir}/boost/scoped_*.hpp
909 %{_includedir}/boost/serialization
910 %{_includedir}/boost/shared_*.hpp
911 %{_includedir}/boost/smart_cast.hpp
912 %{_includedir}/boost/smart_ptr.hpp
913 %{_includedir}/boost/state_saver.hpp
914 %{_includedir}/boost/static_assert.hpp
915 %{_includedir}/boost/static_warning.hpp
916 %{_includedir}/boost/strong_typedef.hpp
917 %{_includedir}/boost/throw_exception.hpp
918 %{_includedir}/boost/timer.hpp
919 %{_includedir}/boost/token*.hpp
920 %{_includedir}/boost/tuple
921 %{_includedir}/boost/type.hpp
922 %{_includedir}/boost/type_traits.hpp
923 %{_includedir}/boost/type_traits
924 %{_includedir}/boost/utility*.hpp
925 %{_includedir}/boost/utility
926 %{_includedir}/boost/version.hpp
927 %{_includedir}/boost/vector_property_map.hpp
928 %{_includedir}/boost/weak_ptr.hpp
930 %{_includedir}/boost/variant.hpp
931 %{_includedir}/boost/variant
932 %{_includedir}/boost/blank.hpp
933 %{_includedir}/boost/detail/templated_streams.hpp
935 %{_includedir}/boost/aligned_storage.hpp
936 %{_includedir}/boost/detail/none_t.hpp
939 %defattr(644,root,root,755)
940 %{_libdir}/libboost_iostreams*.a
941 %{_libdir}/libboost_serialization*.a
942 %{_libdir}/libboost_wserialization*.a
946 %defattr(644,root,root,755)
947 %attr(755,root,root) %{_libdir}/libboost_python*.so.*.*.*
950 %defattr(644,root,root,755)
951 %attr(755,root,root) %{_libdir}/libboost_python*.so
952 %{_includedir}/boost/python
953 %{_includedir}/boost/python.hpp
956 %defattr(644,root,root,755)
957 %{_libdir}/libboost_python*.a
961 %defattr(644,root,root,755)
962 %attr(755,root,root) %{_libdir}/libboost_regex*.so.*.*.*
965 %defattr(644,root,root,755)
966 %attr(755,root,root) %{_libdir}/libboost_regex*.so
967 %{_includedir}/boost/cregex.hpp
968 %{_includedir}/boost/regex.h
969 %{_includedir}/boost/regex*.hpp
970 %{_includedir}/boost/regex
973 %defattr(644,root,root,755)
974 %{_libdir}/libboost_regex*.a
977 %defattr(644,root,root,755)
978 %{_includedir}/boost/any.hpp
981 %defattr(644,root,root,755)
982 %{_includedir}/boost/array.hpp
985 %defattr(644,root,root,755)
986 %{_includedir}/boost/bind
987 %{_includedir}/boost/bind.hpp
988 %{_includedir}/boost/get_pointer.hpp
989 %{_includedir}/boost/mem_fn.hpp
991 %files call_traits-devel
992 %defattr(644,root,root,755)
993 %{_includedir}/boost/call_traits.hpp
994 %{_includedir}/boost/detail/call_traits.hpp
995 %{_includedir}/boost/detail/ob_call_traits.hpp
997 %files compatibility-devel
998 %defattr(644,root,root,755)
999 %{_includedir}/boost/compatibility
1001 %files compressed_pair-devel
1002 %defattr(644,root,root,755)
1003 %{_includedir}/boost/compressed_pair.hpp
1004 %{_includedir}/boost/detail/compressed_pair.hpp
1005 %{_includedir}/boost/detail/ob_compressed_pair.hpp
1008 %defattr(644,root,root,755)
1009 %{_includedir}/boost/crc.hpp
1012 %defattr(644,root,root,755)
1013 %attr(755,root,root) %{_libdir}/libboost_date_time*.so.*.*.*
1015 %files date_time-devel
1016 %defattr(644,root,root,755)
1017 %attr(755,root,root) %{_libdir}/libboost_date_time*.so
1018 %{_includedir}/boost/date_time
1020 %files date_time-static
1021 %defattr(644,root,root,755)
1022 %{_libdir}/libboost_date_time*.a
1025 %defattr(644,root,root,755)
1026 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so.*.*.*
1028 %files filesystem-devel
1029 %defattr(644,root,root,755)
1030 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so
1031 %{_includedir}/boost/filesystem
1033 %files filesystem-static
1034 %defattr(644,root,root,755)
1035 %{_libdir}/libboost_filesystem*.a
1037 %files program_options
1038 %defattr(644,root,root,755)
1039 %attr(755,root,root) %{_libdir}/libboost_program_options*.so.*.*.*
1041 %files program_options-devel
1042 %defattr(644,root,root,755)
1043 %attr(755,root,root) %{_libdir}/libboost_program_options*.so
1044 %{_includedir}/boost/program_options
1045 %{_includedir}/boost/program_options.hpp
1047 %files program_options-static
1048 %defattr(644,root,root,755)
1049 %{_libdir}/libboost_program_options*.a
1052 %defattr(644,root,root,755)
1053 %{_includedir}/boost/ref.hpp
1056 %defattr(644,root,root,755)
1057 %attr(755,root,root) %{_libdir}/libboost_signals*.so.*.*.*
1059 %files signals-devel
1060 %defattr(644,root,root,755)
1061 %attr(755,root,root) %{_libdir}/libboost_signals*.so
1062 %{_includedir}/boost/signal*.hpp
1063 %{_includedir}/boost/signals
1064 %{_includedir}/boost/last_value.hpp
1065 %{_includedir}/boost/visit_each.hpp
1067 %files signals-static
1068 %defattr(644,root,root,755)
1069 %{_libdir}/libboost_signals*.a
1072 %defattr(644,root,root,755)
1073 %{_includedir}/boost/spirit.hpp
1074 %{_includedir}/boost/spirit
1077 %defattr(644,root,root,755)
1078 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so.*.*.*
1079 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so.*.*.*
1082 %defattr(644,root,root,755)
1083 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so
1084 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so
1085 %{_includedir}/boost/test
1088 %defattr(644,root,root,755)
1089 %{_libdir}/libboost_prg_exec_monitor*.a
1090 %{_libdir}/libboost_test_exec_monitor*.a
1091 %{_libdir}/libboost_unit_test_framework*.a
1094 %defattr(644,root,root,755)
1095 %attr(755,root,root) %{_libdir}/libboost_thread*.so.*.*.*
1098 %defattr(644,root,root,755)
1099 %attr(755,root,root) %{_libdir}/libboost_thread*.so
1100 %{_includedir}/boost/thread
1101 %{_includedir}/boost/thread.hpp
1103 %files thread-static
1104 %defattr(644,root,root,755)
1105 %attr(755,root,root) %{_libdir}/libboost_thread*.a
1108 %defattr(644,root,root,755)
1109 %{_includedir}/boost/numeric/ublas
1112 %defattr(644,root,root,755)
1113 %{_libdir}/libboost_wave*.a
1114 %{_includedir}/boost/wave
1115 %{_includedir}/boost/wave.hpp
1118 %defattr(644,root,root,755)
1119 %{_docdir}/%{name}-%{version}