]> git.pld-linux.org Git - packages/boost.git/blob - boost.spec
- use %{__cc}, %{__cxx}
[packages/boost.git] / boost.spec
1 #
2 # Conditional build:
3 %bcond_without  python  # without boost-python support
4 #
5 %define _fver   %(echo %{version} | tr . _)
6 Summary:        The Boost C++ Libraries
7 Summary(pl):    Biblioteki C++ "Boost"
8 Name:           boost
9 Version:        1.33.1
10 Release:        6
11 License:        Boost Software License and others
12 Group:          Libraries
13 Source0:        http://dl.sourceforge.net/boost/%{name}_%{_fver}.tar.bz2
14 # Source0-md5:  2b999b2fb7798e1737d1fff8fac602ef
15 Patch0:         %{name}-python.patch
16 Patch1:         %{name}-archive_iterator_segv.patch
17 URL:            http://www.boost.org/
18 BuildRequires:  boost-jam >= 3.1.3
19 BuildRequires:  bzip2-devel
20 BuildRequires:  libicu-devel
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  perl-base
23 %{?with_python:BuildRequires:   python-devel >= 2.2}
24 BuildRequires:  rpm-pythonprov
25 BuildRequires:  zlib-devel
26 BuildConflicts: gcc = 5:3.3.1
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 The Boost web site provides free peer-reviewed portable C++ source
31 libraries. The emphasis is on libraries which work well with the C++
32 Standard Library. One goal is to establish "existing practice" and
33 provide reference implementations so that the Boost libraries are
34 suitable for eventual standardization. Some of the libraries have
35 already been proposed for inclusion in the C++ Standards Committee's
36 upcoming C++ Standard Library Technical Report.
37
38 %description -l pl
39 Strona http://www.boost.org/ dostarcza darmowe biblioteki C++ wraz z
40 kodem ¼ród³owym. Nacisk po³o¿ono na biblioteki, które dobrze
41 wspó³pracuj± ze standardow± bibliotek± C++. Celem jest ustanowienie
42 "istniej±cej praktyki" i dostarczenie implementacji, tak ¿e biblioteki
43 "Boost" nadaj± siê do ewentualnej standaryzacji. Niektóre z bibliotek
44 ju¿ zosta³y zg³oszone do komitetu standaryzacyjnego C++ w nadchodz±cym
45 Raporcie Technicznym Biblioteki Standardowej C++
46
47 %package devel
48 Summary:        Boost C++ development headers
49 Summary(pl):    Pliki nag³ówkowe bibliotek C++ Boost
50 Group:          Development/Libraries
51 Requires:       %{name} = %{version}-%{release}
52 Requires:       %{name}-ref-devel = %{version}-%{release}
53 Requires:       libstdc++-devel
54 # temporary Provides (until CVS HEAD stops using it)?
55 Provides:       boost-concept_check-devel = %{version}-%{release}
56 Provides:       boost-conversion-devel = %{version}-%{release}
57 Provides:       boost-mpl-devel = %{version}-%{release}
58 Provides:       boost-preprocessor-devel = %{version}-%{release}
59 Provides:       boost-static_assert-devel = %{version}-%{release}
60 Provides:       boost-type_traits-devel = %{version}-%{release}
61 Provides:       boost-utility-devel = %{version}-%{release}
62 Obsoletes:      boost-compose-devel
63 Obsoletes:      boost-concept_check-devel
64 Obsoletes:      boost-conversion-devel
65 Obsoletes:      boost-mpl-devel
66 Obsoletes:      boost-preprocessor-devel
67 Obsoletes:      boost-static_assert-devel
68 Obsoletes:      boost-type_traits-devel
69 Obsoletes:      boost-utility-devel
70
71 %description devel
72 Header files for the Boost C++ libraries.
73
74 %description devel -l pl
75 Pliki nag³ówkowe bibliotek C++ Boost.
76
77 %package static
78 Summary:        Static version of base Boost C++ libraries
79 Summary(pl):    Statyczne wersje podstawowych bibliotek C++ Boost
80 Group:          Development/Libraries
81 Requires:       %{name}-devel = %{version}-%{release}
82
83 %description static
84 Static version of base Boost C++ libraries.
85
86 %description static -l pl
87 Statyczne wersje podstawowych bibliotek C++ Boost.
88
89 %package python
90 Summary:        Boost.Python library
91 Summary(pl):    biblioteka Boost.Python
92 Group:          Libraries
93 %pyrequires_eq  python
94
95 %description python
96 Use the Boost Python Library to quickly and easily export a C++
97 library to Python such that the Python interface is very similar to
98 the C++ interface. It is designed to be minimally intrusive on your
99 C++ design. In most cases, you should not have to alter your C++
100 classes in any way in order to use them with Boost.Python. The system
101 should simply ``reflect'' your C++ classes and functions into Python.
102
103 %description python -l pl
104 Biblioteka Boost Python s³u¿y do szybkiego i prostego eksportu
105 biblioteki C++ do Pythona, tak ¿e interfejs Pythona jest bardzo
106 podobny do interfejsu C++. Biblioteka jest zaprojektowana tak, ¿eby
107 narzucaæ jak najmniej wymagañ dotycz±cych konstrukcjii C++. W
108 wiêkszo¶ci przypadków nie trzeba w ogóle zmieniaæ w³asnych klas C++,
109 ¿eby u¿ywaæ ich z Boost.Python. System powinien po prostu ,,odbiæ''
110 klasy C++ i funkcje do Pythona.
111
112 %package python-devel
113 Summary:        Boost.Python development headers
114 Summary(pl):    Pliki nag³ówkowe dla Boost.Python
115 Group:          Development/Libraries
116 Requires:       %{name}-compressed_pair-devel = %{version}-%{release}
117 Requires:       %{name}-devel = %{version}-%{release}
118 Requires:       %{name}-python = %{version}-%{release}
119
120 %description python-devel
121 Headers for the Boost.Python library.
122
123 %description python-devel -l pl
124 Pliki nag³ówkowe dla biblioteki Boost.Python.
125
126 %package python-static
127 Summary:        Static version of Boost.Python library
128 Summary(pl):    Statyczna wersja biblioteki Boost.Python
129 Group:          Development/Libraries
130 Requires:       %{name}-python-devel = %{version}-%{release}
131
132 %description python-static
133 Static version of Boost.Python library.
134
135 %description python-static -l pl
136 Statyczna wersja biblioteki Boost.Python.
137
138 %package regex
139 Summary:        Boost C++ regular expressions library
140 Summary(pl):    Biblioteka wyra¿eñ regularnych Boost C++
141 Group:          Libraries
142
143 %description regex
144 Shared library for Boost C++ regular expressions.
145
146 %description regex -l pl
147 Biblioteka wyra¿eñ regularnych dla C++, biblioteki dzielone.
148
149 %package regex-devel
150 Summary:        Boost C++ Regex library headers
151 Summary(pl):    Pliki nag³ówkowe Boost C++ Regex
152 Group:          Development/Libraries
153 Requires:       %{name}-devel = %{version}-%{release}
154 Requires:       %{name}-regex = %{version}-%{release}
155
156 %description regex-devel
157 Boost C++ Regex headers.
158
159 %description regex-devel -l pl
160 Pliki nag³ówkowe dla Boost C++ Regex.
161
162 %package regex-static
163 Summary:        Boost C++ Regex static libraries
164 Summary(pl):    Biblioteki statyczne Boost C++ Regex
165 Group:          Development/Libraries
166 Requires:       %{name}-regex-devel = %{version}-%{release}
167
168 %description regex-static
169 Boost C++ Regex static libraries.
170
171 %description regex-static -l pl
172 Biblioteki statyczne dla Boost C++ Regex.
173
174 %package any-devel
175 Summary:        Header for Boost C++ "Any" Library
176 Summary(pl):    Plik nag³ówkowy dla biblioteki Boost C++ "Any"
177 Group:          Development/Libraries
178 Requires:       %{name}-devel = %{version}-%{release}
179
180 %description any-devel
181 The boost::any class, is a variant value type, which supports copying
182 of any value type and safe checked extraction of that value strictly
183 against that type.
184
185 I.e. 5 is held strictly as an int and is not implicitly convertible
186 either to "5" or to 5.0.
187
188 %description any-devel -l pl
189 Klasa boost::any jest typem, który umo¿liwia kopiowanie ze zmiennej
190 dowolnego typu i bezpieczne, sprawdzone wydobycie jej warto¶ci
191 dok³adnie tego samego typu.
192
193 Np. 5 jest trzymane jako int i nie jest niejawnie konwertowalne ani do
194 "5" ani do 5.0.
195
196 %package array-devel
197 Summary:        STL compliant container wrapper for arrays of constant size
198 Summary(pl):    Wrapper na STLowe kontenery dla tablic o sta³ym rozmiarze
199 Group:          Development/Libraries
200 Requires:       %{name}-devel = %{version}-%{release}
201
202 %description array-devel
203 As replacement for ordinary arrays, the STL provides class vector<>.
204 However, vector<> provides the semantics of dynamic arrays. Thus, it
205 manages data to be able to change the number of elements. This results
206 in some overhead in case only arrays with static size are needed. This
207 library provides support for such static size arrays.
208
209 %description array-devel -l pl
210 STL dostarcza klasê vector<> jako zamiennik zwyk³ej tablicy. Jednak
211 vector<> dostarcza semantykê dynamicznych tablic. Zatem zarz±dza
212 danymi tak, by by³a mo¿liwa zmiana ilo¶ci elementów. To skutkuje
213 pewnym nadmiarem w przypadku kiedy tylko tablice o sta³ym rozmiarze s±
214 potrzebne. Ta biblioteka dostarcza wsparcie dla takich w³a¶nie tablic
215 o sta³ym rozmiarze.
216
217 %package bind-devel
218 Summary:        Generalized binders for function/object/pointers and member functions
219 Summary(pl):    Uogólnione bindery dla funkcji/obiektów/wska¼ników oraz metod
220 Group:          Development/Libraries
221 Requires:       %{name}-ref-devel = %{version}-%{release}
222 Provides:       boost-mem_fn-devel = %{version}-%{release}
223 Obsoletes:      boost-compose-devel
224 Obsoletes:      boost-mem_fn-devel
225
226 %description bind-devel
227 boost::bind is a generalization of the standard functions std::bind1st
228 and std::bind2nd. This package contains also boost::mem_fn which is a
229 generalization of the standard functions std::mem_fun and
230 std::mem_fun_ref.
231
232 %description bind-devel -l pl
233 boost::bind jest uogólnieniem standardowych funkcji std::bind1st i
234 std::bind2nd. Ten pakiet zawiera tak¿e boost::mem_fn, który jest
235 uogólnieniem standardowych funkcji std::mem_fun i std::mem_fun_ref.
236
237 %package call_traits-devel
238 Summary:        Defines types for passing parameters
239 Summary(pl):    Definiowanie typów dla przekazywania parametrów
240 Group:          Development/Libraries
241 Requires:       %{name}-devel = %{version}-%{release}
242
243 %description call_traits-devel
244 boost::call_traits<T> encapsulates the "best" method to pass a
245 parameter of some type T to or from a function. The purpose of
246 call_traits is to ensure that problems like "references to references"
247 never occur, and that parameters are passed in the most efficient
248 manner possible.
249
250 %description call_traits-devel -l pl
251 boost::call_traits<T> zawiera "najlepsz±" metodê przekazywania
252 parametrów jakiego¶ typu T do lub z funkcji. Celem call_traits jest
253 zapewnienie ¿e problemy takie jak "referencja referencji" nigdy nie
254 wyst±pi± i ¿e parametry s± przekazywane w mo¿liwie najbardziej
255 efektywny sposób.
256
257 %package compatibility-devel
258 Summary:        Help for non-conforming standard libraries
259 Summary(pl):    Pomoc dla nie trzymaj±cych standardu bibliotek
260 Group:          Development/Libraries
261 Requires:       %{name}-devel = %{version}-%{release}
262
263 %description compatibility-devel
264 This library provides workarounds which allow the other Boost
265 libraries to be used on otherwise non-conforming platforms.
266
267 %description compatibility-devel -l pl
268 Biblioteka dostarcza obej¶cie problemu platform nie trzymaj±cych
269 standardu C++, pozwalaj±ce na u¿ywanie bibliotek Boost na tych
270 platformach.
271
272 %package compose-devel
273 Summary:        Functional composition adapters for the STL
274 Summary(pl):    Funkcjonalne adaptery kompozycji dla STL
275 Group:          Development/Libraries
276 Requires:       %{name}-devel = %{version}-%{release}
277
278 %description compose-devel
279 The boost::compose provides compose function object adapter extensions
280 for use with the Standard Template Library (STL) portion of the C++
281 Standard Library. If you aren't currently using the STL, this library
282 won't be of any interest, but hard-core STL users will appreciate its
283 usefulness.
284
285 %description compose-devel -l pl
286 boost::compose dostarcza rozszerzenie adaptera obiektu funkcji compose
287 do u¿ytku z STL-ow± czê¶ci± Standardu C++. Je¿eli nie u¿ywasz STL,
288 biblioteka bêdzie poza twoim zainteresowaniem, lecz hardkorowi
289 u¿ytkownicy STL-a doceni± jej u¿yteczno¶æ.
290
291 %package compressed_pair-devel
292 Summary:        Empty member optimization
293 Summary(pl):    Optymalizacja pustego elementu
294 Group:          Development/Libraries
295 Requires:       %{name}-call_traits-devel = %{version}-%{release}
296 Requires:       %{name}-devel = %{version}-%{release}
297
298 %description compressed_pair-devel
299 The class boost::compressed_pair is very similar to std::pair, but if
300 either of the template arguments are empty classes, then the "empty
301 base-class optimisation" is applied to compress the size of the pair.
302
303 %description compressed_pair-devel -l pl
304 Klasa boost::compressed_pair jest bardzo podobna do std::pair, ale
305 je¿eli który¶ z argumentów wzorca jest pust± klas±, wtedy stosowana
306 jest "optymalizacja pustej klasy bazowej" do kompresji pary.
307
308 %package crc-devel
309 Summary:        CRC computing library
310 Summary(pl):    Biblioteka obliczaj±ca CRC
311 Group:          Development/Libraries
312 Requires:       %{name}-devel = %{version}-%{release}
313
314 %description crc-devel
315 The boost::crc library provides two implementations of CRC computation
316 objects and functions. The implementations are template-based.
317
318 %description crc-devel -l pl
319 Bibliteka boost::crc dostarcza dwie implementacje obiektów i funkcji
320 obliczaj±cych CRC. Implementacje s± oparte na wzorcach.
321
322 %package date_time
323 Summary:        Date-Time library
324 Summary(pl):    Biblioteka daty-czasu
325 Group:          Libraries
326 Obsoletes:      boost < 1.33
327
328 %description date_time
329 A set of date-time libraries.
330
331 %description date_time -l pl
332 Zbiór bibliotek daty-czasu.
333
334 %package date_time-devel
335 Summary:        Header files for boost::date_time library
336 Summary(pl):    Pliki nag³ówkowe dla biblioteki boost::date_time
337 Group:          Development/Libraries
338 Requires:       %{name}-date_time = %{version}-%{release}
339 Requires:       %{name}-devel = %{version}-%{release}
340 #TODO: make decision if do separate packages include it to main devel package
341 #Requires:      %{name}-integer-devel = %{version}-%{release}
342 #Requires:      %{name}-operators-devel = %{version}-%{release}
343 #Requires:      %{name}-tokenizer-devel = %{version}-%{release}
344
345 %description date_time-devel
346 Header files for boost::date_time library.
347
348 %description date_time-devel -l pl
349 Pliki nag³ówkowe dla biblioteki boost::date_time
350
351 %package date_time-static
352 Summary:        Static boost::date_time library
353 Summary(pl):    Statyczna biblioteka boost::date_time
354 Group:          Development/Libraries
355 Requires:       %{name}-date_time-devel = %{version}-%{release}
356
357 %description date_time-static
358 Static boost::date_time library.
359
360 %description date_time-devel -l pl
361 Statyczna biblioteka boost::date_time.
362
363 %package filesystem
364 Summary:        Portable paths, iteration over directories, and other useful filesystem operations
365 Summary(pl):    Przeno¶ne ¶cie¿ki, iteracje katalogów i inne u¿yteczne operacje na systemie plików
366 Group:          Libraries
367 Obsoletes:      boost < 1.33
368
369 %description filesystem
370 The boost::filesystem library provides portable facilities to query
371 and manipulate paths, files, and directories.
372
373 %description filesystem -l pl
374 Przeno¶na biblioteka boost::filesystem dostarcza u³atwienia w
375 operacjach na ¶cie¿kach, plikach i katalogach.
376
377 %package filesystem-devel
378 Summary:        Header files for boost::filesystem
379 Summary(pl):    Pliki nag³ówkowe dla boost::filesystem
380 Group:          Development/Libraries
381 Requires:       %{name}-devel = %{version}-%{release}
382 Requires:       %{name}-filesystem = %{version}-%{release}
383 #TODO:
384 #Requires:      %{name}-smart_ptr = %{version}-%{release}
385
386 %description filesystem-devel
387 Header files for boost::filesystem library.
388
389 %description filesystem-devel -l pl
390 Pliki nag³ówkowe dla biblioteki boost::filesystem.
391
392 %package filesystem-static
393 Summary:        Static boost::filesystem library
394 Summary(pl):    Biblioteka statyczna boost::filesystem
395 Group:          Development/Libraries
396 Requires:       %{name}-filesystem-devel = %{version}-%{release}
397 Obsoletes:      boost-static < 1.33
398
399 %description filesystem-static
400 Static boost::filesystem library.
401
402 %description filesystem-static -l pl
403 Biblioteka statyczna boost::filesystem.
404
405 %package program_options
406 Summary:        Access to program options, via conventional methods such as command line and config file
407 Summary(pl):    Dostêp do opcji programu za pomoc± typowych metod, jak linia poleceñ i plik konfiguracyjny
408 Group:          Libraries
409
410 %description program_options
411 The program_options library allows program developers to obtain
412 program options, that is (name, value) pairs from the user, via
413 conventional methods such as command line and config file.
414
415 %description program_options -l pl
416 Biblioteka program_options umo¿liwia uzyskanie od u¿ytkownika opcji
417 programu, czyli par (nazwa, warto¶æ), za pomoc± typowych metod, takich
418 jak linia poleceñ, czy plik konfiguracyjny.
419
420 %package program_options-devel
421 Summary:        Header files for boost::program_options
422 Summary(pl):    Pliki nag³ówkowe dla boost::program_options
423 Group:          Development/Libraries
424 Requires:       %{name}-any-devel = %{version}-%{release}
425 Requires:       %{name}-devel = %{version}-%{release}
426 Requires:       %{name}-program_options = %{version}-%{release}
427
428 %description program_options-devel
429 Header files for boost::program_options library.
430
431 %description program_options-devel -l pl
432 Pliki nag³ówkowe dla biblioteki boost::program_options.
433
434 %package program_options-static
435 Summary:        Static boost::program_options library
436 Summary(pl):    Biblioteka statyczna boost::program_options
437 Group:          Development/Libraries
438 Requires:       %{name}-program_options-devel = %{version}-%{release}
439 Obsoletes:      boost-static < 1.33
440
441 %description program_options-static
442 Static boost::program_options library.
443
444 %description program_options-static -l pl
445 Biblioteka statyczna boost::program_options.
446
447 %package ref-devel
448 Summary:        Small library useful for passing references to function templates
449 Summary(pl):    Ma³a biblioteka u¿yteczna przy przekazywaniu referencji do wzorców funkcji
450 Group:          Development/Libraries
451 Requires:       %{name}-devel = %{version}-%{release}
452
453 %description ref-devel
454 boost::ref library is a small library that is useful for passing
455 references to function templates (algorithms) that would usually take
456 copies of their arguments.
457
458 %description ref-devel -l pl
459 Biblioteka boost::ref jest ma³± bibliotek± która jest u¿yteczna w
460 przypadku przekazywania referencji do wzorców funkcji (algorytmów)
461 które zazwyczaj bior± kopiê swoich argumentów.
462
463 %package signals
464 Summary:        Signals & slots callback implementation
465 Summary(pl):    Implementacja sygna³ów i slotów
466 Group:          Libraries
467 Obsoletes:      boost < 1.33
468
469 %description signals
470 The boost::signals library is an implementation of a signals and slots
471 system.
472
473 %description signals -l pl
474 Biblioteka boost::signals jest implementacj± systemu sygna³ów i
475 slotów.
476
477 %package signals-devel
478 Summary:        Header files for boost::signals library
479 Summary(pl):    Pliki nag³ówkowe dla biblioteki boost::signals
480 Group:          Development/Libraries
481 Requires:       %{name}-any-devel = %{version}-%{release}
482 Requires:       %{name}-devel = %{version}-%{release}
483 Requires:       %{name}-signals = %{version}-%{release}
484 #TODO: separate smart_ptr or include to the main devel package
485 Requires:       %{name}-bind-devel = %{version}-%{release}
486 #Requires:      %{name}-iterator_adaptors-devel = %{version}-%{release}
487 #Requires:      %{name}-operators-devel = %{version}-%{release}
488 Requires:       %{name}-ref-devel = %{version}-%{release}
489 #Requires:      %{name}-smart_ptr-devel = %{version}-%{release}
490
491 %description signals-devel
492 Header files for boost::signals library.
493
494 %description signals-devel -l pl
495 Pliki nag³ówkowe dla biblioteki boost::signals.
496
497 %package signals-static
498 Summary:        Static library for boost::signals
499 Summary(pl):    Biblioteka statyczna dla boost::signals
500 Group:          Development/Libraries
501 Requires:       %{name}-signals-devel = %{version}-%{release}
502
503 %description signals-static
504 Static library for boost::signals.
505
506 %description signals-static -l pl
507 Biblioteka statyczna dla boost::signals.
508
509 %package spirit-devel
510 Summary:        LL parser framework
511 Summary(pl):    Szkielet parsera LL
512 Group:          Development/Libraries
513 Requires:       %{name}-compressed_pair-devel = %{version}-%{release}
514 Requires:       %{name}-ref-devel = %{version}-%{release}
515 Requires:       %{name}-regex-devel = %{version}-%{release}
516 Requires:       %{name}-thread-devel = %{version}-%{release}
517 #TODO:
518 #?Requires:     %{name}-iterators-devel = %{version}-%{release}
519 #?Requires:     %{name}-smart_ptr-devel = %{version}-%{release}
520
521 %description spirit-devel
522 LL parser framework represents parsers directly as EBNF grammars in
523 inlined C++.
524
525 %description spirit-devel -l pl
526 Szkielet parsera LL reprezentuj±cy parsery jako gramatyki EBNF
527 bezpo¶rednio w kodzie C++.
528
529 %package test
530 Summary:        Support for program testing and  execution monitoring
531 Summary(pl):    Wsparcie dla testowania i monitorowania programu
532 Group:          Libraries
533 Obsoletes:      boost < 1.33
534
535 %description test
536 Support for simple program testing, full unit testing, and for program
537 execution monitoring.
538
539 %description test -l pl
540 Wsparcie dla prostego testowania programu, pe³nego testowania i
541 monitorowania wykonania programu.
542
543 %package test-devel
544 Summary:        Header files for boost::test
545 Summary(pl):    Pliki nag³ówkowe dla boost::test
546 Group:          Development/Libraries
547 Requires:       %{name}-call_traits-devel = %{version}-%{release}
548 Requires:       %{name}-devel = %{version}-%{release}
549 Requires:       %{name}-test = %{version}-%{release}
550 #TODO:
551 #?Requires?:    %{name}-function-devel = %{version}-%{release}
552 #Requires:      %{name}-smart_ptr = %{version}-%{release}
553
554 %description test-devel
555 Header files for boost::test.
556
557 %description test-devel -l pl
558 Pliki nag³ówkowe dla boost::test.
559
560 %package test-static
561 Summary:        Static boost::test libraries
562 Summary(pl):    Biblioteki statyczne boost::test
563 Group:          Development/Libraries
564 Requires:       %{name}-test-devel = %{version}-%{release}
565 Obsoletes:      boost-static < 1.33
566
567 %description test-static
568 Static boost::test libraries.
569
570 %description test-static -l pl
571 Biblioteki statyczne boost::test.
572
573 %package thread
574 Summary:        Portable C++ threads library
575 Summary(pl):    Przeno¶na biblioteka w±tków C++
576 Group:          Libraries
577 Obsoletes:      boost < 1.33
578
579 %description thread
580 Portable C++ threads library - shared library.
581
582 %description thread -l pl
583 Przeno¶na biblioteka w±tków dla C++ - biblioteka dzielona.
584
585 %package thread-devel
586 Summary:        Header files for boost::thread library
587 Summary(pl):    Pliki nag³ówkowe dla biblioteki boost::thread
588 Group:          Development/Libraries
589 Requires:       %{name}-devel = %{version}-%{release}
590 Requires:       %{name}-thread = %{version}-%{release}
591 #TODO:requires boost::function or boost::function to boost-devel
592
593 %description thread-devel
594 Header files for boost::thread library.
595
596 %description thread-devel -l pl
597 Pliki nag³ówkowe dla biblioteki boost::thread.
598
599 %package thread-static
600 Summary:        Portable C++ threads library - static version
601 Summary(pl):    Przeno¶na biblioteka w±tków C++ - wersja statyczna
602 Group:          Libraries
603 Requires:       %{name}-thread-devel = %{version}-%{release}
604 Obsoletes:      boost < 1.33
605
606 %description thread-static
607 Portable C++ threads library - static library.
608
609 %description thread-static -l pl
610 Przeno¶na biblioteka w±tków dla C++ - biblioteka statyczna.
611
612 %package uBLAS-devel
613 Summary:        Basic linear algebra for dense, packed and sparse matrices
614 Summary(pl):    Prosta liniowa algebra dla gêstych, upakowanych i rzadkich macierzy
615 Group:          Development/Libraries
616 Requires:       %{name}-devel = %{version}-%{release}
617
618 %description uBLAS-devel
619 uBLAS library provides templated C++ classes for dense, unit and
620 sparse vectors, dense, identity, triangular, banded, symmetric,
621 hermitian and sparse matrices.
622
623 %description uBLAS-devel -l pl
624 Biblioteka uBLAS dostarcza wzorce klas C++ dla gêstych, jednostkowych
625 i rzadkich wektorów oraz gêstych, jednostkowych, trójk±tnych,
626 diagonalnych, symetrycznych, hermitowskich i rzadkich macierzy.
627
628 %package wave-devel
629 Summary:        Boost.Wave - a standard compliant C++ preprocessor library
630 Summary(pl):    Boost.Wave - zgodna ze standardem biblioteka preprocesora C++
631 Group:          Development/Libraries
632 Requires:       %{name}-devel = %{version}-%{release}
633
634 %description wave-devel
635 Boost.Wave - a standard compliant C++ preprocessor library.
636
637 %description wave-devel -l pl
638 Boost.Wave - zgodna ze standardem biblioteka preprocesora C++.
639
640 %package doc
641 Summary:        Boost C++ Library documentation
642 Summary(pl):    Dokumentacja dla biblioteki Boost C++
643 Group:          Documentation
644 Requires:       %{name}-devel = %{version}-%{release}
645
646 %description doc
647 Documentation for the Boost C++ Library.
648
649 %description doc -l pl
650 Dokumentacja dla biblioteki Boost C++.
651
652 %prep
653 %setup -q -n %{name}_%{_fver}
654 %patch0 -p1
655 %patch1 -p1
656
657 # don't know how to pass it through (b)jam -s (no way?)
658 # due to oversophisticated build flags system
659 %{__perl} -pi -e 's/ -O3 / %{rpmcxxflags} /' tools/build/v1/gcc-tools.jam
660
661 %ifarch alpha
662 # -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only)
663 # don't know, is it gcc bug or intentional omission?
664 # anyway, boost check of -D_REENTRANT in its headers, so it's needed here
665 %{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam
666 %endif
667
668 %build
669 %if %{with python}
670 PYTHON_VERSION=$(%{__python} -c 'import sys; print sys.version[0:3]')
671 PYTHON_ROOT=%{_prefix}
672 %else
673 PYTHON_ROOT=
674 PYTHON_VERSION=
675 %endif
676 bjam \
677         -d2 \
678         -sGXX="%{__cc}" \
679         -sGCC="%{__cxx}" \
680         -sHAVE_ICU=1 -sICU_PATH=/usr \
681         -sBUILD="release <threading>multi <shared-linkable>true <inlining>on" \
682         -sPYTHON_ROOT=$PYTHON_ROOT \
683         -sPYTHON_VERSION=$PYTHON_VERSION
684
685 %install
686 rm -rf $RPM_BUILD_ROOT
687 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
688
689 cp -rf boost $RPM_BUILD_ROOT%{_includedir}
690
691 install bin/boost/libs/*/build/*.a/*/release/inlining-on/shared-linkable-true/*/lib*.a $RPM_BUILD_ROOT%{_libdir}
692 install bin/boost/libs/*/build/*.so/*/release/inlining-on/shared-linkable-true/*/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
693 # use cp -d, install follows symlinks instead of preserving them!
694 cp -df bin/boost/libs/*/build/*.so/*/release/inlining-on/shared-linkable-true/*/lib*.so $RPM_BUILD_ROOT%{_libdir}
695
696 # create symlinks without -gcc-mt-* things in names
697 for f in $RPM_BUILD_ROOT%{_libdir}/*.so.*; do
698         [ -f "$f" ] || continue
699         f=$(basename "$f")
700         soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.so#g')
701
702         ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
703 done
704 for f in $RPM_BUILD_ROOT%{_libdir}/*.a; do
705         [ -f "$f" ] || continue
706         f=$(basename "$f")
707         soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.a#g')
708
709         ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
710 done
711
712 # documentation
713 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
714 install README $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
715
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?
720 installdocs() {
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'
726                         sub rewrite_link
727                         {
728                                 my $link = shift;
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?(?:$|\#)),))
733                                 {
734                                         (my $file = $link) =~ s/\#.*//;
735                                         print "$file\n";
736                                 }
737                                 $link;
738                         }
739                         open IN, @ARGV[0];
740                         open OUT, ">@ARGV[1]";
741                         my $in_link;
742                         while (<IN>)
743                         {
744                                 $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e;
745                                 s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig;
746                                 print OUT;
747                                 $in_link = /href|src=\s*$/;
748                         }
749 EOT`; do
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
754                         fi
755                 done
756         fi
757 done
758 }; installdocs
759
760 %clean
761 rm -rf $RPM_BUILD_ROOT
762
763 %post   -p /sbin/ldconfig
764 %postun -p /sbin/ldconfig
765
766 %post   date_time -p /sbin/ldconfig
767 %postun date_time -p /sbin/ldconfig
768
769 %post   filesystem -p /sbin/ldconfig
770 %postun filesystem -p /sbin/ldconfig
771
772 %post   python  -p /sbin/ldconfig
773 %postun python  -p /sbin/ldconfig
774
775 %post   program_options -p /sbin/ldconfig
776 %postun program_options -p /sbin/ldconfig
777
778 %post   regex   -p /sbin/ldconfig
779 %postun regex   -p /sbin/ldconfig
780
781 %post   signals -p /sbin/ldconfig
782 %postun signals -p /sbin/ldconfig
783
784 %post   test    -p /sbin/ldconfig
785 %postun test    -p /sbin/ldconfig
786
787 %post   thread  -p /sbin/ldconfig
788 %postun thread  -p /sbin/ldconfig
789
790 %files
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.*.*.*
795
796 %files devel
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/none_t.hpp
886 %{_includedir}/boost/non_type.hpp
887 %dir %{_includedir}/boost/numeric
888 %{_includedir}/boost/numeric/interval*
889 %{_includedir}/boost/numeric/conversion
890 %{_includedir}/boost/operators.hpp
891 %{_includedir}/boost/optional
892 %{_includedir}/boost/optional.hpp
893 %{_includedir}/boost/parameter
894 %{_includedir}/boost/parameter.hpp
895 %{_includedir}/boost/pending
896 %{_includedir}/boost/pfto.hpp
897 %{_includedir}/boost/pool
898 %{_includedir}/boost/pointee.hpp
899 %{_includedir}/boost/preprocessor
900 %{_includedir}/boost/preprocessor.hpp
901 %{_includedir}/boost/progress.hpp
902 %{_includedir}/boost/property_map*.hpp
903 %{_includedir}/boost/ptr_container
904 %{_includedir}/boost/random
905 %{_includedir}/boost/random.hpp
906 %{_includedir}/boost/range
907 %{_includedir}/boost/range.hpp
908 %{_includedir}/boost/rational.hpp
909 %{_includedir}/boost/scoped_*.hpp
910 %{_includedir}/boost/serialization
911 %{_includedir}/boost/shared_*.hpp
912 %{_includedir}/boost/smart_cast.hpp
913 %{_includedir}/boost/smart_ptr.hpp
914 %{_includedir}/boost/state_saver.hpp
915 %{_includedir}/boost/static_assert.hpp
916 %{_includedir}/boost/static_warning.hpp
917 %{_includedir}/boost/strong_typedef.hpp
918 %{_includedir}/boost/throw_exception.hpp
919 %{_includedir}/boost/timer.hpp
920 %{_includedir}/boost/token*.hpp
921 %{_includedir}/boost/tuple
922 %{_includedir}/boost/type.hpp
923 %{_includedir}/boost/type_traits.hpp
924 %{_includedir}/boost/type_traits
925 %{_includedir}/boost/utility*.hpp
926 %{_includedir}/boost/utility
927 %{_includedir}/boost/version.hpp
928 %{_includedir}/boost/vector_property_map.hpp
929 %{_includedir}/boost/weak_ptr.hpp
930 #boost::variant
931 %{_includedir}/boost/variant.hpp
932 %{_includedir}/boost/variant
933 %{_includedir}/boost/blank.hpp
934 %{_includedir}/boost/detail/templated_streams.hpp
935 #boost::optional
936 %{_includedir}/boost/aligned_storage.hpp
937 %{_includedir}/boost/detail/none_t.hpp
938
939 %files static
940 %defattr(644,root,root,755)
941 %{_libdir}/libboost_iostreams*.a
942 %{_libdir}/libboost_serialization*.a
943 %{_libdir}/libboost_wserialization*.a
944
945 %if %{with python}
946 %files python
947 %defattr(644,root,root,755)
948 %attr(755,root,root) %{_libdir}/libboost_python*.so.*.*.*
949
950 %files python-devel
951 %defattr(644,root,root,755)
952 %attr(755,root,root) %{_libdir}/libboost_python*.so
953 %{_includedir}/boost/python
954 %{_includedir}/boost/python.hpp
955
956 %files python-static
957 %defattr(644,root,root,755)
958 %{_libdir}/libboost_python*.a
959 %endif
960
961 %files regex
962 %defattr(644,root,root,755)
963 %attr(755,root,root) %{_libdir}/libboost_regex*.so.*.*.*
964
965 %files regex-devel
966 %defattr(644,root,root,755)
967 %attr(755,root,root) %{_libdir}/libboost_regex*.so
968 %{_includedir}/boost/cregex.hpp
969 %{_includedir}/boost/regex.h
970 %{_includedir}/boost/regex*.hpp
971 %{_includedir}/boost/regex
972
973 %files regex-static
974 %defattr(644,root,root,755)
975 %{_libdir}/libboost_regex*.a
976
977 %files any-devel
978 %defattr(644,root,root,755)
979 %{_includedir}/boost/any.hpp
980
981 %files array-devel
982 %defattr(644,root,root,755)
983 %{_includedir}/boost/array.hpp
984
985 %files bind-devel
986 %defattr(644,root,root,755)
987 %{_includedir}/boost/bind
988 %{_includedir}/boost/bind.hpp
989 %{_includedir}/boost/get_pointer.hpp
990 %{_includedir}/boost/mem_fn.hpp
991
992 %files call_traits-devel
993 %defattr(644,root,root,755)
994 %{_includedir}/boost/call_traits.hpp
995 %{_includedir}/boost/detail/call_traits.hpp
996 %{_includedir}/boost/detail/ob_call_traits.hpp
997
998 %files compatibility-devel
999 %defattr(644,root,root,755)
1000 %{_includedir}/boost/compatibility
1001
1002 %files compressed_pair-devel
1003 %defattr(644,root,root,755)
1004 %{_includedir}/boost/compressed_pair.hpp
1005 %{_includedir}/boost/detail/compressed_pair.hpp
1006 %{_includedir}/boost/detail/ob_compressed_pair.hpp
1007
1008 %files crc-devel
1009 %defattr(644,root,root,755)
1010 %{_includedir}/boost/crc.hpp
1011
1012 %files date_time
1013 %defattr(644,root,root,755)
1014 %attr(755,root,root) %{_libdir}/libboost_date_time*.so.*.*.*
1015
1016 %files date_time-devel
1017 %defattr(644,root,root,755)
1018 %attr(755,root,root) %{_libdir}/libboost_date_time*.so
1019 %{_includedir}/boost/date_time
1020
1021 %files date_time-static
1022 %defattr(644,root,root,755)
1023 %{_libdir}/libboost_date_time*.a
1024
1025 %files filesystem
1026 %defattr(644,root,root,755)
1027 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so.*.*.*
1028
1029 %files filesystem-devel
1030 %defattr(644,root,root,755)
1031 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so
1032 %{_includedir}/boost/filesystem
1033
1034 %files filesystem-static
1035 %defattr(644,root,root,755)
1036 %{_libdir}/libboost_filesystem*.a
1037
1038 %files program_options
1039 %defattr(644,root,root,755)
1040 %attr(755,root,root) %{_libdir}/libboost_program_options*.so.*.*.*
1041
1042 %files program_options-devel
1043 %defattr(644,root,root,755)
1044 %attr(755,root,root) %{_libdir}/libboost_program_options*.so
1045 %{_includedir}/boost/program_options
1046 %{_includedir}/boost/program_options.hpp
1047
1048 %files program_options-static
1049 %defattr(644,root,root,755)
1050 %{_libdir}/libboost_program_options*.a
1051
1052 %files ref-devel
1053 %defattr(644,root,root,755)
1054 %{_includedir}/boost/ref.hpp
1055
1056 %files signals
1057 %defattr(644,root,root,755)
1058 %attr(755,root,root) %{_libdir}/libboost_signals*.so.*.*.*
1059
1060 %files signals-devel
1061 %defattr(644,root,root,755)
1062 %attr(755,root,root) %{_libdir}/libboost_signals*.so
1063 %{_includedir}/boost/signal*.hpp
1064 %{_includedir}/boost/signals
1065 %{_includedir}/boost/last_value.hpp
1066 %{_includedir}/boost/visit_each.hpp
1067
1068 %files signals-static
1069 %defattr(644,root,root,755)
1070 %{_libdir}/libboost_signals*.a
1071
1072 %files spirit-devel
1073 %defattr(644,root,root,755)
1074 %{_includedir}/boost/spirit.hpp
1075 %{_includedir}/boost/spirit
1076
1077 %files test
1078 %defattr(644,root,root,755)
1079 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so.*.*.*
1080 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so.*.*.*
1081 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so.*.*.*
1082
1083 %files test-devel
1084 %defattr(644,root,root,755)
1085 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so
1086 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so
1087 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so
1088 %{_includedir}/boost/test
1089
1090 %files test-static
1091 %defattr(644,root,root,755)
1092 %{_libdir}/libboost_prg_exec_monitor*.a
1093 %{_libdir}/libboost_test_exec_monitor*.a
1094 %{_libdir}/libboost_unit_test_framework*.a
1095
1096 %files thread
1097 %defattr(644,root,root,755)
1098 %attr(755,root,root) %{_libdir}/libboost_thread*.so.*.*.*
1099
1100 %files thread-devel
1101 %defattr(644,root,root,755)
1102 %attr(755,root,root) %{_libdir}/libboost_thread*.so
1103 %{_includedir}/boost/thread
1104 %{_includedir}/boost/thread.hpp
1105
1106 %files thread-static
1107 %defattr(644,root,root,755)
1108 %attr(755,root,root) %{_libdir}/libboost_thread*.a
1109
1110 %files uBLAS-devel
1111 %defattr(644,root,root,755)
1112 %{_includedir}/boost/numeric/ublas
1113
1114 %files wave-devel
1115 %defattr(644,root,root,755)
1116 %{_libdir}/libboost_wave*.a
1117 %{_includedir}/boost/wave
1118 %{_includedir}/boost/wave.hpp
1119
1120 %files doc
1121 %defattr(644,root,root,755)
1122 %{_docdir}/%{name}-%{version}
This page took 1.732235 seconds and 4 git commands to generate.