]> git.pld-linux.org Git - packages/boost.git/blob - boost.spec
- basic update to 1.34.0 (builds and install), TODO updated, release 0.1.
[packages/boost.git] / boost.spec
1 #
2 # TODO:
3 # - review python fixes.
4 # - add new subpackages and update files.
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.34.0
14 Release:        0.1
15 License:        Boost Software License and others
16 Group:          Libraries
17 Source0:        http://dl.sourceforge.net/boost/%{name}_%{_fver}.tar.bz2
18 # Source0-md5:  ed5b9291ffad776f8757a916e1726ad0
19 Patch0:         %{name}-atomicity.patch
20 #Patch1:                %{name}-python.patch
21 URL:            http://www.boost.org/
22 BuildRequires:  boost-jam >= 3.1.3
23 BuildRequires:  bzip2-devel
24 BuildRequires:  libicu-devel
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  perl-base
27 %{?with_python:BuildRequires:   python-devel >= 2.2}
28 BuildRequires:  rpm-pythonprov
29 BuildRequires:  zlib-devel
30 BuildConflicts: gcc = 5:3.3.1
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 -p0
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 # - pass -fPIC due to <shared-linkable> removal.
665 %{__perl} -pi -e 's/ -O3 / %{rpmcxxflags} -fPIC /' tools/build/v2/tools/gcc.jam
666 # - we pass debug flags in cxxflags, so remove hardcoded -g.
667 %{__perl} -pi -e 's/ -g / -gdwarf-2 -g2 /' tools/build/v2/tools/gcc.jam
668
669 %ifarch alpha
670 # -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only)
671 # don't know, is it gcc bug or intentional omission?
672 # anyway, boost check of -D_REENTRANT in its headers, so it's needed here
673 %{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam
674 %endif
675
676 %build
677 %if %{with python}
678 PYTHON_VERSION=$(%{__python} -c 'import sys; print sys.version[0:3]')
679 PYTHON_ROOT=%{_prefix}
680 %else
681 PYTHON_ROOT=
682 PYTHON_VERSION=
683 %endif
684 bjam \
685         -d2 --toolset=gcc \
686         variant=release threading=multi inlining=on debug-symbols=on
687
688 #       -sPYTHON_ROOT=$PYTHON_ROOT \
689 #       -sPYTHON_VERSION=$PYTHON_VERSION
690
691 %install
692 rm -rf $RPM_BUILD_ROOT
693 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
694
695 cp -rf boost $RPM_BUILD_ROOT%{_includedir}
696
697 install bin.v2/libs/*/build/gcc-*/release/debug-symbols-on/inlining-on/link-static/threading-multi/lib*.a $RPM_BUILD_ROOT%{_libdir}
698 install bin.v2/libs/*/build/gcc-*/release/debug-symbols-on/inlining-on/threading-multi/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
699
700 # create symlinks without -gcc42-mt-* things in names
701 for f in $RPM_BUILD_ROOT%{_libdir}/*.so.*.*.*; do
702         [ -f "$f" ] || continue
703         f=$(basename "$f")
704         soname=$(basename "$f" | sed -e 's#-gcc42-mt-.*#.so#g')
705         ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/$soname"
706 done
707 for f in $RPM_BUILD_ROOT%{_libdir}/*.a; do
708         [ -f "$f" ] || continue
709         f=$(basename "$f")
710         soname=$(basename "$f" | sed -e 's#-gcc42-mt-.*#.a#g')
711         ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/$soname"
712 done
713
714 # documentation
715 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
716 install README $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
717
718 # as the documentation doesn't completely reside in a directory of its
719 # own, we need to find out ourselves... this looks for HTML files and
720 # then collects everything linked from those.  this is certainly quite
721 # unoptimized wrt mkdir calls, but does it really matter?
722 installdocs() {
723 for i in $(find -type f -name '*.htm*'); do
724         # bjam docu is included in the boost-jam RPM
725         if test "`echo $i | sed 's,jam_src,,'`" = "$i"; then
726                 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/${i%/*}
727                 for LINKED in `%{__perl} - $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i <<'EOT'
728                         sub rewrite_link
729                         {
730                                 my $link = shift;
731                                 # rewrite links from boost/* to %{_includedir}/boost/* and
732                                 # ignore external links as well as document-internal ones.
733                                 # HTML files are also ignored as they get installed anyway.
734                                 if (!($link =~ s,^(?:../)*boost/,%{_includedir}/boost/,) && !($link =~ m,(?:^[^/]+:|^\#|\.html?(?:$|\#)),))
735                                 {
736                                         (my $file = $link) =~ s/\#.*//;
737                                         print "$file\n";
738                                 }
739                                 $link;
740                         }
741                         open IN, @ARGV[0];
742                         open OUT, ">@ARGV[1]";
743                         my $in_link;
744                         while (<IN>)
745                         {
746                                 $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e;
747                                 s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig;
748                                 print OUT;
749                                 $in_link = /href|src=\s*$/;
750                         }
751 EOT`; do
752                         TARGET=${i%/*}/$LINKED
753                         # ignore non-existant linked files
754                         if test -f $TARGET; then
755                                 install -D -m 644 $TARGET $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$TARGET
756                         fi
757                 done
758         fi
759 done
760 }; installdocs
761
762 %clean
763 rm -rf $RPM_BUILD_ROOT
764
765 %post   -p /sbin/ldconfig
766 %postun -p /sbin/ldconfig
767
768 %post   date_time -p /sbin/ldconfig
769 %postun date_time -p /sbin/ldconfig
770
771 %post   filesystem -p /sbin/ldconfig
772 %postun filesystem -p /sbin/ldconfig
773
774 %post   python  -p /sbin/ldconfig
775 %postun python  -p /sbin/ldconfig
776
777 %post   program_options -p /sbin/ldconfig
778 %postun program_options -p /sbin/ldconfig
779
780 %post   regex   -p /sbin/ldconfig
781 %postun regex   -p /sbin/ldconfig
782
783 %post   signals -p /sbin/ldconfig
784 %postun signals -p /sbin/ldconfig
785
786 %post   test    -p /sbin/ldconfig
787 %postun test    -p /sbin/ldconfig
788
789 %post   thread  -p /sbin/ldconfig
790 %postun thread  -p /sbin/ldconfig
791
792 %files
793 %defattr(644,root,root,755)
794 %attr(755,root,root) %{_libdir}/libboost_iostreams*.so.*.*.*
795 %attr(755,root,root) %{_libdir}/libboost_serialization*.so.*.*.*
796 %attr(755,root,root) %{_libdir}/libboost_wserialization*.so.*.*.*
797
798 %files devel
799 %defattr(644,root,root,755)
800 %attr(755,root,root) %{_libdir}/libboost_iostreams*.so
801 %attr(755,root,root) %{_libdir}/libboost_serialization*.so
802 %attr(755,root,root) %{_libdir}/libboost_wserialization*.so
803 %dir %{_includedir}/boost
804 %{_includedir}/boost/algorithm
805 %{_includedir}/boost/archive
806 %{_includedir}/boost/assert.hpp
807 %{_includedir}/boost/assign
808 %{_includedir}/boost/assign.hpp
809 %{_includedir}/boost/blank_fwd.hpp
810 %{_includedir}/boost/cast.hpp
811 %{_includedir}/boost/checked_delete.hpp
812 %{_includedir}/boost/concept_archetype.hpp
813 %{_includedir}/boost/concept_check.hpp
814 %{_includedir}/boost/config
815 %{_includedir}/boost/config.hpp
816 %{_includedir}/boost/cstd*.hpp
817 %{_includedir}/boost/current_function.hpp
818 %dir %{_includedir}/boost/detail
819 %{_includedir}/boost/detail/algorithm.hpp
820 %{_includedir}/boost/detail/allocator_utilities.hpp
821 %{_includedir}/boost/detail/atomic_count*.hpp
822 %{_includedir}/boost/detail/bad_weak_ptr.hpp
823 %{_includedir}/boost/detail/binary_search.hpp
824 %{_includedir}/boost/detail/catch_exceptions.hpp
825 %{_includedir}/boost/detail/dynamic_bitset.hpp
826 %{_includedir}/boost/detail/endian.hpp
827 %{_includedir}/boost/detail/indirect_traits.hpp
828 %{_includedir}/boost/detail/interlocked.hpp
829 %{_includedir}/boost/detail/is_function_ref_tester.hpp
830 %{_includedir}/boost/detail/is_incrementable.hpp
831 %{_includedir}/boost/detail/is_xxx.hpp
832 %{_includedir}/boost/detail/iterator.hpp
833 %{_includedir}/boost/detail/lightweight_*.hpp
834 %{_includedir}/boost/detail/limits.hpp
835 %{_includedir}/boost/detail/lwm_*.hpp
836 %{_includedir}/boost/detail/named_template_params.hpp
837 %{_includedir}/boost/detail/no_exceptions_support.hpp
838 %{_includedir}/boost/detail/numeric_traits.hpp
839 %{_includedir}/boost/detail/quick_allocator.hpp
840 %{_includedir}/boost/detail/reference_content.hpp
841 %{_includedir}/boost/detail/select_type.hpp
842 %{_includedir}/boost/detail/shared_*.hpp
843 %{_includedir}/boost/detail/sp_counted_*.hpp
844 %{_includedir}/boost/detail/utf8_codecvt_facet.hpp
845 %{_includedir}/boost/detail/workaround.hpp
846 %{_includedir}/boost/dynamic_bitset
847 %{_includedir}/boost/dynamic_bitset.hpp
848 %{_includedir}/boost/dynamic_bitset_fwd.hpp
849 %{_includedir}/boost/dynamic_property_map.hpp
850 %{_includedir}/boost/enable_shared_from_this.hpp
851 %{_includedir}/boost/format
852 %{_includedir}/boost/format.hpp
853 %{_includedir}/boost/function
854 %{_includedir}/boost/function.hpp
855 %{_includedir}/boost/function_equal.hpp
856 %{_includedir}/boost/function_output_iterator.hpp
857 %{_includedir}/boost/functional
858 %{_includedir}/boost/functional.hpp
859 %{_includedir}/boost/generator_iterator.hpp
860 %{_includedir}/boost/graph
861 %{_includedir}/boost/implicit_cast.hpp
862 %{_includedir}/boost/indirect_reference.hpp
863 %{_includedir}/boost/integer
864 %{_includedir}/boost/integer*.hpp
865 %{_includedir}/boost/intrusive_ptr.hpp
866 %{_includedir}/boost/io
867 %{_includedir}/boost/iostreams
868 %{_includedir}/boost/io_fwd.hpp
869 %{_includedir}/boost/iterator*.hpp
870 %{_includedir}/boost/iterator
871 %{_includedir}/boost/lambda
872 %{_includedir}/boost/lexical_cast.hpp
873 %{_includedir}/boost/limits.hpp
874 %{_includedir}/boost/logic
875 %{_includedir}/boost/math
876 %{_includedir}/boost/math_fwd.hpp
877 %{_includedir}/boost/mpl
878 %{_includedir}/boost/multi_array
879 %{_includedir}/boost/multi_array.hpp
880 %{_includedir}/boost/multi_index
881 %{_includedir}/boost/multi_index_container.hpp
882 %{_includedir}/boost/multi_index_container_fwd.hpp
883 %{_includedir}/boost/next_prior.hpp
884 %{_includedir}/boost/noncopyable.hpp
885 %{_includedir}/boost/nondet_random.hpp
886 %{_includedir}/boost/none.hpp
887 %{_includedir}/boost/non_type.hpp
888 %dir %{_includedir}/boost/numeric
889 %{_includedir}/boost/numeric/interval*
890 %{_includedir}/boost/numeric/conversion
891 %{_includedir}/boost/operators.hpp
892 %{_includedir}/boost/optional
893 %{_includedir}/boost/optional.hpp
894 %{_includedir}/boost/parameter
895 %{_includedir}/boost/parameter.hpp
896 %{_includedir}/boost/pending
897 %{_includedir}/boost/pfto.hpp
898 %{_includedir}/boost/pool
899 %{_includedir}/boost/pointee.hpp
900 %{_includedir}/boost/preprocessor
901 %{_includedir}/boost/preprocessor.hpp
902 %{_includedir}/boost/progress.hpp
903 %{_includedir}/boost/property_map*.hpp
904 %{_includedir}/boost/ptr_container
905 %{_includedir}/boost/random
906 %{_includedir}/boost/random.hpp
907 %{_includedir}/boost/range
908 %{_includedir}/boost/range.hpp
909 %{_includedir}/boost/rational.hpp
910 %{_includedir}/boost/scoped_*.hpp
911 %{_includedir}/boost/serialization
912 %{_includedir}/boost/shared_*.hpp
913 %{_includedir}/boost/smart_cast.hpp
914 %{_includedir}/boost/smart_ptr.hpp
915 %{_includedir}/boost/state_saver.hpp
916 %{_includedir}/boost/static_assert.hpp
917 %{_includedir}/boost/static_warning.hpp
918 %{_includedir}/boost/strong_typedef.hpp
919 %{_includedir}/boost/throw_exception.hpp
920 %{_includedir}/boost/timer.hpp
921 %{_includedir}/boost/token*.hpp
922 %{_includedir}/boost/tuple
923 %{_includedir}/boost/type.hpp
924 %{_includedir}/boost/type_traits.hpp
925 %{_includedir}/boost/type_traits
926 %{_includedir}/boost/utility*.hpp
927 %{_includedir}/boost/utility
928 %{_includedir}/boost/version.hpp
929 %{_includedir}/boost/vector_property_map.hpp
930 %{_includedir}/boost/weak_ptr.hpp
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_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_unit_test_framework*.so
1087 %{_includedir}/boost/test
1088
1089 %files test-static
1090 %defattr(644,root,root,755)
1091 %{_libdir}/libboost_prg_exec_monitor*.a
1092 %{_libdir}/libboost_test_exec_monitor*.a
1093 %{_libdir}/libboost_unit_test_framework*.a
1094
1095 %files thread
1096 %defattr(644,root,root,755)
1097 %attr(755,root,root) %{_libdir}/libboost_thread*.so.*.*.*
1098
1099 %files thread-devel
1100 %defattr(644,root,root,755)
1101 %attr(755,root,root) %{_libdir}/libboost_thread*.so
1102 %{_includedir}/boost/thread
1103 %{_includedir}/boost/thread.hpp
1104
1105 %files thread-static
1106 %defattr(644,root,root,755)
1107 %attr(755,root,root) %{_libdir}/libboost_thread*.a
1108
1109 %files uBLAS-devel
1110 %defattr(644,root,root,755)
1111 %{_includedir}/boost/numeric/ublas
1112
1113 %files wave-devel
1114 %defattr(644,root,root,755)
1115 %{_libdir}/libboost_wave*.a
1116 %{_includedir}/boost/wave
1117 %{_includedir}/boost/wave.hpp
1118
1119 %files doc
1120 %defattr(644,root,root,755)
1121 %{_docdir}/%{name}-%{version}
This page took 0.101382 seconds and 4 git commands to generate.