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