]> git.pld-linux.org Git - packages/boost.git/blob - boost.spec
- bogus include from libstdc++-4.2.0 todo added
[packages/boost.git] / boost.spec
1 #
2 # TODO:
3 # - /usr/include/boost/detail/atomic_cont_gcc.hpp includes bits/atomicity.h
4 #   but new libstdc++ has ext/atomicity.h
5 #
6 # Conditional build:
7 %bcond_without  python  # without boost-python support
8 #
9 %define _fver   %(echo %{version} | tr . _)
10 Summary:        The Boost C++ Libraries
11 Summary(pl.UTF-8):      Biblioteki C++ "Boost"
12 Name:           boost
13 Version:        1.33.1
14 Release:        7
15 License:        Boost Software License and others
16 Group:          Libraries
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 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)
32
33 %description
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.
41
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++
50
51 %package devel
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
74
75 %description devel
76 Header files for the Boost C++ libraries.
77
78 %description devel -l pl.UTF-8
79 Pliki nagłówkowe bibliotek C++ Boost.
80
81 %package static
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}
86
87 %description static
88 Static version of base Boost C++ libraries.
89
90 %description static -l pl.UTF-8
91 Statyczne wersje podstawowych bibliotek C++ Boost.
92
93 %package python
94 Summary:        Boost.Python library
95 Summary(pl.UTF-8):      biblioteka Boost.Python
96 Group:          Libraries
97 %pyrequires_eq  python
98
99 %description 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.
106
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.
115
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}
123
124 %description python-devel
125 Headers for the Boost.Python library.
126
127 %description python-devel -l pl.UTF-8
128 Pliki nagłówkowe dla biblioteki Boost.Python.
129
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}
135
136 %description python-static
137 Static version of Boost.Python library.
138
139 %description python-static -l pl.UTF-8
140 Statyczna wersja biblioteki Boost.Python.
141
142 %package regex
143 Summary:        Boost C++ regular expressions library
144 Summary(pl.UTF-8):      Biblioteka wyrażeń regularnych Boost C++
145 Group:          Libraries
146
147 %description regex
148 Shared library for Boost C++ regular expressions.
149
150 %description regex -l pl.UTF-8
151 Biblioteka wyrażeń regularnych dla C++, biblioteki dzielone.
152
153 %package regex-devel
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}
159
160 %description regex-devel
161 Boost C++ Regex headers.
162
163 %description regex-devel -l pl.UTF-8
164 Pliki nagłówkowe dla Boost C++ Regex.
165
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}
171
172 %description regex-static
173 Boost C++ Regex static libraries.
174
175 %description regex-static -l pl.UTF-8
176 Biblioteki statyczne dla Boost C++ Regex.
177
178 %package any-devel
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}
183
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
187 against that type.
188
189 I.e. 5 is held strictly as an int and is not implicitly convertible
190 either to "5" or to 5.0.
191
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.
196
197 Np. 5 jest trzymane jako int i nie jest niejawnie konwertowalne ani do
198 "5" ani do 5.0.
199
200 %package array-devel
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}
205
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.
212
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
219 o stałym rozmiarze.
220
221 %package bind-devel
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
229
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
234 std::mem_fun_ref.
235
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.
240
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}
246
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
252 manner possible.
253
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
259 efektywny sposób.
260
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}
266
267 %description compatibility-devel
268 This library provides workarounds which allow the other Boost
269 libraries to be used on otherwise non-conforming platforms.
270
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
274 platformach.
275
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}
281
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
287 usefulness.
288
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ść.
294
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}
301
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.
306
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.
311
312 %package crc-devel
313 Summary:        CRC computing library
314 Summary(pl.UTF-8):      Biblioteka obliczająca CRC
315 Group:          Development/Libraries
316 Requires:       %{name}-devel = %{version}-%{release}
317
318 %description crc-devel
319 The boost::crc library provides two implementations of CRC computation
320 objects and functions. The implementations are template-based.
321
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.
325
326 %package date_time
327 Summary:        Date-Time library
328 Summary(pl.UTF-8):      Biblioteka daty-czasu
329 Group:          Libraries
330 Obsoletes:      boost < 1.33
331
332 %description date_time
333 A set of date-time libraries.
334
335 %description date_time -l pl.UTF-8
336 Zbiór bibliotek daty-czasu.
337
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}
348
349 %description date_time-devel
350 Header files for boost::date_time library.
351
352 %description date_time-devel -l pl.UTF-8
353 Pliki nagłówkowe dla biblioteki boost::date_time
354
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}
360
361 %description date_time-static
362 Static boost::date_time library.
363
364 %description date_time-devel -l pl.UTF-8
365 Statyczna biblioteka boost::date_time.
366
367 %package filesystem
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
370 Group:          Libraries
371 Obsoletes:      boost < 1.33
372
373 %description filesystem
374 The boost::filesystem library provides portable facilities to query
375 and manipulate paths, files, and directories.
376
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.
380
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}
387 #TODO:
388 #Requires:      %{name}-smart_ptr = %{version}-%{release}
389
390 %description filesystem-devel
391 Header files for boost::filesystem library.
392
393 %description filesystem-devel -l pl.UTF-8
394 Pliki nagłówkowe dla biblioteki boost::filesystem.
395
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
402
403 %description filesystem-static
404 Static boost::filesystem library.
405
406 %description filesystem-static -l pl.UTF-8
407 Biblioteka statyczna boost::filesystem.
408
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
412 Group:          Libraries
413
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.
418
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.
423
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}
432
433 %description program_options-devel
434 Header files for boost::program_options library.
435
436 %description program_options-devel -l pl.UTF-8
437 Pliki nagłówkowe dla biblioteki boost::program_options.
438
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
445
446 %description program_options-static
447 Static boost::program_options library.
448
449 %description program_options-static -l pl.UTF-8
450 Biblioteka statyczna boost::program_options.
451
452 %package ref-devel
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}
457
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.
462
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.
467
468 %package signals
469 Summary:        Signals & slots callback implementation
470 Summary(pl.UTF-8):      Implementacja sygnałów i slotów
471 Group:          Libraries
472 Obsoletes:      boost < 1.33
473
474 %description signals
475 The boost::signals library is an implementation of a signals and slots
476 system.
477
478 %description signals -l pl.UTF-8
479 Biblioteka boost::signals jest implementacją systemu sygnałów i
480 slotów.
481
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}
495
496 %description signals-devel
497 Header files for boost::signals library.
498
499 %description signals-devel -l pl.UTF-8
500 Pliki nagłówkowe dla biblioteki boost::signals.
501
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}
507
508 %description signals-static
509 Static library for boost::signals.
510
511 %description signals-static -l pl.UTF-8
512 Biblioteka statyczna dla boost::signals.
513
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}
522 #TODO:
523 #?Requires:     %{name}-iterators-devel = %{version}-%{release}
524 #?Requires:     %{name}-smart_ptr-devel = %{version}-%{release}
525
526 %description spirit-devel
527 LL parser framework represents parsers directly as EBNF grammars in
528 inlined C++.
529
530 %description spirit-devel -l pl.UTF-8
531 Szkielet parsera LL reprezentujący parsery jako gramatyki EBNF
532 bezpośrednio w kodzie C++.
533
534 %package test
535 Summary:        Support for program testing and  execution monitoring
536 Summary(pl.UTF-8):      Wsparcie dla testowania i monitorowania programu
537 Group:          Libraries
538 Obsoletes:      boost < 1.33
539
540 %description test
541 Support for simple program testing, full unit testing, and for program
542 execution monitoring.
543
544 %description test -l pl.UTF-8
545 Wsparcie dla prostego testowania programu, pełnego testowania i
546 monitorowania wykonania programu.
547
548 %package test-devel
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}
555 #TODO:
556 #?Requires?:    %{name}-function-devel = %{version}-%{release}
557 #Requires:      %{name}-smart_ptr = %{version}-%{release}
558
559 %description test-devel
560 Header files for boost::test.
561
562 %description test-devel -l pl.UTF-8
563 Pliki nagłówkowe dla boost::test.
564
565 %package test-static
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
571
572 %description test-static
573 Static boost::test libraries.
574
575 %description test-static -l pl.UTF-8
576 Biblioteki statyczne boost::test.
577
578 %package thread
579 Summary:        Portable C++ threads library
580 Summary(pl.UTF-8):      Przenośna biblioteka wątków C++
581 Group:          Libraries
582 Obsoletes:      boost < 1.33
583
584 %description thread
585 Portable C++ threads library - shared library.
586
587 %description thread -l pl.UTF-8
588 Przenośna biblioteka wątków dla C++ - biblioteka dzielona.
589
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
597
598 %description thread-devel
599 Header files for boost::thread library.
600
601 %description thread-devel -l pl.UTF-8
602 Pliki nagłówkowe dla biblioteki boost::thread.
603
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
607 Group:          Libraries
608 Requires:       %{name}-thread-devel = %{version}-%{release}
609 Obsoletes:      boost < 1.33
610
611 %description thread-static
612 Portable C++ threads library - static library.
613
614 %description thread-static -l pl.UTF-8
615 Przenośna biblioteka wątków dla C++ - biblioteka statyczna.
616
617 %package uBLAS-devel
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}
622
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.
627
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.
632
633 %package wave-devel
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}
638
639 %description wave-devel
640 Boost.Wave - a standard compliant C++ preprocessor library.
641
642 %description wave-devel -l pl.UTF-8
643 Boost.Wave - zgodna ze standardem biblioteka preprocesora C++.
644
645 %package doc
646 Summary:        Boost C++ Library documentation
647 Summary(pl.UTF-8):      Dokumentacja dla biblioteki Boost C++
648 Group:          Documentation
649 Requires:       %{name}-devel = %{version}-%{release}
650
651 %description doc
652 Documentation for the Boost C++ Library.
653
654 %description doc -l pl.UTF-8
655 Dokumentacja dla biblioteki Boost C++.
656
657 %prep
658 %setup -q -n %{name}_%{_fver}
659 %patch0 -p1
660 %patch1 -p1
661
662 # don't know how to pass it through (b)jam -s (no way?)
663 # due to oversophisticated build flags system
664 %{__perl} -pi -e 's/ -O3 / %{rpmcxxflags} /' tools/build/v1/gcc-tools.jam
665
666 %ifarch alpha
667 # -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only)
668 # don't know, is it gcc bug or intentional omission?
669 # anyway, boost check of -D_REENTRANT in its headers, so it's needed here
670 %{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam
671 %endif
672
673 %build
674 %if %{with python}
675 PYTHON_VERSION=$(%{__python} -c 'import sys; print sys.version[0:3]')
676 PYTHON_ROOT=%{_prefix}
677 %else
678 PYTHON_ROOT=
679 PYTHON_VERSION=
680 %endif
681 bjam \
682         -d2 \
683         -sGXX="%{__cxx}" \
684         -sGCC="%{__cc}" \
685         -sHAVE_ICU=1 -sICU_PATH=/usr \
686         -sBUILD="release <threading>multi <shared-linkable>true <inlining>on" \
687         -sPYTHON_ROOT=$PYTHON_ROOT \
688         -sPYTHON_VERSION=$PYTHON_VERSION
689
690 %install
691 rm -rf $RPM_BUILD_ROOT
692 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
693
694 cp -rf boost $RPM_BUILD_ROOT%{_includedir}
695
696 install bin/boost/libs/*/build/*.a/*/release/inlining-on/shared-linkable-true/*/lib*.a $RPM_BUILD_ROOT%{_libdir}
697 install bin/boost/libs/*/build/*.so/*/release/inlining-on/shared-linkable-true/*/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
698 # use cp -d, install follows symlinks instead of preserving them!
699 cp -df bin/boost/libs/*/build/*.so/*/release/inlining-on/shared-linkable-true/*/lib*.so $RPM_BUILD_ROOT%{_libdir}
700
701 # create symlinks without -gcc-mt-* things in names
702 for f in $RPM_BUILD_ROOT%{_libdir}/*.so.*; do
703         [ -f "$f" ] || continue
704         f=$(basename "$f")
705         soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.so#g')
706
707         ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
708 done
709 for f in $RPM_BUILD_ROOT%{_libdir}/*.a; do
710         [ -f "$f" ] || continue
711         f=$(basename "$f")
712         soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.a#g')
713
714         ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
715 done
716
717 # documentation
718 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
719 install README $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
720
721 # as the documentation doesn't completely reside in a directory of its
722 # own, we need to find out ourselves... this looks for HTML files and
723 # then collects everything linked from those.  this is certainly quite
724 # unoptimized wrt mkdir calls, but does it really matter?
725 installdocs() {
726 for i in $(find -type f -name '*.htm*'); do
727         # bjam docu is included in the boost-jam RPM
728         if test "`echo $i | sed 's,jam_src,,'`" = "$i"; then
729                 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/${i%/*}
730                 for LINKED in `%{__perl} - $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i <<'EOT'
731                         sub rewrite_link
732                         {
733                                 my $link = shift;
734                                 # rewrite links from boost/* to %{_includedir}/boost/* and
735                                 # ignore external links as well as document-internal ones.
736                                 # HTML files are also ignored as they get installed anyway.
737                                 if (!($link =~ s,^(?:../)*boost/,%{_includedir}/boost/,) && !($link =~ m,(?:^[^/]+:|^\#|\.html?(?:$|\#)),))
738                                 {
739                                         (my $file = $link) =~ s/\#.*//;
740                                         print "$file\n";
741                                 }
742                                 $link;
743                         }
744                         open IN, @ARGV[0];
745                         open OUT, ">@ARGV[1]";
746                         my $in_link;
747                         while (<IN>)
748                         {
749                                 $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e;
750                                 s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig;
751                                 print OUT;
752                                 $in_link = /href|src=\s*$/;
753                         }
754 EOT`; do
755                         TARGET=${i%/*}/$LINKED
756                         # ignore non-existant linked files
757                         if test -f $TARGET; then
758                                 install -D -m 644 $TARGET $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$TARGET
759                         fi
760                 done
761         fi
762 done
763 }; installdocs
764
765 %clean
766 rm -rf $RPM_BUILD_ROOT
767
768 %post   -p /sbin/ldconfig
769 %postun -p /sbin/ldconfig
770
771 %post   date_time -p /sbin/ldconfig
772 %postun date_time -p /sbin/ldconfig
773
774 %post   filesystem -p /sbin/ldconfig
775 %postun filesystem -p /sbin/ldconfig
776
777 %post   python  -p /sbin/ldconfig
778 %postun python  -p /sbin/ldconfig
779
780 %post   program_options -p /sbin/ldconfig
781 %postun program_options -p /sbin/ldconfig
782
783 %post   regex   -p /sbin/ldconfig
784 %postun regex   -p /sbin/ldconfig
785
786 %post   signals -p /sbin/ldconfig
787 %postun signals -p /sbin/ldconfig
788
789 %post   test    -p /sbin/ldconfig
790 %postun test    -p /sbin/ldconfig
791
792 %post   thread  -p /sbin/ldconfig
793 %postun thread  -p /sbin/ldconfig
794
795 %files
796 %defattr(644,root,root,755)
797 %attr(755,root,root) %{_libdir}/libboost_iostreams*.so.*.*.*
798 %attr(755,root,root) %{_libdir}/libboost_serialization*.so.*.*.*
799 %attr(755,root,root) %{_libdir}/libboost_wserialization*.so.*.*.*
800
801 %files devel
802 %defattr(644,root,root,755)
803 %attr(755,root,root) %{_libdir}/libboost_iostreams*.so
804 %attr(755,root,root) %{_libdir}/libboost_serialization*.so
805 %attr(755,root,root) %{_libdir}/libboost_wserialization*.so
806 %dir %{_includedir}/boost
807 %{_includedir}/boost/algorithm
808 %{_includedir}/boost/archive
809 %{_includedir}/boost/assert.hpp
810 %{_includedir}/boost/assign
811 %{_includedir}/boost/assign.hpp
812 %{_includedir}/boost/blank_fwd.hpp
813 %{_includedir}/boost/cast.hpp
814 %{_includedir}/boost/checked_delete.hpp
815 %{_includedir}/boost/concept_archetype.hpp
816 %{_includedir}/boost/concept_check.hpp
817 %{_includedir}/boost/config
818 %{_includedir}/boost/config.hpp
819 %{_includedir}/boost/cstd*.hpp
820 %{_includedir}/boost/current_function.hpp
821 %dir %{_includedir}/boost/detail
822 %{_includedir}/boost/detail/algorithm.hpp
823 %{_includedir}/boost/detail/allocator_utilities.hpp
824 %{_includedir}/boost/detail/atomic_count*.hpp
825 %{_includedir}/boost/detail/bad_weak_ptr.hpp
826 %{_includedir}/boost/detail/binary_search.hpp
827 %{_includedir}/boost/detail/catch_exceptions.hpp
828 %{_includedir}/boost/detail/dynamic_bitset.hpp
829 %{_includedir}/boost/detail/endian.hpp
830 %{_includedir}/boost/detail/indirect_traits.hpp
831 %{_includedir}/boost/detail/interlocked.hpp
832 %{_includedir}/boost/detail/is_function_ref_tester.hpp
833 %{_includedir}/boost/detail/is_incrementable.hpp
834 %{_includedir}/boost/detail/is_xxx.hpp
835 %{_includedir}/boost/detail/iterator.hpp
836 %{_includedir}/boost/detail/lightweight_*.hpp
837 %{_includedir}/boost/detail/limits.hpp
838 %{_includedir}/boost/detail/lwm_*.hpp
839 %{_includedir}/boost/detail/named_template_params.hpp
840 %{_includedir}/boost/detail/no_exceptions_support.hpp
841 %{_includedir}/boost/detail/numeric_traits.hpp
842 %{_includedir}/boost/detail/quick_allocator.hpp
843 %{_includedir}/boost/detail/reference_content.hpp
844 %{_includedir}/boost/detail/select_type.hpp
845 %{_includedir}/boost/detail/shared_*.hpp
846 %{_includedir}/boost/detail/sp_counted_*.hpp
847 %{_includedir}/boost/detail/utf8_codecvt_facet.hpp
848 %{_includedir}/boost/detail/workaround.hpp
849 %{_includedir}/boost/dynamic_bitset
850 %{_includedir}/boost/dynamic_bitset.hpp
851 %{_includedir}/boost/dynamic_bitset_fwd.hpp
852 %{_includedir}/boost/dynamic_property_map.hpp
853 %{_includedir}/boost/enable_shared_from_this.hpp
854 %{_includedir}/boost/format
855 %{_includedir}/boost/format.hpp
856 %{_includedir}/boost/function
857 %{_includedir}/boost/function.hpp
858 %{_includedir}/boost/function_equal.hpp
859 %{_includedir}/boost/function_output_iterator.hpp
860 %{_includedir}/boost/functional
861 %{_includedir}/boost/functional.hpp
862 %{_includedir}/boost/generator_iterator.hpp
863 %{_includedir}/boost/graph
864 %{_includedir}/boost/implicit_cast.hpp
865 %{_includedir}/boost/indirect_reference.hpp
866 %{_includedir}/boost/integer
867 %{_includedir}/boost/integer*.hpp
868 %{_includedir}/boost/intrusive_ptr.hpp
869 %{_includedir}/boost/io
870 %{_includedir}/boost/iostreams
871 %{_includedir}/boost/io_fwd.hpp
872 %{_includedir}/boost/iterator*.hpp
873 %{_includedir}/boost/iterator
874 %{_includedir}/boost/lambda
875 %{_includedir}/boost/lexical_cast.hpp
876 %{_includedir}/boost/limits.hpp
877 %{_includedir}/boost/logic
878 %{_includedir}/boost/math
879 %{_includedir}/boost/math_fwd.hpp
880 %{_includedir}/boost/mpl
881 %{_includedir}/boost/multi_array
882 %{_includedir}/boost/multi_array.hpp
883 %{_includedir}/boost/multi_index
884 %{_includedir}/boost/multi_index_container.hpp
885 %{_includedir}/boost/multi_index_container_fwd.hpp
886 %{_includedir}/boost/next_prior.hpp
887 %{_includedir}/boost/noncopyable.hpp
888 %{_includedir}/boost/nondet_random.hpp
889 %{_includedir}/boost/none.hpp
890 %{_includedir}/boost/none_t.hpp
891 %{_includedir}/boost/non_type.hpp
892 %dir %{_includedir}/boost/numeric
893 %{_includedir}/boost/numeric/interval*
894 %{_includedir}/boost/numeric/conversion
895 %{_includedir}/boost/operators.hpp
896 %{_includedir}/boost/optional
897 %{_includedir}/boost/optional.hpp
898 %{_includedir}/boost/parameter
899 %{_includedir}/boost/parameter.hpp
900 %{_includedir}/boost/pending
901 %{_includedir}/boost/pfto.hpp
902 %{_includedir}/boost/pool
903 %{_includedir}/boost/pointee.hpp
904 %{_includedir}/boost/preprocessor
905 %{_includedir}/boost/preprocessor.hpp
906 %{_includedir}/boost/progress.hpp
907 %{_includedir}/boost/property_map*.hpp
908 %{_includedir}/boost/ptr_container
909 %{_includedir}/boost/random
910 %{_includedir}/boost/random.hpp
911 %{_includedir}/boost/range
912 %{_includedir}/boost/range.hpp
913 %{_includedir}/boost/rational.hpp
914 %{_includedir}/boost/scoped_*.hpp
915 %{_includedir}/boost/serialization
916 %{_includedir}/boost/shared_*.hpp
917 %{_includedir}/boost/smart_cast.hpp
918 %{_includedir}/boost/smart_ptr.hpp
919 %{_includedir}/boost/state_saver.hpp
920 %{_includedir}/boost/static_assert.hpp
921 %{_includedir}/boost/static_warning.hpp
922 %{_includedir}/boost/strong_typedef.hpp
923 %{_includedir}/boost/throw_exception.hpp
924 %{_includedir}/boost/timer.hpp
925 %{_includedir}/boost/token*.hpp
926 %{_includedir}/boost/tuple
927 %{_includedir}/boost/type.hpp
928 %{_includedir}/boost/type_traits.hpp
929 %{_includedir}/boost/type_traits
930 %{_includedir}/boost/utility*.hpp
931 %{_includedir}/boost/utility
932 %{_includedir}/boost/version.hpp
933 %{_includedir}/boost/vector_property_map.hpp
934 %{_includedir}/boost/weak_ptr.hpp
935 #boost::variant
936 %{_includedir}/boost/variant.hpp
937 %{_includedir}/boost/variant
938 %{_includedir}/boost/blank.hpp
939 %{_includedir}/boost/detail/templated_streams.hpp
940 #boost::optional
941 %{_includedir}/boost/aligned_storage.hpp
942 %{_includedir}/boost/detail/none_t.hpp
943
944 %files static
945 %defattr(644,root,root,755)
946 %{_libdir}/libboost_iostreams*.a
947 %{_libdir}/libboost_serialization*.a
948 %{_libdir}/libboost_wserialization*.a
949
950 %if %{with python}
951 %files python
952 %defattr(644,root,root,755)
953 %attr(755,root,root) %{_libdir}/libboost_python*.so.*.*.*
954
955 %files python-devel
956 %defattr(644,root,root,755)
957 %attr(755,root,root) %{_libdir}/libboost_python*.so
958 %{_includedir}/boost/python
959 %{_includedir}/boost/python.hpp
960
961 %files python-static
962 %defattr(644,root,root,755)
963 %{_libdir}/libboost_python*.a
964 %endif
965
966 %files regex
967 %defattr(644,root,root,755)
968 %attr(755,root,root) %{_libdir}/libboost_regex*.so.*.*.*
969
970 %files regex-devel
971 %defattr(644,root,root,755)
972 %attr(755,root,root) %{_libdir}/libboost_regex*.so
973 %{_includedir}/boost/cregex.hpp
974 %{_includedir}/boost/regex.h
975 %{_includedir}/boost/regex*.hpp
976 %{_includedir}/boost/regex
977
978 %files regex-static
979 %defattr(644,root,root,755)
980 %{_libdir}/libboost_regex*.a
981
982 %files any-devel
983 %defattr(644,root,root,755)
984 %{_includedir}/boost/any.hpp
985
986 %files array-devel
987 %defattr(644,root,root,755)
988 %{_includedir}/boost/array.hpp
989
990 %files bind-devel
991 %defattr(644,root,root,755)
992 %{_includedir}/boost/bind
993 %{_includedir}/boost/bind.hpp
994 %{_includedir}/boost/get_pointer.hpp
995 %{_includedir}/boost/mem_fn.hpp
996
997 %files call_traits-devel
998 %defattr(644,root,root,755)
999 %{_includedir}/boost/call_traits.hpp
1000 %{_includedir}/boost/detail/call_traits.hpp
1001 %{_includedir}/boost/detail/ob_call_traits.hpp
1002
1003 %files compatibility-devel
1004 %defattr(644,root,root,755)
1005 %{_includedir}/boost/compatibility
1006
1007 %files compressed_pair-devel
1008 %defattr(644,root,root,755)
1009 %{_includedir}/boost/compressed_pair.hpp
1010 %{_includedir}/boost/detail/compressed_pair.hpp
1011 %{_includedir}/boost/detail/ob_compressed_pair.hpp
1012
1013 %files crc-devel
1014 %defattr(644,root,root,755)
1015 %{_includedir}/boost/crc.hpp
1016
1017 %files date_time
1018 %defattr(644,root,root,755)
1019 %attr(755,root,root) %{_libdir}/libboost_date_time*.so.*.*.*
1020
1021 %files date_time-devel
1022 %defattr(644,root,root,755)
1023 %attr(755,root,root) %{_libdir}/libboost_date_time*.so
1024 %{_includedir}/boost/date_time
1025
1026 %files date_time-static
1027 %defattr(644,root,root,755)
1028 %{_libdir}/libboost_date_time*.a
1029
1030 %files filesystem
1031 %defattr(644,root,root,755)
1032 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so.*.*.*
1033
1034 %files filesystem-devel
1035 %defattr(644,root,root,755)
1036 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so
1037 %{_includedir}/boost/filesystem
1038
1039 %files filesystem-static
1040 %defattr(644,root,root,755)
1041 %{_libdir}/libboost_filesystem*.a
1042
1043 %files program_options
1044 %defattr(644,root,root,755)
1045 %attr(755,root,root) %{_libdir}/libboost_program_options*.so.*.*.*
1046
1047 %files program_options-devel
1048 %defattr(644,root,root,755)
1049 %attr(755,root,root) %{_libdir}/libboost_program_options*.so
1050 %{_includedir}/boost/program_options
1051 %{_includedir}/boost/program_options.hpp
1052
1053 %files program_options-static
1054 %defattr(644,root,root,755)
1055 %{_libdir}/libboost_program_options*.a
1056
1057 %files ref-devel
1058 %defattr(644,root,root,755)
1059 %{_includedir}/boost/ref.hpp
1060
1061 %files signals
1062 %defattr(644,root,root,755)
1063 %attr(755,root,root) %{_libdir}/libboost_signals*.so.*.*.*
1064
1065 %files signals-devel
1066 %defattr(644,root,root,755)
1067 %attr(755,root,root) %{_libdir}/libboost_signals*.so
1068 %{_includedir}/boost/signal*.hpp
1069 %{_includedir}/boost/signals
1070 %{_includedir}/boost/last_value.hpp
1071 %{_includedir}/boost/visit_each.hpp
1072
1073 %files signals-static
1074 %defattr(644,root,root,755)
1075 %{_libdir}/libboost_signals*.a
1076
1077 %files spirit-devel
1078 %defattr(644,root,root,755)
1079 %{_includedir}/boost/spirit.hpp
1080 %{_includedir}/boost/spirit
1081
1082 %files test
1083 %defattr(644,root,root,755)
1084 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so.*.*.*
1085 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so.*.*.*
1086 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so.*.*.*
1087
1088 %files test-devel
1089 %defattr(644,root,root,755)
1090 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so
1091 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so
1092 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so
1093 %{_includedir}/boost/test
1094
1095 %files test-static
1096 %defattr(644,root,root,755)
1097 %{_libdir}/libboost_prg_exec_monitor*.a
1098 %{_libdir}/libboost_test_exec_monitor*.a
1099 %{_libdir}/libboost_unit_test_framework*.a
1100
1101 %files thread
1102 %defattr(644,root,root,755)
1103 %attr(755,root,root) %{_libdir}/libboost_thread*.so.*.*.*
1104
1105 %files thread-devel
1106 %defattr(644,root,root,755)
1107 %attr(755,root,root) %{_libdir}/libboost_thread*.so
1108 %{_includedir}/boost/thread
1109 %{_includedir}/boost/thread.hpp
1110
1111 %files thread-static
1112 %defattr(644,root,root,755)
1113 %attr(755,root,root) %{_libdir}/libboost_thread*.a
1114
1115 %files uBLAS-devel
1116 %defattr(644,root,root,755)
1117 %{_includedir}/boost/numeric/ublas
1118
1119 %files wave-devel
1120 %defattr(644,root,root,755)
1121 %{_libdir}/libboost_wave*.a
1122 %{_includedir}/boost/wave
1123 %{_includedir}/boost/wave.hpp
1124
1125 %files doc
1126 %defattr(644,root,root,755)
1127 %{_docdir}/%{name}-%{version}
This page took 0.190884 seconds and 3 git commands to generate.