]> git.pld-linux.org Git - packages/boost.git/blob - boost.spec
- boost-program_options-devel R:boost-bind-devel
[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.UTF-8):      Biblioteki C++ "Boost"
8 Name:           boost
9 Version:        1.33.1
10 Release:        7
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.UTF-8
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.UTF-8):      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.UTF-8
75 Pliki nagłówkowe bibliotek C++ Boost.
76
77 %package static
78 Summary:        Static version of base Boost C++ libraries
79 Summary(pl.UTF-8):      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.UTF-8
87 Statyczne wersje podstawowych bibliotek C++ Boost.
88
89 %package python
90 Summary:        Boost.Python library
91 Summary(pl.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
124 Pliki nagłówkowe dla biblioteki Boost.Python.
125
126 %package python-static
127 Summary:        Static version of Boost.Python library
128 Summary(pl.UTF-8):      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.UTF-8
136 Statyczna wersja biblioteki Boost.Python.
137
138 %package regex
139 Summary:        Boost C++ regular expressions library
140 Summary(pl.UTF-8):      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.UTF-8
147 Biblioteka wyrażeń regularnych dla C++, biblioteki dzielone.
148
149 %package regex-devel
150 Summary:        Boost C++ Regex library headers
151 Summary(pl.UTF-8):      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.UTF-8
160 Pliki nagłówkowe dla Boost C++ Regex.
161
162 %package regex-static
163 Summary:        Boost C++ Regex static libraries
164 Summary(pl.UTF-8):      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.UTF-8
172 Biblioteki statyczne dla Boost C++ Regex.
173
174 %package any-devel
175 Summary:        Header for Boost C++ "Any" Library
176 Summary(pl.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
332 Zbiór bibliotek daty-czasu.
333
334 %package date_time-devel
335 Summary:        Header files for boost::date_time library
336 Summary(pl.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
390 Pliki nagłówkowe dla biblioteki boost::filesystem.
391
392 %package filesystem-static
393 Summary:        Static boost::filesystem library
394 Summary(pl.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
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.UTF-8):      Pliki nagłówkowe dla boost::program_options
423 Group:          Development/Libraries
424 Requires:       %{name}-any-devel = %{version}-%{release}
425 Requires:       %{name}-bind-devel = %{version}-%{release}
426 Requires:       %{name}-devel = %{version}-%{release}
427 Requires:       %{name}-program_options = %{version}-%{release}
428
429 %description program_options-devel
430 Header files for boost::program_options library.
431
432 %description program_options-devel -l pl.UTF-8
433 Pliki nagłówkowe dla biblioteki boost::program_options.
434
435 %package program_options-static
436 Summary:        Static boost::program_options library
437 Summary(pl.UTF-8):      Biblioteka statyczna boost::program_options
438 Group:          Development/Libraries
439 Requires:       %{name}-program_options-devel = %{version}-%{release}
440 Obsoletes:      boost-static < 1.33
441
442 %description program_options-static
443 Static boost::program_options library.
444
445 %description program_options-static -l pl.UTF-8
446 Biblioteka statyczna boost::program_options.
447
448 %package ref-devel
449 Summary:        Small library useful for passing references to function templates
450 Summary(pl.UTF-8):      Mała biblioteka użyteczna przy przekazywaniu referencji do wzorców funkcji
451 Group:          Development/Libraries
452 Requires:       %{name}-devel = %{version}-%{release}
453
454 %description ref-devel
455 boost::ref library is a small library that is useful for passing
456 references to function templates (algorithms) that would usually take
457 copies of their arguments.
458
459 %description ref-devel -l pl.UTF-8
460 Biblioteka boost::ref jest małą biblioteką która jest użyteczna w
461 przypadku przekazywania referencji do wzorców funkcji (algorytmów)
462 które zazwyczaj biorą kopię swoich argumentów.
463
464 %package signals
465 Summary:        Signals & slots callback implementation
466 Summary(pl.UTF-8):      Implementacja sygnałów i slotów
467 Group:          Libraries
468 Obsoletes:      boost < 1.33
469
470 %description signals
471 The boost::signals library is an implementation of a signals and slots
472 system.
473
474 %description signals -l pl.UTF-8
475 Biblioteka boost::signals jest implementacją systemu sygnałów i
476 slotów.
477
478 %package signals-devel
479 Summary:        Header files for boost::signals library
480 Summary(pl.UTF-8):      Pliki nagłówkowe dla biblioteki boost::signals
481 Group:          Development/Libraries
482 Requires:       %{name}-any-devel = %{version}-%{release}
483 Requires:       %{name}-devel = %{version}-%{release}
484 Requires:       %{name}-signals = %{version}-%{release}
485 #TODO: separate smart_ptr or include to the main devel package
486 Requires:       %{name}-bind-devel = %{version}-%{release}
487 #Requires:      %{name}-iterator_adaptors-devel = %{version}-%{release}
488 #Requires:      %{name}-operators-devel = %{version}-%{release}
489 Requires:       %{name}-ref-devel = %{version}-%{release}
490 #Requires:      %{name}-smart_ptr-devel = %{version}-%{release}
491
492 %description signals-devel
493 Header files for boost::signals library.
494
495 %description signals-devel -l pl.UTF-8
496 Pliki nagłówkowe dla biblioteki boost::signals.
497
498 %package signals-static
499 Summary:        Static library for boost::signals
500 Summary(pl.UTF-8):      Biblioteka statyczna dla boost::signals
501 Group:          Development/Libraries
502 Requires:       %{name}-signals-devel = %{version}-%{release}
503
504 %description signals-static
505 Static library for boost::signals.
506
507 %description signals-static -l pl.UTF-8
508 Biblioteka statyczna dla boost::signals.
509
510 %package spirit-devel
511 Summary:        LL parser framework
512 Summary(pl.UTF-8):      Szkielet parsera LL
513 Group:          Development/Libraries
514 Requires:       %{name}-compressed_pair-devel = %{version}-%{release}
515 Requires:       %{name}-ref-devel = %{version}-%{release}
516 Requires:       %{name}-regex-devel = %{version}-%{release}
517 Requires:       %{name}-thread-devel = %{version}-%{release}
518 #TODO:
519 #?Requires:     %{name}-iterators-devel = %{version}-%{release}
520 #?Requires:     %{name}-smart_ptr-devel = %{version}-%{release}
521
522 %description spirit-devel
523 LL parser framework represents parsers directly as EBNF grammars in
524 inlined C++.
525
526 %description spirit-devel -l pl.UTF-8
527 Szkielet parsera LL reprezentujący parsery jako gramatyki EBNF
528 bezpośrednio w kodzie C++.
529
530 %package test
531 Summary:        Support for program testing and  execution monitoring
532 Summary(pl.UTF-8):      Wsparcie dla testowania i monitorowania programu
533 Group:          Libraries
534 Obsoletes:      boost < 1.33
535
536 %description test
537 Support for simple program testing, full unit testing, and for program
538 execution monitoring.
539
540 %description test -l pl.UTF-8
541 Wsparcie dla prostego testowania programu, pełnego testowania i
542 monitorowania wykonania programu.
543
544 %package test-devel
545 Summary:        Header files for boost::test
546 Summary(pl.UTF-8):      Pliki nagłówkowe dla boost::test
547 Group:          Development/Libraries
548 Requires:       %{name}-call_traits-devel = %{version}-%{release}
549 Requires:       %{name}-devel = %{version}-%{release}
550 Requires:       %{name}-test = %{version}-%{release}
551 #TODO:
552 #?Requires?:    %{name}-function-devel = %{version}-%{release}
553 #Requires:      %{name}-smart_ptr = %{version}-%{release}
554
555 %description test-devel
556 Header files for boost::test.
557
558 %description test-devel -l pl.UTF-8
559 Pliki nagłówkowe dla boost::test.
560
561 %package test-static
562 Summary:        Static boost::test libraries
563 Summary(pl.UTF-8):      Biblioteki statyczne boost::test
564 Group:          Development/Libraries
565 Requires:       %{name}-test-devel = %{version}-%{release}
566 Obsoletes:      boost-static < 1.33
567
568 %description test-static
569 Static boost::test libraries.
570
571 %description test-static -l pl.UTF-8
572 Biblioteki statyczne boost::test.
573
574 %package thread
575 Summary:        Portable C++ threads library
576 Summary(pl.UTF-8):      Przenośna biblioteka wątków C++
577 Group:          Libraries
578 Obsoletes:      boost < 1.33
579
580 %description thread
581 Portable C++ threads library - shared library.
582
583 %description thread -l pl.UTF-8
584 Przenośna biblioteka wątków dla C++ - biblioteka dzielona.
585
586 %package thread-devel
587 Summary:        Header files for boost::thread library
588 Summary(pl.UTF-8):      Pliki nagłówkowe dla biblioteki boost::thread
589 Group:          Development/Libraries
590 Requires:       %{name}-devel = %{version}-%{release}
591 Requires:       %{name}-thread = %{version}-%{release}
592 #TODO:requires boost::function or boost::function to boost-devel
593
594 %description thread-devel
595 Header files for boost::thread library.
596
597 %description thread-devel -l pl.UTF-8
598 Pliki nagłówkowe dla biblioteki boost::thread.
599
600 %package thread-static
601 Summary:        Portable C++ threads library - static version
602 Summary(pl.UTF-8):      Przenośna biblioteka wątków C++ - wersja statyczna
603 Group:          Libraries
604 Requires:       %{name}-thread-devel = %{version}-%{release}
605 Obsoletes:      boost < 1.33
606
607 %description thread-static
608 Portable C++ threads library - static library.
609
610 %description thread-static -l pl.UTF-8
611 Przenośna biblioteka wątków dla C++ - biblioteka statyczna.
612
613 %package uBLAS-devel
614 Summary:        Basic linear algebra for dense, packed and sparse matrices
615 Summary(pl.UTF-8):      Prosta liniowa algebra dla gęstych, upakowanych i rzadkich macierzy
616 Group:          Development/Libraries
617 Requires:       %{name}-devel = %{version}-%{release}
618
619 %description uBLAS-devel
620 uBLAS library provides templated C++ classes for dense, unit and
621 sparse vectors, dense, identity, triangular, banded, symmetric,
622 hermitian and sparse matrices.
623
624 %description uBLAS-devel -l pl.UTF-8
625 Biblioteka uBLAS dostarcza wzorce klas C++ dla gęstych, jednostkowych
626 i rzadkich wektorów oraz gęstych, jednostkowych, trójkątnych,
627 diagonalnych, symetrycznych, hermitowskich i rzadkich macierzy.
628
629 %package wave-devel
630 Summary:        Boost.Wave - a standard compliant C++ preprocessor library
631 Summary(pl.UTF-8):      Boost.Wave - zgodna ze standardem biblioteka preprocesora C++
632 Group:          Development/Libraries
633 Requires:       %{name}-devel = %{version}-%{release}
634
635 %description wave-devel
636 Boost.Wave - a standard compliant C++ preprocessor library.
637
638 %description wave-devel -l pl.UTF-8
639 Boost.Wave - zgodna ze standardem biblioteka preprocesora C++.
640
641 %package doc
642 Summary:        Boost C++ Library documentation
643 Summary(pl.UTF-8):      Dokumentacja dla biblioteki Boost C++
644 Group:          Documentation
645 Requires:       %{name}-devel = %{version}-%{release}
646
647 %description doc
648 Documentation for the Boost C++ Library.
649
650 %description doc -l pl.UTF-8
651 Dokumentacja dla biblioteki Boost C++.
652
653 %prep
654 %setup -q -n %{name}_%{_fver}
655 %patch0 -p1
656 %patch1 -p1
657
658 # don't know how to pass it through (b)jam -s (no way?)
659 # due to oversophisticated build flags system
660 %{__perl} -pi -e 's/ -O3 / %{rpmcxxflags} /' tools/build/v1/gcc-tools.jam
661
662 %ifarch alpha
663 # -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only)
664 # don't know, is it gcc bug or intentional omission?
665 # anyway, boost check of -D_REENTRANT in its headers, so it's needed here
666 %{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam
667 %endif
668
669 %build
670 %if %{with python}
671 PYTHON_VERSION=$(%{__python} -c 'import sys; print sys.version[0:3]')
672 PYTHON_ROOT=%{_prefix}
673 %else
674 PYTHON_ROOT=
675 PYTHON_VERSION=
676 %endif
677 bjam \
678         -d2 \
679         -sGXX="%{__cxx}" \
680         -sGCC="%{__cc}" \
681         -sHAVE_ICU=1 -sICU_PATH=/usr \
682         -sBUILD="release <threading>multi <shared-linkable>true <inlining>on" \
683         -sPYTHON_ROOT=$PYTHON_ROOT \
684         -sPYTHON_VERSION=$PYTHON_VERSION
685
686 %install
687 rm -rf $RPM_BUILD_ROOT
688 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
689
690 cp -rf boost $RPM_BUILD_ROOT%{_includedir}
691
692 install bin/boost/libs/*/build/*.a/*/release/inlining-on/shared-linkable-true/*/lib*.a $RPM_BUILD_ROOT%{_libdir}
693 install bin/boost/libs/*/build/*.so/*/release/inlining-on/shared-linkable-true/*/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
694 # use cp -d, install follows symlinks instead of preserving them!
695 cp -df bin/boost/libs/*/build/*.so/*/release/inlining-on/shared-linkable-true/*/lib*.so $RPM_BUILD_ROOT%{_libdir}
696
697 # create symlinks without -gcc-mt-* things in names
698 for f in $RPM_BUILD_ROOT%{_libdir}/*.so.*; do
699         [ -f "$f" ] || continue
700         f=$(basename "$f")
701         soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.so#g')
702
703         ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
704 done
705 for f in $RPM_BUILD_ROOT%{_libdir}/*.a; do
706         [ -f "$f" ] || continue
707         f=$(basename "$f")
708         soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.a#g')
709
710         ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}"
711 done
712
713 # documentation
714 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
715 install README $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
716
717 # as the documentation doesn't completely reside in a directory of its
718 # own, we need to find out ourselves... this looks for HTML files and
719 # then collects everything linked from those.  this is certainly quite
720 # unoptimized wrt mkdir calls, but does it really matter?
721 installdocs() {
722 for i in $(find -type f -name '*.htm*'); do
723         # bjam docu is included in the boost-jam RPM
724         if test "`echo $i | sed 's,jam_src,,'`" = "$i"; then
725                 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/${i%/*}
726                 for LINKED in `%{__perl} - $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i <<'EOT'
727                         sub rewrite_link
728                         {
729                                 my $link = shift;
730                                 # rewrite links from boost/* to %{_includedir}/boost/* and
731                                 # ignore external links as well as document-internal ones.
732                                 # HTML files are also ignored as they get installed anyway.
733                                 if (!($link =~ s,^(?:../)*boost/,%{_includedir}/boost/,) && !($link =~ m,(?:^[^/]+:|^\#|\.html?(?:$|\#)),))
734                                 {
735                                         (my $file = $link) =~ s/\#.*//;
736                                         print "$file\n";
737                                 }
738                                 $link;
739                         }
740                         open IN, @ARGV[0];
741                         open OUT, ">@ARGV[1]";
742                         my $in_link;
743                         while (<IN>)
744                         {
745                                 $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e;
746                                 s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig;
747                                 print OUT;
748                                 $in_link = /href|src=\s*$/;
749                         }
750 EOT`; do
751                         TARGET=${i%/*}/$LINKED
752                         # ignore non-existant linked files
753                         if test -f $TARGET; then
754                                 install -D -m 644 $TARGET $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$TARGET
755                         fi
756                 done
757         fi
758 done
759 }; installdocs
760
761 %clean
762 rm -rf $RPM_BUILD_ROOT
763
764 %post   -p /sbin/ldconfig
765 %postun -p /sbin/ldconfig
766
767 %post   date_time -p /sbin/ldconfig
768 %postun date_time -p /sbin/ldconfig
769
770 %post   filesystem -p /sbin/ldconfig
771 %postun filesystem -p /sbin/ldconfig
772
773 %post   python  -p /sbin/ldconfig
774 %postun python  -p /sbin/ldconfig
775
776 %post   program_options -p /sbin/ldconfig
777 %postun program_options -p /sbin/ldconfig
778
779 %post   regex   -p /sbin/ldconfig
780 %postun regex   -p /sbin/ldconfig
781
782 %post   signals -p /sbin/ldconfig
783 %postun signals -p /sbin/ldconfig
784
785 %post   test    -p /sbin/ldconfig
786 %postun test    -p /sbin/ldconfig
787
788 %post   thread  -p /sbin/ldconfig
789 %postun thread  -p /sbin/ldconfig
790
791 %files
792 %defattr(644,root,root,755)
793 %attr(755,root,root) %{_libdir}/libboost_iostreams*.so.*.*.*
794 %attr(755,root,root) %{_libdir}/libboost_serialization*.so.*.*.*
795 %attr(755,root,root) %{_libdir}/libboost_wserialization*.so.*.*.*
796
797 %files devel
798 %defattr(644,root,root,755)
799 %attr(755,root,root) %{_libdir}/libboost_iostreams*.so
800 %attr(755,root,root) %{_libdir}/libboost_serialization*.so
801 %attr(755,root,root) %{_libdir}/libboost_wserialization*.so
802 %dir %{_includedir}/boost
803 %{_includedir}/boost/algorithm
804 %{_includedir}/boost/archive
805 %{_includedir}/boost/assert.hpp
806 %{_includedir}/boost/assign
807 %{_includedir}/boost/assign.hpp
808 %{_includedir}/boost/blank_fwd.hpp
809 %{_includedir}/boost/cast.hpp
810 %{_includedir}/boost/checked_delete.hpp
811 %{_includedir}/boost/concept_archetype.hpp
812 %{_includedir}/boost/concept_check.hpp
813 %{_includedir}/boost/config
814 %{_includedir}/boost/config.hpp
815 %{_includedir}/boost/cstd*.hpp
816 %{_includedir}/boost/current_function.hpp
817 %dir %{_includedir}/boost/detail
818 %{_includedir}/boost/detail/algorithm.hpp
819 %{_includedir}/boost/detail/allocator_utilities.hpp
820 %{_includedir}/boost/detail/atomic_count*.hpp
821 %{_includedir}/boost/detail/bad_weak_ptr.hpp
822 %{_includedir}/boost/detail/binary_search.hpp
823 %{_includedir}/boost/detail/catch_exceptions.hpp
824 %{_includedir}/boost/detail/dynamic_bitset.hpp
825 %{_includedir}/boost/detail/endian.hpp
826 %{_includedir}/boost/detail/indirect_traits.hpp
827 %{_includedir}/boost/detail/interlocked.hpp
828 %{_includedir}/boost/detail/is_function_ref_tester.hpp
829 %{_includedir}/boost/detail/is_incrementable.hpp
830 %{_includedir}/boost/detail/is_xxx.hpp
831 %{_includedir}/boost/detail/iterator.hpp
832 %{_includedir}/boost/detail/lightweight_*.hpp
833 %{_includedir}/boost/detail/limits.hpp
834 %{_includedir}/boost/detail/lwm_*.hpp
835 %{_includedir}/boost/detail/named_template_params.hpp
836 %{_includedir}/boost/detail/no_exceptions_support.hpp
837 %{_includedir}/boost/detail/numeric_traits.hpp
838 %{_includedir}/boost/detail/quick_allocator.hpp
839 %{_includedir}/boost/detail/reference_content.hpp
840 %{_includedir}/boost/detail/select_type.hpp
841 %{_includedir}/boost/detail/shared_*.hpp
842 %{_includedir}/boost/detail/sp_counted_*.hpp
843 %{_includedir}/boost/detail/utf8_codecvt_facet.hpp
844 %{_includedir}/boost/detail/workaround.hpp
845 %{_includedir}/boost/dynamic_bitset
846 %{_includedir}/boost/dynamic_bitset.hpp
847 %{_includedir}/boost/dynamic_bitset_fwd.hpp
848 %{_includedir}/boost/dynamic_property_map.hpp
849 %{_includedir}/boost/enable_shared_from_this.hpp
850 %{_includedir}/boost/format
851 %{_includedir}/boost/format.hpp
852 %{_includedir}/boost/function
853 %{_includedir}/boost/function.hpp
854 %{_includedir}/boost/function_equal.hpp
855 %{_includedir}/boost/function_output_iterator.hpp
856 %{_includedir}/boost/functional
857 %{_includedir}/boost/functional.hpp
858 %{_includedir}/boost/generator_iterator.hpp
859 %{_includedir}/boost/graph
860 %{_includedir}/boost/implicit_cast.hpp
861 %{_includedir}/boost/indirect_reference.hpp
862 %{_includedir}/boost/integer
863 %{_includedir}/boost/integer*.hpp
864 %{_includedir}/boost/intrusive_ptr.hpp
865 %{_includedir}/boost/io
866 %{_includedir}/boost/iostreams
867 %{_includedir}/boost/io_fwd.hpp
868 %{_includedir}/boost/iterator*.hpp
869 %{_includedir}/boost/iterator
870 %{_includedir}/boost/lambda
871 %{_includedir}/boost/lexical_cast.hpp
872 %{_includedir}/boost/limits.hpp
873 %{_includedir}/boost/logic
874 %{_includedir}/boost/math
875 %{_includedir}/boost/math_fwd.hpp
876 %{_includedir}/boost/mpl
877 %{_includedir}/boost/multi_array
878 %{_includedir}/boost/multi_array.hpp
879 %{_includedir}/boost/multi_index
880 %{_includedir}/boost/multi_index_container.hpp
881 %{_includedir}/boost/multi_index_container_fwd.hpp
882 %{_includedir}/boost/next_prior.hpp
883 %{_includedir}/boost/noncopyable.hpp
884 %{_includedir}/boost/nondet_random.hpp
885 %{_includedir}/boost/none.hpp
886 %{_includedir}/boost/none_t.hpp
887 %{_includedir}/boost/non_type.hpp
888 %dir %{_includedir}/boost/numeric
889 %{_includedir}/boost/numeric/interval*
890 %{_includedir}/boost/numeric/conversion
891 %{_includedir}/boost/operators.hpp
892 %{_includedir}/boost/optional
893 %{_includedir}/boost/optional.hpp
894 %{_includedir}/boost/parameter
895 %{_includedir}/boost/parameter.hpp
896 %{_includedir}/boost/pending
897 %{_includedir}/boost/pfto.hpp
898 %{_includedir}/boost/pool
899 %{_includedir}/boost/pointee.hpp
900 %{_includedir}/boost/preprocessor
901 %{_includedir}/boost/preprocessor.hpp
902 %{_includedir}/boost/progress.hpp
903 %{_includedir}/boost/property_map*.hpp
904 %{_includedir}/boost/ptr_container
905 %{_includedir}/boost/random
906 %{_includedir}/boost/random.hpp
907 %{_includedir}/boost/range
908 %{_includedir}/boost/range.hpp
909 %{_includedir}/boost/rational.hpp
910 %{_includedir}/boost/scoped_*.hpp
911 %{_includedir}/boost/serialization
912 %{_includedir}/boost/shared_*.hpp
913 %{_includedir}/boost/smart_cast.hpp
914 %{_includedir}/boost/smart_ptr.hpp
915 %{_includedir}/boost/state_saver.hpp
916 %{_includedir}/boost/static_assert.hpp
917 %{_includedir}/boost/static_warning.hpp
918 %{_includedir}/boost/strong_typedef.hpp
919 %{_includedir}/boost/throw_exception.hpp
920 %{_includedir}/boost/timer.hpp
921 %{_includedir}/boost/token*.hpp
922 %{_includedir}/boost/tuple
923 %{_includedir}/boost/type.hpp
924 %{_includedir}/boost/type_traits.hpp
925 %{_includedir}/boost/type_traits
926 %{_includedir}/boost/utility*.hpp
927 %{_includedir}/boost/utility
928 %{_includedir}/boost/version.hpp
929 %{_includedir}/boost/vector_property_map.hpp
930 %{_includedir}/boost/weak_ptr.hpp
931 #boost::variant
932 %{_includedir}/boost/variant.hpp
933 %{_includedir}/boost/variant
934 %{_includedir}/boost/blank.hpp
935 %{_includedir}/boost/detail/templated_streams.hpp
936 #boost::optional
937 %{_includedir}/boost/aligned_storage.hpp
938 %{_includedir}/boost/detail/none_t.hpp
939
940 %files static
941 %defattr(644,root,root,755)
942 %{_libdir}/libboost_iostreams*.a
943 %{_libdir}/libboost_serialization*.a
944 %{_libdir}/libboost_wserialization*.a
945
946 %if %{with python}
947 %files python
948 %defattr(644,root,root,755)
949 %attr(755,root,root) %{_libdir}/libboost_python*.so.*.*.*
950
951 %files python-devel
952 %defattr(644,root,root,755)
953 %attr(755,root,root) %{_libdir}/libboost_python*.so
954 %{_includedir}/boost/python
955 %{_includedir}/boost/python.hpp
956
957 %files python-static
958 %defattr(644,root,root,755)
959 %{_libdir}/libboost_python*.a
960 %endif
961
962 %files regex
963 %defattr(644,root,root,755)
964 %attr(755,root,root) %{_libdir}/libboost_regex*.so.*.*.*
965
966 %files regex-devel
967 %defattr(644,root,root,755)
968 %attr(755,root,root) %{_libdir}/libboost_regex*.so
969 %{_includedir}/boost/cregex.hpp
970 %{_includedir}/boost/regex.h
971 %{_includedir}/boost/regex*.hpp
972 %{_includedir}/boost/regex
973
974 %files regex-static
975 %defattr(644,root,root,755)
976 %{_libdir}/libboost_regex*.a
977
978 %files any-devel
979 %defattr(644,root,root,755)
980 %{_includedir}/boost/any.hpp
981
982 %files array-devel
983 %defattr(644,root,root,755)
984 %{_includedir}/boost/array.hpp
985
986 %files bind-devel
987 %defattr(644,root,root,755)
988 %{_includedir}/boost/bind
989 %{_includedir}/boost/bind.hpp
990 %{_includedir}/boost/get_pointer.hpp
991 %{_includedir}/boost/mem_fn.hpp
992
993 %files call_traits-devel
994 %defattr(644,root,root,755)
995 %{_includedir}/boost/call_traits.hpp
996 %{_includedir}/boost/detail/call_traits.hpp
997 %{_includedir}/boost/detail/ob_call_traits.hpp
998
999 %files compatibility-devel
1000 %defattr(644,root,root,755)
1001 %{_includedir}/boost/compatibility
1002
1003 %files compressed_pair-devel
1004 %defattr(644,root,root,755)
1005 %{_includedir}/boost/compressed_pair.hpp
1006 %{_includedir}/boost/detail/compressed_pair.hpp
1007 %{_includedir}/boost/detail/ob_compressed_pair.hpp
1008
1009 %files crc-devel
1010 %defattr(644,root,root,755)
1011 %{_includedir}/boost/crc.hpp
1012
1013 %files date_time
1014 %defattr(644,root,root,755)
1015 %attr(755,root,root) %{_libdir}/libboost_date_time*.so.*.*.*
1016
1017 %files date_time-devel
1018 %defattr(644,root,root,755)
1019 %attr(755,root,root) %{_libdir}/libboost_date_time*.so
1020 %{_includedir}/boost/date_time
1021
1022 %files date_time-static
1023 %defattr(644,root,root,755)
1024 %{_libdir}/libboost_date_time*.a
1025
1026 %files filesystem
1027 %defattr(644,root,root,755)
1028 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so.*.*.*
1029
1030 %files filesystem-devel
1031 %defattr(644,root,root,755)
1032 %attr(755,root,root) %{_libdir}/libboost_filesystem*.so
1033 %{_includedir}/boost/filesystem
1034
1035 %files filesystem-static
1036 %defattr(644,root,root,755)
1037 %{_libdir}/libboost_filesystem*.a
1038
1039 %files program_options
1040 %defattr(644,root,root,755)
1041 %attr(755,root,root) %{_libdir}/libboost_program_options*.so.*.*.*
1042
1043 %files program_options-devel
1044 %defattr(644,root,root,755)
1045 %attr(755,root,root) %{_libdir}/libboost_program_options*.so
1046 %{_includedir}/boost/program_options
1047 %{_includedir}/boost/program_options.hpp
1048
1049 %files program_options-static
1050 %defattr(644,root,root,755)
1051 %{_libdir}/libboost_program_options*.a
1052
1053 %files ref-devel
1054 %defattr(644,root,root,755)
1055 %{_includedir}/boost/ref.hpp
1056
1057 %files signals
1058 %defattr(644,root,root,755)
1059 %attr(755,root,root) %{_libdir}/libboost_signals*.so.*.*.*
1060
1061 %files signals-devel
1062 %defattr(644,root,root,755)
1063 %attr(755,root,root) %{_libdir}/libboost_signals*.so
1064 %{_includedir}/boost/signal*.hpp
1065 %{_includedir}/boost/signals
1066 %{_includedir}/boost/last_value.hpp
1067 %{_includedir}/boost/visit_each.hpp
1068
1069 %files signals-static
1070 %defattr(644,root,root,755)
1071 %{_libdir}/libboost_signals*.a
1072
1073 %files spirit-devel
1074 %defattr(644,root,root,755)
1075 %{_includedir}/boost/spirit.hpp
1076 %{_includedir}/boost/spirit
1077
1078 %files test
1079 %defattr(644,root,root,755)
1080 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so.*.*.*
1081 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so.*.*.*
1082 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so.*.*.*
1083
1084 %files test-devel
1085 %defattr(644,root,root,755)
1086 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so
1087 %attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so
1088 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so
1089 %{_includedir}/boost/test
1090
1091 %files test-static
1092 %defattr(644,root,root,755)
1093 %{_libdir}/libboost_prg_exec_monitor*.a
1094 %{_libdir}/libboost_test_exec_monitor*.a
1095 %{_libdir}/libboost_unit_test_framework*.a
1096
1097 %files thread
1098 %defattr(644,root,root,755)
1099 %attr(755,root,root) %{_libdir}/libboost_thread*.so.*.*.*
1100
1101 %files thread-devel
1102 %defattr(644,root,root,755)
1103 %attr(755,root,root) %{_libdir}/libboost_thread*.so
1104 %{_includedir}/boost/thread
1105 %{_includedir}/boost/thread.hpp
1106
1107 %files thread-static
1108 %defattr(644,root,root,755)
1109 %attr(755,root,root) %{_libdir}/libboost_thread*.a
1110
1111 %files uBLAS-devel
1112 %defattr(644,root,root,755)
1113 %{_includedir}/boost/numeric/ublas
1114
1115 %files wave-devel
1116 %defattr(644,root,root,755)
1117 %{_libdir}/libboost_wave*.a
1118 %{_includedir}/boost/wave
1119 %{_includedir}/boost/wave.hpp
1120
1121 %files doc
1122 %defattr(644,root,root,755)
1123 %{_docdir}/%{name}-%{version}
This page took 0.110742 seconds and 4 git commands to generate.