]>
Commit | Line | Data |
---|---|---|
c6874538 | 1 | # |
bde731a5 | 2 | # TODO: |
63acc731 | 3 | # - pass %{__cxx} |
bde731a5 | 4 | # |
c6874538 | 5 | # Conditional build: |
65d4777a | 6 | %bcond_without python # without boost-python support |
c6874538 | 7 | # |
835aa2c4 | 8 | %define _fver %(echo %{version} | tr . _) |
c6874538 | 9 | Summary: The Boost C++ Libraries |
aa63c3d9 | 10 | Summary(pl.UTF-8): Biblioteki C++ "Boost" |
49f48a3b | 11 | Name: boost |
70a7dfdd | 12 | Version: 1.34.1 |
05b0e240 | 13 | Release: 2 |
db639b8e | 14 | License: Boost Software License and others |
c6874538 | 15 | Group: Libraries |
db639b8e | 16 | Source0: http://dl.sourceforge.net/boost/%{name}_%{_fver}.tar.bz2 |
70a7dfdd | 17 | # Source0-md5: 2d938467e8a448a2c9763e0a9f8ca7e5 |
49f48a3b | 18 | URL: http://www.boost.org/ |
fe68e457 | 19 | BuildRequires: boost-jam >= 3.1.12 |
afbf1450 | 20 | BuildRequires: bzip2-devel |
7c12a8f9 | 21 | BuildRequires: libicu-devel |
49f48a3b | 22 | BuildRequires: libstdc++-devel |
30964b71 | 23 | BuildRequires: perl-base |
6725319f | 24 | %{?with_python:BuildRequires: python-devel >= 2.2} |
dbf04d57 | 25 | BuildRequires: rpm-pythonprov |
afbf1450 | 26 | BuildRequires: zlib-devel |
c6874538 | 27 | BuildConflicts: gcc = 5:3.3.1 |
49f48a3b | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
c6874538 | 29 | |
30 | %description | |
31 | The Boost web site provides free peer-reviewed portable C++ source | |
32 | libraries. The emphasis is on libraries which work well with the C++ | |
33 | Standard Library. One goal is to establish "existing practice" and | |
34 | provide reference implementations so that the Boost libraries are | |
35 | suitable for eventual standardization. Some of the libraries have | |
36 | already been proposed for inclusion in the C++ Standards Committee's | |
37 | upcoming C++ Standard Library Technical Report. | |
38 | ||
4c35df9e | 39 | %description -l pl.UTF-8 |
49f48a3b | 40 | Strona http://www.boost.org/ dostarcza darmowe biblioteki C++ wraz z |
4c35df9e JR |
41 | kodem źródłowym. Nacisk położono na biblioteki, które dobrze |
42 | współpracują ze standardową biblioteką C++. Celem jest ustanowienie | |
43 | "istniejącej praktyki" i dostarczenie implementacji, tak że biblioteki | |
44 | "Boost" nadają się do ewentualnej standaryzacji. Niektóre z bibliotek | |
45 | już zostały zgłoszone do komitetu standaryzacyjnego C++ w nadchodzącym | |
c6874538 | 46 | Raporcie Technicznym Biblioteki Standardowej C++ |
47 | ||
49f48a3b | 48 | %package devel |
000cd675 | 49 | Summary: Boost C++ development headers |
aa63c3d9 | 50 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek C++ Boost |
49f48a3b | 51 | Group: Development/Libraries |
000cd675 | 52 | Requires: %{name} = %{version}-%{release} |
49f48a3b | 53 | Requires: libstdc++-devel |
89fd45a2 | 54 | # temporary Provides (until CVS HEAD stops using it)? |
05b0e240 | 55 | Provides: boost-call_traits-devel = %{version}-%{release} |
89fd45a2 JB |
56 | Provides: boost-concept_check-devel = %{version}-%{release} |
57 | Provides: boost-conversion-devel = %{version}-%{release} | |
58 | Provides: boost-mpl-devel = %{version}-%{release} | |
59 | Provides: boost-preprocessor-devel = %{version}-%{release} | |
7c797e1a | 60 | Provides: boost-ref-devel = %{version}-%{release} |
89fd45a2 JB |
61 | Provides: boost-static_assert-devel = %{version}-%{release} |
62 | Provides: boost-type_traits-devel = %{version}-%{release} | |
63 | Provides: boost-utility-devel = %{version}-%{release} | |
05b0e240 | 64 | Obsoletes: boost-call_traits-devel |
470f1aae | 65 | Obsoletes: boost-compose-devel |
89fd45a2 JB |
66 | Obsoletes: boost-concept_check-devel |
67 | Obsoletes: boost-conversion-devel | |
68 | Obsoletes: boost-mpl-devel | |
69 | Obsoletes: boost-preprocessor-devel | |
7c797e1a | 70 | Obsoletes: boost-ref-devel |
89fd45a2 JB |
71 | Obsoletes: boost-static_assert-devel |
72 | Obsoletes: boost-type_traits-devel | |
73 | Obsoletes: boost-utility-devel | |
49f48a3b JB |
74 | |
75 | %description devel | |
000cd675 | 76 | Header files for the Boost C++ libraries. |
49f48a3b | 77 | |
4c35df9e JR |
78 | %description devel -l pl.UTF-8 |
79 | Pliki nagłówkowe bibliotek C++ Boost. | |
000cd675 JB |
80 | |
81 | %package static | |
82 | Summary: Static version of base Boost C++ libraries | |
aa63c3d9 | 83 | Summary(pl.UTF-8): Statyczne wersje podstawowych bibliotek C++ Boost |
000cd675 JB |
84 | Group: Development/Libraries |
85 | Requires: %{name}-devel = %{version}-%{release} | |
86 | ||
87 | %description static | |
88 | Static version of base Boost C++ libraries. | |
89 | ||
4c35df9e | 90 | %description static -l pl.UTF-8 |
000cd675 | 91 | Statyczne wersje podstawowych bibliotek C++ Boost. |
49f48a3b | 92 | |
c6874538 | 93 | %package python |
94 | Summary: Boost.Python library | |
aa63c3d9 | 95 | Summary(pl.UTF-8): biblioteka Boost.Python |
c6874538 | 96 | Group: Libraries |
6725319f | 97 | %pyrequires_eq python |
c6874538 | 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 | ||
4c35df9e JR |
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ć'' | |
66ac0d93 | 114 | klasy C++ i funkcje do Pythona. |
c6874538 | 115 | |
116 | %package python-devel | |
117 | Summary: Boost.Python development headers | |
aa63c3d9 | 118 | Summary(pl.UTF-8): Pliki nagłówkowe dla Boost.Python |
49f48a3b | 119 | Group: Development/Libraries |
835aa2c4 | 120 | Requires: %{name}-compressed_pair-devel = %{version}-%{release} |
49f48a3b | 121 | Requires: %{name}-devel = %{version}-%{release} |
6725319f | 122 | Requires: %{name}-python = %{version}-%{release} |
c6874538 | 123 | |
124 | %description python-devel | |
66ac0d93 | 125 | Headers for the Boost.Python library. |
c6874538 | 126 | |
4c35df9e JR |
127 | %description python-devel -l pl.UTF-8 |
128 | Pliki nagłówkowe dla biblioteki Boost.Python. | |
c6874538 | 129 | |
6725319f JB |
130 | %package python-static |
131 | Summary: Static version of Boost.Python library | |
aa63c3d9 | 132 | Summary(pl.UTF-8): Statyczna wersja biblioteki Boost.Python |
6725319f JB |
133 | Group: Development/Libraries |
134 | Requires: %{name}-python-devel = %{version}-%{release} | |
135 | ||
136 | %description python-static | |
137 | Static version of Boost.Python library. | |
138 | ||
4c35df9e | 139 | %description python-static -l pl.UTF-8 |
6725319f JB |
140 | Statyczna wersja biblioteki Boost.Python. |
141 | ||
c6874538 | 142 | %package regex |
143 | Summary: Boost C++ regular expressions library | |
aa63c3d9 | 144 | Summary(pl.UTF-8): Biblioteka wyrażeń regularnych Boost C++ |
c6874538 | 145 | Group: Libraries |
c6874538 | 146 | |
147 | %description regex | |
49f48a3b | 148 | Shared library for Boost C++ regular expressions. |
66ac0d93 | 149 | |
4c35df9e JR |
150 | %description regex -l pl.UTF-8 |
151 | Biblioteka wyrażeń regularnych dla C++, biblioteki dzielone. | |
c6874538 | 152 | |
153 | %package regex-devel | |
d143171f | 154 | Summary: Boost C++ Regex library headers |
aa63c3d9 | 155 | Summary(pl.UTF-8): Pliki nagłówkowe Boost C++ Regex |
49f48a3b JB |
156 | Group: Development/Libraries |
157 | Requires: %{name}-devel = %{version}-%{release} | |
158 | Requires: %{name}-regex = %{version}-%{release} | |
c6874538 | 159 | |
160 | %description regex-devel | |
02c23151 | 161 | Boost C++ Regex headers. |
66ac0d93 | 162 | |
4c35df9e JR |
163 | %description regex-devel -l pl.UTF-8 |
164 | Pliki nagłówkowe dla Boost C++ Regex. | |
02c23151 | 165 | |
166 | %package regex-static | |
d143171f | 167 | Summary: Boost C++ Regex static libraries |
aa63c3d9 | 168 | Summary(pl.UTF-8): Biblioteki statyczne Boost C++ Regex |
02c23151 | 169 | Group: Development/Libraries |
75f9f612 | 170 | Requires: %{name}-regex-devel = %{version}-%{release} |
02c23151 | 171 | |
172 | %description regex-static | |
173 | Boost C++ Regex static libraries. | |
174 | ||
4c35df9e | 175 | %description regex-static -l pl.UTF-8 |
02c23151 | 176 | Biblioteki statyczne dla Boost C++ Regex. |
c6874538 | 177 | |
48db9581 | 178 | %package any-devel |
66ac0d93 | 179 | Summary: Header for Boost C++ "Any" Library |
aa63c3d9 | 180 | Summary(pl.UTF-8): Plik nagłówkowy dla biblioteki Boost C++ "Any" |
49f48a3b JB |
181 | Group: Development/Libraries |
182 | Requires: %{name}-devel = %{version}-%{release} | |
66ac0d93 | 183 | |
48db9581 | 184 | %description any-devel |
66ac0d93 | 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 | ||
48db9581 | 189 | I.e. 5 is held strictly as an int and is not implicitly convertible |
66ac0d93 | 190 | either to "5" or to 5.0. |
191 | ||
4c35df9e JR |
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. | |
48db9581 | 196 | |
2da865cb | 197 | Np. 5 jest trzymane jako int i nie jest niejawnie konwertowalne ani do |
198 | "5" ani do 5.0. | |
48db9581 | 199 | |
e2861ccf | 200 | %package array-devel |
c41c28be | 201 | Summary: STL compliant container wrapper for arrays of constant size |
aa63c3d9 | 202 | Summary(pl.UTF-8): Wrapper na STLowe kontenery dla tablic o stałym rozmiarze |
49f48a3b JB |
203 | Group: Development/Libraries |
204 | Requires: %{name}-devel = %{version}-%{release} | |
205 | ||
e2861ccf | 206 | %description array-devel |
c41c28be | 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 | ||
4c35df9e JR |
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. | |
e2861ccf | 220 | |
2da865cb | 221 | %package bind-devel |
89fd45a2 | 222 | Summary: Generalized binders for function/object/pointers and member functions |
aa63c3d9 | 223 | Summary(pl.UTF-8): Uogólnione bindery dla funkcji/obiektów/wskaźników oraz metod |
2da865cb | 224 | Group: Development/Libraries |
3aca641e | 225 | Requires: %{name}-signals-devel = %{version}-%{release} |
89fd45a2 | 226 | Provides: boost-mem_fn-devel = %{version}-%{release} |
470f1aae | 227 | Obsoletes: boost-compose-devel |
89fd45a2 | 228 | Obsoletes: boost-mem_fn-devel |
2da865cb | 229 | |
230 | %description bind-devel | |
231 | boost::bind is a generalization of the standard functions std::bind1st | |
89fd45a2 JB |
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. | |
2da865cb | 235 | |
4c35df9e JR |
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. | |
2da865cb | 240 | |
07026cfc | 241 | %package compatibility-devel |
07026cfc | 242 | Summary: Help for non-conforming standard libraries |
aa63c3d9 | 243 | Summary(pl.UTF-8): Pomoc dla nie trzymających standardu bibliotek |
b0977fb8 JB |
244 | Group: Development/Libraries |
245 | Requires: %{name}-devel = %{version}-%{release} | |
07026cfc | 246 | |
247 | %description compatibility-devel | |
248 | This library provides workarounds which allow the other Boost | |
b0977fb8 | 249 | libraries to be used on otherwise non-conforming platforms. |
07026cfc | 250 | |
4c35df9e JR |
251 | %description compatibility-devel -l pl.UTF-8 |
252 | Biblioteka dostarcza obejście problemu platform nie trzymających | |
253 | standardu C++, pozwalające na używanie bibliotek Boost na tych | |
07026cfc | 254 | platformach. |
255 | ||
78e5fd3a | 256 | %package compose-devel |
b0977fb8 | 257 | Summary: Functional composition adapters for the STL |
aa63c3d9 | 258 | Summary(pl.UTF-8): Funkcjonalne adaptery kompozycji dla STL |
78e5fd3a | 259 | Group: Development/Libraries |
b0977fb8 | 260 | Requires: %{name}-devel = %{version}-%{release} |
78e5fd3a | 261 | |
262 | %description compose-devel | |
263 | The boost::compose provides compose function object adapter extensions | |
264 | for use with the Standard Template Library (STL) portion of the C++ | |
265 | Standard Library. If you aren't currently using the STL, this library | |
b0977fb8 JB |
266 | won't be of any interest, but hard-core STL users will appreciate its |
267 | usefulness. | |
78e5fd3a | 268 | |
4c35df9e | 269 | %description compose-devel -l pl.UTF-8 |
78e5fd3a | 270 | boost::compose dostarcza rozszerzenie adaptera obiektu funkcji compose |
4c35df9e JR |
271 | do użytku z STL-ową częścią Standardu C++. Jeżeli nie używasz STL, |
272 | biblioteka będzie poza twoim zainteresowaniem, lecz hardkorowi | |
273 | użytkownicy STL-a docenią jej użyteczność. | |
802191b8 | 274 | |
275 | %package compressed_pair-devel | |
b0977fb8 | 276 | Summary: Empty member optimization |
aa63c3d9 | 277 | Summary(pl.UTF-8): Optymalizacja pustego elementu |
802191b8 | 278 | Group: Development/Libraries |
b0977fb8 | 279 | Requires: %{name}-devel = %{version}-%{release} |
802191b8 | 280 | |
281 | %description compressed_pair-devel | |
282 | The class boost::compressed_pair is very similar to std::pair, but if | |
283 | either of the template arguments are empty classes, then the "empty | |
284 | base-class optimisation" is applied to compress the size of the pair. | |
285 | ||
4c35df9e | 286 | %description compressed_pair-devel -l pl.UTF-8 |
802191b8 | 287 | Klasa boost::compressed_pair jest bardzo podobna do std::pair, ale |
4c35df9e | 288 | jeżeli któryś z argumentów wzorca jest pustą klasą, wtedy stosowana |
802191b8 | 289 | jest "optymalizacja pustej klasy bazowej" do kompresji pary. |
290 | ||
02c23151 | 291 | %package crc-devel |
d143171f | 292 | Summary: CRC computing library |
aa63c3d9 | 293 | Summary(pl.UTF-8): Biblioteka obliczająca CRC |
02c23151 | 294 | Group: Development/Libraries |
295 | Requires: %{name}-devel = %{version}-%{release} | |
296 | ||
297 | %description crc-devel | |
298 | The boost::crc library provides two implementations of CRC computation | |
299 | objects and functions. The implementations are template-based. | |
300 | ||
4c35df9e JR |
301 | %description crc-devel -l pl.UTF-8 |
302 | Bibliteka boost::crc dostarcza dwie implementacje obiektów i funkcji | |
303 | obliczających CRC. Implementacje są oparte na wzorcach. | |
02c23151 | 304 | |
305 | %package date_time | |
d143171f | 306 | Summary: Date-Time library |
aa63c3d9 | 307 | Summary(pl.UTF-8): Biblioteka daty-czasu |
02c23151 | 308 | Group: Libraries |
000cd675 | 309 | Obsoletes: boost < 1.33 |
02c23151 | 310 | |
311 | %description date_time | |
312 | A set of date-time libraries. | |
313 | ||
4c35df9e JR |
314 | %description date_time -l pl.UTF-8 |
315 | Zbiór bibliotek daty-czasu. | |
02c23151 | 316 | |
317 | %package date_time-devel | |
d143171f | 318 | Summary: Header files for boost::date_time library |
aa63c3d9 | 319 | Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki boost::date_time |
02c23151 | 320 | Group: Development/Libraries |
321 | Requires: %{name}-date_time = %{version}-%{release} | |
89fd45a2 | 322 | Requires: %{name}-devel = %{version}-%{release} |
02c23151 | 323 | #TODO: make decision if do separate packages include it to main devel package |
02c23151 | 324 | #Requires: %{name}-integer-devel = %{version}-%{release} |
835aa2c4 | 325 | #Requires: %{name}-operators-devel = %{version}-%{release} |
02c23151 | 326 | #Requires: %{name}-tokenizer-devel = %{version}-%{release} |
02c23151 | 327 | |
328 | %description date_time-devel | |
329 | Header files for boost::date_time library. | |
330 | ||
4c35df9e JR |
331 | %description date_time-devel -l pl.UTF-8 |
332 | Pliki nagłówkowe dla biblioteki boost::date_time | |
02c23151 | 333 | |
334 | %package date_time-static | |
d143171f | 335 | Summary: Static boost::date_time library |
aa63c3d9 | 336 | Summary(pl.UTF-8): Statyczna biblioteka boost::date_time |
02c23151 | 337 | Group: Development/Libraries |
338 | Requires: %{name}-date_time-devel = %{version}-%{release} | |
339 | ||
340 | %description date_time-static | |
341 | Static boost::date_time library. | |
342 | ||
4c35df9e | 343 | %description date_time-devel -l pl.UTF-8 |
02c23151 | 344 | Statyczna biblioteka boost::date_time. |
345 | ||
31026e88 | 346 | %package filesystem |
347 | Summary: Portable paths, iteration over directories, and other useful filesystem operations | |
aa63c3d9 | 348 | Summary(pl.UTF-8): Przenośne ścieżki, iteracje katalogów i inne użyteczne operacje na systemie plików |
31026e88 | 349 | Group: Libraries |
000cd675 | 350 | Obsoletes: boost < 1.33 |
31026e88 | 351 | |
352 | %description filesystem | |
04846599 JB |
353 | The boost::filesystem library provides portable facilities to query |
354 | and manipulate paths, files, and directories. | |
31026e88 | 355 | |
4c35df9e JR |
356 | %description filesystem -l pl.UTF-8 |
357 | Przenośna biblioteka boost::filesystem dostarcza ułatwienia w | |
358 | operacjach na ścieżkach, plikach i katalogach. | |
31026e88 | 359 | |
360 | %package filesystem-devel | |
361 | Summary: Header files for boost::filesystem | |
aa63c3d9 | 362 | Summary(pl.UTF-8): Pliki nagłówkowe dla boost::filesystem |
31026e88 | 363 | Group: Development/Libraries |
364 | Requires: %{name}-devel = %{version}-%{release} | |
365 | Requires: %{name}-filesystem = %{version}-%{release} | |
366 | #TODO: | |
367 | #Requires: %{name}-smart_ptr = %{version}-%{release} | |
368 | ||
369 | %description filesystem-devel | |
370 | Header files for boost::filesystem library. | |
371 | ||
4c35df9e JR |
372 | %description filesystem-devel -l pl.UTF-8 |
373 | Pliki nagłówkowe dla biblioteki boost::filesystem. | |
31026e88 | 374 | |
375 | %package filesystem-static | |
376 | Summary: Static boost::filesystem library | |
aa63c3d9 | 377 | Summary(pl.UTF-8): Biblioteka statyczna boost::filesystem |
31026e88 | 378 | Group: Development/Libraries |
379 | Requires: %{name}-filesystem-devel = %{version}-%{release} | |
000cd675 | 380 | Obsoletes: boost-static < 1.33 |
31026e88 | 381 | |
382 | %description filesystem-static | |
383 | Static boost::filesystem library. | |
384 | ||
4c35df9e | 385 | %description filesystem-static -l pl.UTF-8 |
31026e88 | 386 | Biblioteka statyczna boost::filesystem. |
387 | ||
06ed6468 AM |
388 | %package graph |
389 | Summary: General purpose, generic C++ library for graph data structures and graph algorithms | |
390 | Summary(pl.UTF-8): Biblioteka ogólnego przeznaczenia w C++ dla struktur danych typu grafy oraz algorytmów związanych z grafami | |
391 | Group: Libraries | |
392 | ||
393 | %description graph | |
394 | The boost::graph library provides portable facilities to operate on | |
395 | graph data structures using graph algorithms. | |
396 | ||
397 | %description graph -l pl.UTF-8 | |
398 | Przenośna biblioteka boost::graph dostarcza ułatwienia w operacjach na | |
399 | strukturach danych typu graf za pomocą algorytmów związanych z | |
400 | grafami. | |
401 | ||
402 | %package graph-devel | |
403 | Summary: Header files for boost::graph | |
404 | Summary(pl.UTF-8): Pliki nagłówkowe dla boost::graph | |
405 | Group: Development/Libraries | |
406 | Requires: %{name}-devel = %{version}-%{release} | |
6e8aac7f | 407 | Requires: %{name}-graph = %{version}-%{release} |
06ed6468 AM |
408 | |
409 | %description graph-devel | |
410 | Header files for boost::graph library. | |
411 | ||
412 | %description graph-devel -l pl.UTF-8 | |
413 | Pliki nagłówkowe dla biblioteki boost::graph. | |
414 | ||
415 | %package graph-static | |
416 | Summary: Static boost::graph library | |
417 | Summary(pl.UTF-8): Biblioteka statyczna boost::graph | |
418 | Group: Development/Libraries | |
419 | Requires: %{name}-graph-devel = %{version}-%{release} | |
420 | ||
421 | %description graph-static | |
422 | Static boost::graph library. | |
423 | ||
424 | %description graph-static -l pl.UTF-8 | |
425 | Biblioteka statyczna boost::graph. | |
426 | ||
99f4684a | 427 | %package program_options |
428 | Summary: Access to program options, via conventional methods such as command line and config file | |
aa63c3d9 | 429 | Summary(pl.UTF-8): Dostęp do opcji programu za pomocą typowych metod, jak linia poleceń i plik konfiguracyjny |
99f4684a | 430 | Group: Libraries |
431 | ||
432 | %description program_options | |
433 | The program_options library allows program developers to obtain | |
434 | program options, that is (name, value) pairs from the user, via | |
435 | conventional methods such as command line and config file. | |
436 | ||
4c35df9e JR |
437 | %description program_options -l pl.UTF-8 |
438 | Biblioteka program_options umożliwia uzyskanie od użytkownika opcji | |
439 | programu, czyli par (nazwa, wartość), za pomocą typowych metod, takich | |
440 | jak linia poleceń, czy plik konfiguracyjny. | |
99f4684a | 441 | |
442 | %package program_options-devel | |
443 | Summary: Header files for boost::program_options | |
aa63c3d9 | 444 | Summary(pl.UTF-8): Pliki nagłówkowe dla boost::program_options |
99f4684a | 445 | Group: Development/Libraries |
24d48d1d | 446 | Requires: %{name}-any-devel = %{version}-%{release} |
29cbb7c4 | 447 | Requires: %{name}-bind-devel = %{version}-%{release} |
99f4684a | 448 | Requires: %{name}-devel = %{version}-%{release} |
449 | Requires: %{name}-program_options = %{version}-%{release} | |
450 | ||
451 | %description program_options-devel | |
452 | Header files for boost::program_options library. | |
453 | ||
4c35df9e JR |
454 | %description program_options-devel -l pl.UTF-8 |
455 | Pliki nagłówkowe dla biblioteki boost::program_options. | |
99f4684a | 456 | |
457 | %package program_options-static | |
458 | Summary: Static boost::program_options library | |
aa63c3d9 | 459 | Summary(pl.UTF-8): Biblioteka statyczna boost::program_options |
99f4684a | 460 | Group: Development/Libraries |
461 | Requires: %{name}-program_options-devel = %{version}-%{release} | |
000cd675 | 462 | Obsoletes: boost-static < 1.33 |
99f4684a | 463 | |
464 | %description program_options-static | |
465 | Static boost::program_options library. | |
466 | ||
4c35df9e | 467 | %description program_options-static -l pl.UTF-8 |
99f4684a | 468 | Biblioteka statyczna boost::program_options. |
469 | ||
db639b8e | 470 | %package signals |
75f9f612 | 471 | Summary: Signals & slots callback implementation |
aa63c3d9 | 472 | Summary(pl.UTF-8): Implementacja sygnałów i slotów |
db639b8e | 473 | Group: Libraries |
000cd675 | 474 | Obsoletes: boost < 1.33 |
db639b8e | 475 | |
476 | %description signals | |
477 | The boost::signals library is an implementation of a signals and slots | |
478 | system. | |
479 | ||
4c35df9e JR |
480 | %description signals -l pl.UTF-8 |
481 | Biblioteka boost::signals jest implementacją systemu sygnałów i | |
482 | slotów. | |
db639b8e | 483 | |
484 | %package signals-devel | |
485 | Summary: Header files for boost::signals library | |
aa63c3d9 | 486 | Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki boost::signals |
db639b8e | 487 | Group: Development/Libraries |
835aa2c4 | 488 | Requires: %{name}-any-devel = %{version}-%{release} |
89fd45a2 | 489 | Requires: %{name}-devel = %{version}-%{release} |
d118c509 | 490 | Requires: %{name}-signals = %{version}-%{release} |
db639b8e | 491 | #TODO: separate smart_ptr or include to the main devel package |
835aa2c4 | 492 | Requires: %{name}-bind-devel = %{version}-%{release} |
db639b8e | 493 | #Requires: %{name}-iterator_adaptors-devel = %{version}-%{release} |
e4ddb7d1 | 494 | #Requires: %{name}-operators-devel = %{version}-%{release} |
835aa2c4 | 495 | #Requires: %{name}-smart_ptr-devel = %{version}-%{release} |
db639b8e | 496 | |
497 | %description signals-devel | |
498 | Header files for boost::signals library. | |
499 | ||
4c35df9e JR |
500 | %description signals-devel -l pl.UTF-8 |
501 | Pliki nagłówkowe dla biblioteki boost::signals. | |
db639b8e | 502 | |
503 | %package signals-static | |
504 | Summary: Static library for boost::signals | |
aa63c3d9 | 505 | Summary(pl.UTF-8): Biblioteka statyczna dla boost::signals |
db639b8e | 506 | Group: Development/Libraries |
507 | Requires: %{name}-signals-devel = %{version}-%{release} | |
508 | ||
509 | %description signals-static | |
510 | Static library for boost::signals. | |
511 | ||
4c35df9e | 512 | %description signals-static -l pl.UTF-8 |
db639b8e | 513 | Biblioteka statyczna dla boost::signals. |
514 | ||
1484405b | 515 | %package spirit-devel |
516 | Summary: LL parser framework | |
aa63c3d9 | 517 | Summary(pl.UTF-8): Szkielet parsera LL |
1484405b | 518 | Group: Development/Libraries |
1484405b | 519 | Requires: %{name}-compressed_pair-devel = %{version}-%{release} |
614df381 | 520 | Requires: %{name}-regex-devel = %{version}-%{release} |
1484405b | 521 | Requires: %{name}-thread-devel = %{version}-%{release} |
522 | #TODO: | |
1484405b | 523 | #?Requires: %{name}-iterators-devel = %{version}-%{release} |
835aa2c4 | 524 | #?Requires: %{name}-smart_ptr-devel = %{version}-%{release} |
1484405b | 525 | |
526 | %description spirit-devel | |
527 | LL parser framework represents parsers directly as EBNF grammars in | |
528 | inlined C++. | |
529 | ||
4c35df9e JR |
530 | %description spirit-devel -l pl.UTF-8 |
531 | Szkielet parsera LL reprezentujący parsery jako gramatyki EBNF | |
532 | bezpośrednio w kodzie C++. | |
1484405b | 533 | |
06ed6468 AM |
534 | %package statechart-devel |
535 | Summary: C++ library for finite state machines | |
0651a785 | 536 | Summary(pl.UTF-8): Biblioteka C++ do automatów skończonych |
06ed6468 AM |
537 | Group: Development/Libraries |
538 | Requires: %{name}-devel = %{version}-%{release} | |
539 | ||
540 | %description statechart-devel | |
541 | C++ library for finite state machines. | |
542 | ||
0651a785 JB |
543 | %description statechart-devel -l pl.UTF-8 |
544 | Biblioteka C++ do automatów skończonych. | |
545 | ||
c0536c7f | 546 | %package test |
547 | Summary: Support for program testing and execution monitoring | |
aa63c3d9 | 548 | Summary(pl.UTF-8): Wsparcie dla testowania i monitorowania programu |
c0536c7f | 549 | Group: Libraries |
000cd675 | 550 | Obsoletes: boost < 1.33 |
c0536c7f | 551 | |
552 | %description test | |
553 | Support for simple program testing, full unit testing, and for program | |
554 | execution monitoring. | |
555 | ||
4c35df9e JR |
556 | %description test -l pl.UTF-8 |
557 | Wsparcie dla prostego testowania programu, pełnego testowania i | |
c0536c7f | 558 | monitorowania wykonania programu. |
559 | ||
560 | %package test-devel | |
561 | Summary: Header files for boost::test | |
aa63c3d9 | 562 | Summary(pl.UTF-8): Pliki nagłówkowe dla boost::test |
c0536c7f | 563 | Group: Development/Libraries |
564 | Requires: %{name}-devel = %{version}-%{release} | |
1cc46e84 | 565 | Requires: %{name}-test = %{version}-%{release} |
c0536c7f | 566 | #TODO: |
c0536c7f | 567 | #?Requires?: %{name}-function-devel = %{version}-%{release} |
835aa2c4 | 568 | #Requires: %{name}-smart_ptr = %{version}-%{release} |
c0536c7f | 569 | |
570 | %description test-devel | |
571 | Header files for boost::test. | |
572 | ||
4c35df9e JR |
573 | %description test-devel -l pl.UTF-8 |
574 | Pliki nagłówkowe dla boost::test. | |
c0536c7f | 575 | |
576 | %package test-static | |
75f9f612 | 577 | Summary: Static boost::test libraries |
aa63c3d9 | 578 | Summary(pl.UTF-8): Biblioteki statyczne boost::test |
c0536c7f | 579 | Group: Development/Libraries |
1cc46e84 | 580 | Requires: %{name}-test-devel = %{version}-%{release} |
000cd675 | 581 | Obsoletes: boost-static < 1.33 |
c0536c7f | 582 | |
583 | %description test-static | |
75f9f612 | 584 | Static boost::test libraries. |
c0536c7f | 585 | |
4c35df9e | 586 | %description test-static -l pl.UTF-8 |
75f9f612 | 587 | Biblioteki statyczne boost::test. |
c0536c7f | 588 | |
02c23151 | 589 | %package thread |
d143171f | 590 | Summary: Portable C++ threads library |
aa63c3d9 | 591 | Summary(pl.UTF-8): Przenośna biblioteka wątków C++ |
02c23151 | 592 | Group: Libraries |
000cd675 | 593 | Obsoletes: boost < 1.33 |
02c23151 | 594 | |
595 | %description thread | |
e4ddb7d1 | 596 | Portable C++ threads library - shared library. |
02c23151 | 597 | |
4c35df9e JR |
598 | %description thread -l pl.UTF-8 |
599 | Przenośna biblioteka wątków dla C++ - biblioteka dzielona. | |
02c23151 | 600 | |
601 | %package thread-devel | |
d143171f | 602 | Summary: Header files for boost::thread library |
aa63c3d9 | 603 | Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki boost::thread |
02c23151 | 604 | Group: Development/Libraries |
89fd45a2 | 605 | Requires: %{name}-devel = %{version}-%{release} |
02c23151 | 606 | Requires: %{name}-thread = %{version}-%{release} |
02c23151 | 607 | #TODO:requires boost::function or boost::function to boost-devel |
608 | ||
609 | %description thread-devel | |
610 | Header files for boost::thread library. | |
611 | ||
4c35df9e JR |
612 | %description thread-devel -l pl.UTF-8 |
613 | Pliki nagłówkowe dla biblioteki boost::thread. | |
02c23151 | 614 | |
000cd675 JB |
615 | %package thread-static |
616 | Summary: Portable C++ threads library - static version | |
aa63c3d9 | 617 | Summary(pl.UTF-8): Przenośna biblioteka wątków C++ - wersja statyczna |
000cd675 JB |
618 | Group: Libraries |
619 | Requires: %{name}-thread-devel = %{version}-%{release} | |
620 | Obsoletes: boost < 1.33 | |
621 | ||
622 | %description thread-static | |
623 | Portable C++ threads library - static library. | |
624 | ||
4c35df9e JR |
625 | %description thread-static -l pl.UTF-8 |
626 | Przenośna biblioteka wątków dla C++ - biblioteka statyczna. | |
000cd675 | 627 | |
06ed6468 AM |
628 | %package tr1-devel |
629 | Summary: An implementation of the C++ Technical Report on Standard Library Extensions | |
0651a785 | 630 | Summary(pl.UTF-8): Implementacja C++ TR dla rozszerzeń biblioteki standardowej |
06ed6468 AM |
631 | Group: Development/Libraries |
632 | Requires: %{name}-devel = %{version}-%{release} | |
633 | ||
634 | %description tr1-devel | |
635 | The TR1 library provides an implementation of the C++ Technical Report | |
636 | on Standard Library Extensions. This library does not itself implement | |
637 | the TR1 components, rather it's a thin wrapper that will include your | |
638 | standard library's TR1 implementation (if it has one), otherwise it | |
639 | will include the Boost Library equivalents, and import them into | |
640 | namespace std::tr1. | |
641 | ||
0651a785 JB |
642 | %description tr1-devel -l pl.UTF-8 |
643 | Biblioteka TR1 udostępnia implementację C++ Technical Report on | |
644 | Standard Library Extensions (raporto technicznego dotyczącego | |
645 | rozszerzeń biblioteki standardowej C++). Biblioteka jako taka nie | |
646 | implementuje komponentów TR1, lecz jest cienkim opakowaniem | |
647 | zawierającym implementację TR1 z zainstalowanej biblioteki | |
648 | standardowej (jeśli taka jest) lub zawiera odpowiedniki z biblioteki | |
649 | Boost zaimportowane do przestrzeni nazw std::tr1. | |
06ed6468 AM |
650 | |
651 | %package typeof-devel | |
652 | Summary: Emulates C++ typeid() | |
0651a785 | 653 | Summary(pl.UTF-8): Emulacja typeid() z C++ |
06ed6468 AM |
654 | Group: Development/Libraries |
655 | Requires: %{name}-devel = %{version}-%{release} | |
656 | ||
657 | %description typeof-devel | |
658 | Emulates C++ typeid(). | |
659 | ||
0651a785 JB |
660 | %description typeof-devel -l pl.UTF-8 |
661 | Emulacja typeid() z C++. | |
662 | ||
6aa20fdd | 663 | %package uBLAS-devel |
664 | Summary: Basic linear algebra for dense, packed and sparse matrices | |
aa63c3d9 | 665 | Summary(pl.UTF-8): Prosta liniowa algebra dla gęstych, upakowanych i rzadkich macierzy |
6aa20fdd | 666 | Group: Development/Libraries |
89fd45a2 | 667 | Requires: %{name}-devel = %{version}-%{release} |
6aa20fdd | 668 | |
669 | %description uBLAS-devel | |
670 | uBLAS library provides templated C++ classes for dense, unit and | |
671 | sparse vectors, dense, identity, triangular, banded, symmetric, | |
672 | hermitian and sparse matrices. | |
673 | ||
4c35df9e JR |
674 | %description uBLAS-devel -l pl.UTF-8 |
675 | Biblioteka uBLAS dostarcza wzorce klas C++ dla gęstych, jednostkowych | |
676 | i rzadkich wektorów oraz gęstych, jednostkowych, trójkątnych, | |
59571dcf | 677 | diagonalnych, symetrycznych, hermitowskich i rzadkich macierzy. |
6aa20fdd | 678 | |
06ed6468 AM |
679 | %package wave |
680 | Summary: Boost.Wave - a standard compliant C++ preprocessor library | |
681 | Summary(pl.UTF-8): Boost.Wave - zgodna ze standardem biblioteka preprocesora C++ | |
682 | Group: Development/Libraries | |
683 | Requires: %{name}-devel = %{version}-%{release} | |
684 | ||
685 | %description wave | |
686 | Boost.Wave - a standard compliant C++ preprocessor library. | |
687 | ||
688 | %description wave -l pl.UTF-8 | |
689 | Boost.Wave - zgodna ze standardem biblioteka preprocesora C++. | |
690 | ||
000cd675 JB |
691 | %package wave-devel |
692 | Summary: Boost.Wave - a standard compliant C++ preprocessor library | |
aa63c3d9 | 693 | Summary(pl.UTF-8): Boost.Wave - zgodna ze standardem biblioteka preprocesora C++ |
000cd675 JB |
694 | Group: Development/Libraries |
695 | Requires: %{name}-devel = %{version}-%{release} | |
696 | ||
697 | %description wave-devel | |
698 | Boost.Wave - a standard compliant C++ preprocessor library. | |
06ed6468 | 699 | Development files. |
000cd675 | 700 | |
4c35df9e | 701 | %description wave-devel -l pl.UTF-8 |
06ed6468 AM |
702 | Boost.Wave - zgodna ze standardem biblioteka preprocesora C++. Pliki |
703 | dla developera. | |
704 | ||
705 | %package wave-static | |
706 | Summary: Boost.Wave - a standard compliant C++ preprocessor library | |
707 | Summary(pl.UTF-8): Boost.Wave - zgodna ze standardem biblioteka preprocesora C++ | |
708 | Group: Development/Libraries | |
709 | Requires: %{name}-wave-devel = %{version}-%{release} | |
710 | ||
711 | %description wave-static | |
712 | Boost.Wave - a standard compliant C++ preprocessor library. Static | |
713 | library. | |
714 | ||
715 | %description wave-static -l pl.UTF-8 | |
000cd675 | 716 | Boost.Wave - zgodna ze standardem biblioteka preprocesora C++. |
06ed6468 AM |
717 | Biblioteka statyczna. |
718 | ||
719 | %package xpressive-devel | |
720 | Summary: Object-oriented regular expression template library for C++ | |
0651a785 | 721 | Summary(pl.UTF-8): Zorientowana obiektowo biblioteka szablonów wyrażeń regularnych dla C++ |
06ed6468 AM |
722 | Group: Development/Libraries |
723 | Requires: %{name}-devel = %{version}-%{release} | |
724 | ||
725 | %description xpressive-devel | |
726 | xpressive is an advanced, object-oriented regular expression template | |
727 | library for C++. Regular expressions can be written as strings that | |
728 | are parsed at run-time, or as expression templates that are parsed at | |
729 | compile-time. Regular expressions can refer to each other and to | |
730 | themselves recursively, allowing you to build arbitrarily complicated | |
731 | grammars out of them. | |
000cd675 | 732 | |
0651a785 JB |
733 | %description xpressive-devel -l pl.UTF-8 |
734 | xpressive to zaawansowana, zorientowana obiektowo biblioteka szablonów | |
735 | wyrażeń regularnych dla C++. Wyrażenia regularne mogą być pisane jako | |
736 | łańcuchy znaków analizowane w czasie działania lub szablony wyrażeń | |
737 | analizowane w czasie kompilacji. Wyrażenia regularne mogą odwoływać | |
738 | się do siebie nawzajem i rekurencyjnie do siebie samych, co pozwala na | |
739 | tworzenie z nich dowolnie złożonych gramatyk. | |
740 | ||
c6874538 | 741 | %package doc |
742 | Summary: Boost C++ Library documentation | |
aa63c3d9 | 743 | Summary(pl.UTF-8): Dokumentacja dla biblioteki Boost C++ |
49f48a3b | 744 | Group: Documentation |
b0977fb8 | 745 | Requires: %{name}-devel = %{version}-%{release} |
c6874538 | 746 | |
747 | %description doc | |
66ac0d93 | 748 | Documentation for the Boost C++ Library. |
c6874538 | 749 | |
4c35df9e | 750 | %description doc -l pl.UTF-8 |
66ac0d93 | 751 | Dokumentacja dla biblioteki Boost C++. |
c6874538 | 752 | |
753 | %prep | |
db639b8e | 754 | %setup -q -n %{name}_%{_fver} |
c6874538 | 755 | |
9b1806d5 PS |
756 | # - don't know how to pass it through (b)jam -s (no way?) |
757 | # due to oversophisticated build flags system. | |
758 | # - pass -fPIC due to <shared-linkable> removal. | |
759 | %{__perl} -pi -e 's/ -O3 / %{rpmcxxflags} -fPIC /' tools/build/v2/tools/gcc.jam | |
502f5d36 | 760 | |
9b9b3ef7 JB |
761 | %ifarch alpha |
762 | # -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only) | |
763 | # don't know, is it gcc bug or intentional omission? | |
764 | # anyway, boost check of -D_REENTRANT in its headers, so it's needed here | |
765 | %{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam | |
766 | %endif | |
767 | ||
c6874538 | 768 | %build |
49f48a3b | 769 | %if %{with python} |
7c12a8f9 | 770 | PYTHON_VERSION=$(%{__python} -c 'import sys; print sys.version[0:3]') |
c6874538 | 771 | PYTHON_ROOT=%{_prefix} |
772 | %else | |
773 | PYTHON_ROOT= | |
774 | PYTHON_VERSION= | |
775 | %endif | |
49f48a3b | 776 | bjam \ |
9b1806d5 PS |
777 | -d2 --toolset=gcc \ |
778 | variant=release threading=multi inlining=on debug-symbols=on | |
779 | ||
c6874538 | 780 | %install |
781 | rm -rf $RPM_BUILD_ROOT | |
30964b71 | 782 | install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}} |
c6874538 | 783 | |
30964b71 | 784 | cp -rf boost $RPM_BUILD_ROOT%{_includedir} |
c6874538 | 785 | |
9b1806d5 PS |
786 | install bin.v2/libs/*/build/gcc-*/release/debug-symbols-on/inlining-on/link-static/threading-multi/lib*.a $RPM_BUILD_ROOT%{_libdir} |
787 | install bin.v2/libs/*/build/gcc-*/release/debug-symbols-on/inlining-on/threading-multi/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir} | |
fe815c68 | 788 | |
8dcb94bd | 789 | # create symlinks without -gccXX-mt-* things in names |
9b1806d5 | 790 | for f in $RPM_BUILD_ROOT%{_libdir}/*.so.*.*.*; do |
835aa2c4 | 791 | [ -f "$f" ] || continue |
fa767695 | 792 | f=$(basename "$f") |
8dcb94bd | 793 | soname=$(basename "$f" | sed -e 's#-gcc..-mt-.*#.so#g') |
9b1806d5 | 794 | ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/$soname" |
fa767695 AM |
795 | done |
796 | for f in $RPM_BUILD_ROOT%{_libdir}/*.a; do | |
835aa2c4 | 797 | [ -f "$f" ] || continue |
fa767695 | 798 | f=$(basename "$f") |
8dcb94bd | 799 | soname=$(basename "$f" | sed -e 's#-gcc..-mt-.*#.a#g') |
9b1806d5 | 800 | ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/$soname" |
fa767695 AM |
801 | done |
802 | ||
c6874538 | 803 | # documentation |
804 | install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version} | |
805 | install README $RPM_BUILD_ROOT%{_docdir}/boost-%{version} | |
806 | ||
807 | # as the documentation doesn't completely reside in a directory of its | |
808 | # own, we need to find out ourselves... this looks for HTML files and | |
809 | # then collects everything linked from those. this is certainly quite | |
810 | # unoptimized wrt mkdir calls, but does it really matter? | |
7c12a8f9 ER |
811 | installdocs() { |
812 | for i in $(find -type f -name '*.htm*'); do | |
c6874538 | 813 | # bjam docu is included in the boost-jam RPM |
814 | if test "`echo $i | sed 's,jam_src,,'`" = "$i"; then | |
7c12a8f9 | 815 | install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/${i%/*} |
30964b71 | 816 | for LINKED in `%{__perl} - $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i <<'EOT' |
c6874538 | 817 | sub rewrite_link |
818 | { | |
819 | my $link = shift; | |
820 | # rewrite links from boost/* to %{_includedir}/boost/* and | |
821 | # ignore external links as well as document-internal ones. | |
822 | # HTML files are also ignored as they get installed anyway. | |
823 | if (!($link =~ s,^(?:../)*boost/,%{_includedir}/boost/,) && !($link =~ m,(?:^[^/]+:|^\#|\.html?(?:$|\#)),)) | |
824 | { | |
825 | (my $file = $link) =~ s/\#.*//; | |
826 | print "$file\n"; | |
827 | } | |
828 | $link; | |
829 | } | |
830 | open IN, @ARGV[0]; | |
831 | open OUT, ">@ARGV[1]"; | |
66ac0d93 | 832 | my $in_link; |
c6874538 | 833 | while (<IN>) |
834 | { | |
66ac0d93 | 835 | $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e; |
c6874538 | 836 | s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig; |
837 | print OUT; | |
d143171f | 838 | $in_link = /href|src=\s*$/; |
c6874538 | 839 | } |
840 | EOT`; do | |
7c12a8f9 | 841 | TARGET=${i%/*}/$LINKED |
c6874538 | 842 | # ignore non-existant linked files |
843 | if test -f $TARGET; then | |
7c12a8f9 | 844 | install -D -m 644 $TARGET $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$TARGET |
c6874538 | 845 | fi |
846 | done | |
847 | fi | |
848 | done | |
7c12a8f9 | 849 | }; installdocs |
c6874538 | 850 | |
851 | %clean | |
852 | rm -rf $RPM_BUILD_ROOT | |
853 | ||
000cd675 JB |
854 | %post -p /sbin/ldconfig |
855 | %postun -p /sbin/ldconfig | |
856 | ||
3d8dd501 JB |
857 | %post date_time -p /sbin/ldconfig |
858 | %postun date_time -p /sbin/ldconfig | |
859 | ||
04846599 JB |
860 | %post filesystem -p /sbin/ldconfig |
861 | %postun filesystem -p /sbin/ldconfig | |
862 | ||
06ed6468 AM |
863 | %post graph -p /sbin/ldconfig |
864 | %postun graph -p /sbin/ldconfig | |
865 | ||
30964b71 | 866 | %post python -p /sbin/ldconfig |
66ac0d93 | 867 | %postun python -p /sbin/ldconfig |
c6874538 | 868 | |
290ca6f4 PS |
869 | %post program_options -p /sbin/ldconfig |
870 | %postun program_options -p /sbin/ldconfig | |
871 | ||
30964b71 JB |
872 | %post regex -p /sbin/ldconfig |
873 | %postun regex -p /sbin/ldconfig | |
c6874538 | 874 | |
3d8dd501 JB |
875 | %post signals -p /sbin/ldconfig |
876 | %postun signals -p /sbin/ldconfig | |
877 | ||
c0536c7f | 878 | %post test -p /sbin/ldconfig |
879 | %postun test -p /sbin/ldconfig | |
880 | ||
06ed6468 AM |
881 | %post wave -p /sbin/ldconfig |
882 | %postun wave -p /sbin/ldconfig | |
883 | ||
3d8dd501 JB |
884 | %post thread -p /sbin/ldconfig |
885 | %postun thread -p /sbin/ldconfig | |
886 | ||
000cd675 JB |
887 | %files |
888 | %defattr(644,root,root,755) | |
889 | %attr(755,root,root) %{_libdir}/libboost_iostreams*.so.*.*.* | |
890 | %attr(755,root,root) %{_libdir}/libboost_serialization*.so.*.*.* | |
891 | %attr(755,root,root) %{_libdir}/libboost_wserialization*.so.*.*.* | |
892 | ||
30964b71 JB |
893 | %files devel |
894 | %defattr(644,root,root,755) | |
000cd675 JB |
895 | %attr(755,root,root) %{_libdir}/libboost_iostreams*.so |
896 | %attr(755,root,root) %{_libdir}/libboost_serialization*.so | |
897 | %attr(755,root,root) %{_libdir}/libboost_wserialization*.so | |
c6874538 | 898 | %dir %{_includedir}/boost |
99f4684a | 899 | %{_includedir}/boost/algorithm |
900 | %{_includedir}/boost/archive | |
30964b71 | 901 | %{_includedir}/boost/assert.hpp |
99f4684a | 902 | %{_includedir}/boost/assign |
903 | %{_includedir}/boost/assign.hpp | |
db639b8e | 904 | %{_includedir}/boost/blank_fwd.hpp |
05b0e240 | 905 | %{_includedir}/boost/call_traits.hpp |
89fd45a2 JB |
906 | %{_includedir}/boost/cast.hpp |
907 | %{_includedir}/boost/checked_delete.hpp | |
908 | %{_includedir}/boost/concept_archetype.hpp | |
909 | %{_includedir}/boost/concept_check.hpp | |
30964b71 JB |
910 | %{_includedir}/boost/config |
911 | %{_includedir}/boost/config.hpp | |
30964b71 JB |
912 | %{_includedir}/boost/cstd*.hpp |
913 | %{_includedir}/boost/current_function.hpp | |
30964b71 JB |
914 | %dir %{_includedir}/boost/detail |
915 | %{_includedir}/boost/detail/algorithm.hpp | |
99f4684a | 916 | %{_includedir}/boost/detail/allocator_utilities.hpp |
30964b71 | 917 | %{_includedir}/boost/detail/atomic_count*.hpp |
000cd675 | 918 | %{_includedir}/boost/detail/bad_weak_ptr.hpp |
30964b71 | 919 | %{_includedir}/boost/detail/binary_search.hpp |
05b0e240 | 920 | %{_includedir}/boost/detail/call_traits.hpp |
30964b71 JB |
921 | %{_includedir}/boost/detail/catch_exceptions.hpp |
922 | %{_includedir}/boost/detail/dynamic_bitset.hpp | |
000cd675 | 923 | %{_includedir}/boost/detail/endian.hpp |
99f4684a | 924 | %{_includedir}/boost/detail/indirect_traits.hpp |
000cd675 | 925 | %{_includedir}/boost/detail/interlocked.hpp |
99f4684a | 926 | %{_includedir}/boost/detail/is_function_ref_tester.hpp |
db639b8e | 927 | %{_includedir}/boost/detail/is_incrementable.hpp |
000cd675 | 928 | %{_includedir}/boost/detail/is_xxx.hpp |
30964b71 JB |
929 | %{_includedir}/boost/detail/iterator.hpp |
930 | %{_includedir}/boost/detail/lightweight_*.hpp | |
931 | %{_includedir}/boost/detail/limits.hpp | |
932 | %{_includedir}/boost/detail/lwm_*.hpp | |
933 | %{_includedir}/boost/detail/named_template_params.hpp | |
99f4684a | 934 | %{_includedir}/boost/detail/no_exceptions_support.hpp |
30964b71 | 935 | %{_includedir}/boost/detail/numeric_traits.hpp |
05b0e240 | 936 | %{_includedir}/boost/detail/ob_call_traits.hpp |
30964b71 | 937 | %{_includedir}/boost/detail/quick_allocator.hpp |
99f4684a | 938 | %{_includedir}/boost/detail/reference_content.hpp |
30964b71 JB |
939 | %{_includedir}/boost/detail/select_type.hpp |
940 | %{_includedir}/boost/detail/shared_*.hpp | |
000cd675 JB |
941 | %{_includedir}/boost/detail/sp_counted_*.hpp |
942 | %{_includedir}/boost/detail/utf8_codecvt_facet.hpp | |
30964b71 | 943 | %{_includedir}/boost/detail/workaround.hpp |
99f4684a | 944 | %{_includedir}/boost/dynamic_bitset |
945 | %{_includedir}/boost/dynamic_bitset.hpp | |
946 | %{_includedir}/boost/dynamic_bitset_fwd.hpp | |
000cd675 | 947 | %{_includedir}/boost/dynamic_property_map.hpp |
30964b71 | 948 | %{_includedir}/boost/enable_shared_from_this.hpp |
06ed6468 | 949 | %{_includedir}/boost/foreach.hpp |
30964b71 JB |
950 | %{_includedir}/boost/format |
951 | %{_includedir}/boost/format.hpp | |
952 | %{_includedir}/boost/function | |
953 | %{_includedir}/boost/function.hpp | |
99f4684a | 954 | %{_includedir}/boost/function_equal.hpp |
30964b71 | 955 | %{_includedir}/boost/function_output_iterator.hpp |
000cd675 | 956 | %{_includedir}/boost/functional |
30964b71 JB |
957 | %{_includedir}/boost/functional.hpp |
958 | %{_includedir}/boost/generator_iterator.hpp | |
89fd45a2 | 959 | %{_includedir}/boost/implicit_cast.hpp |
db639b8e | 960 | %{_includedir}/boost/indirect_reference.hpp |
30964b71 JB |
961 | %{_includedir}/boost/integer |
962 | %{_includedir}/boost/integer*.hpp | |
963 | %{_includedir}/boost/intrusive_ptr.hpp | |
964 | %{_includedir}/boost/io | |
000cd675 | 965 | %{_includedir}/boost/iostreams |
30964b71 JB |
966 | %{_includedir}/boost/io_fwd.hpp |
967 | %{_includedir}/boost/iterator*.hpp | |
db639b8e | 968 | %{_includedir}/boost/iterator |
30964b71 | 969 | %{_includedir}/boost/lambda |
89fd45a2 | 970 | %{_includedir}/boost/lexical_cast.hpp |
6b817283 | 971 | %{_includedir}/boost/limits.hpp |
99f4684a | 972 | %{_includedir}/boost/logic |
30964b71 JB |
973 | %{_includedir}/boost/math |
974 | %{_includedir}/boost/math_fwd.hpp | |
89fd45a2 | 975 | %{_includedir}/boost/mpl |
30964b71 JB |
976 | %{_includedir}/boost/multi_array |
977 | %{_includedir}/boost/multi_array.hpp | |
99f4684a | 978 | %{_includedir}/boost/multi_index |
979 | %{_includedir}/boost/multi_index_container.hpp | |
980 | %{_includedir}/boost/multi_index_container_fwd.hpp | |
89fd45a2 JB |
981 | %{_includedir}/boost/next_prior.hpp |
982 | %{_includedir}/boost/noncopyable.hpp | |
30964b71 | 983 | %{_includedir}/boost/nondet_random.hpp |
99f4684a | 984 | %{_includedir}/boost/none.hpp |
db639b8e | 985 | %{_includedir}/boost/non_type.hpp |
f90cc951 | 986 | %dir %{_includedir}/boost/numeric |
6aa20fdd | 987 | %{_includedir}/boost/numeric/interval* |
99f4684a | 988 | %{_includedir}/boost/numeric/conversion |
30964b71 | 989 | %{_includedir}/boost/operators.hpp |
99f4684a | 990 | %{_includedir}/boost/optional |
30964b71 | 991 | %{_includedir}/boost/optional.hpp |
000cd675 JB |
992 | %{_includedir}/boost/parameter |
993 | %{_includedir}/boost/parameter.hpp | |
30964b71 | 994 | %{_includedir}/boost/pending |
99f4684a | 995 | %{_includedir}/boost/pfto.hpp |
30964b71 | 996 | %{_includedir}/boost/pool |
db639b8e | 997 | %{_includedir}/boost/pointee.hpp |
06ed6468 AM |
998 | %{_includedir}/boost/pointer_cast.hpp |
999 | %{_includedir}/boost/pointer_to_other.hpp | |
89fd45a2 JB |
1000 | %{_includedir}/boost/preprocessor |
1001 | %{_includedir}/boost/preprocessor.hpp | |
30964b71 JB |
1002 | %{_includedir}/boost/progress.hpp |
1003 | %{_includedir}/boost/property_map*.hpp | |
000cd675 | 1004 | %{_includedir}/boost/ptr_container |
30964b71 JB |
1005 | %{_includedir}/boost/random |
1006 | %{_includedir}/boost/random.hpp | |
99f4684a | 1007 | %{_includedir}/boost/range |
1008 | %{_includedir}/boost/range.hpp | |
30964b71 | 1009 | %{_includedir}/boost/rational.hpp |
7c797e1a | 1010 | %{_includedir}/boost/ref.hpp |
30964b71 | 1011 | %{_includedir}/boost/scoped_*.hpp |
99f4684a | 1012 | %{_includedir}/boost/serialization |
30964b71 | 1013 | %{_includedir}/boost/shared_*.hpp |
99f4684a | 1014 | %{_includedir}/boost/smart_cast.hpp |
30964b71 | 1015 | %{_includedir}/boost/smart_ptr.hpp |
99f4684a | 1016 | %{_includedir}/boost/state_saver.hpp |
89fd45a2 | 1017 | %{_includedir}/boost/static_assert.hpp |
99f4684a | 1018 | %{_includedir}/boost/static_warning.hpp |
1019 | %{_includedir}/boost/strong_typedef.hpp | |
30964b71 JB |
1020 | %{_includedir}/boost/throw_exception.hpp |
1021 | %{_includedir}/boost/timer.hpp | |
1022 | %{_includedir}/boost/token*.hpp | |
1023 | %{_includedir}/boost/tuple | |
1024 | %{_includedir}/boost/type.hpp | |
89fd45a2 JB |
1025 | %{_includedir}/boost/type_traits.hpp |
1026 | %{_includedir}/boost/type_traits | |
1027 | %{_includedir}/boost/utility*.hpp | |
1028 | %{_includedir}/boost/utility | |
30964b71 | 1029 | %{_includedir}/boost/version.hpp |
db639b8e | 1030 | %{_includedir}/boost/vector_property_map.hpp |
30964b71 | 1031 | %{_includedir}/boost/weak_ptr.hpp |
db639b8e | 1032 | #boost::variant |
1033 | %{_includedir}/boost/variant.hpp | |
1034 | %{_includedir}/boost/variant | |
1035 | %{_includedir}/boost/blank.hpp | |
1036 | %{_includedir}/boost/detail/templated_streams.hpp | |
1037 | #boost::optional | |
1038 | %{_includedir}/boost/aligned_storage.hpp | |
db639b8e | 1039 | %{_includedir}/boost/detail/none_t.hpp |
99f4684a | 1040 | |
000cd675 JB |
1041 | %files static |
1042 | %defattr(644,root,root,755) | |
1043 | %{_libdir}/libboost_iostreams*.a | |
99f4684a | 1044 | %{_libdir}/libboost_serialization*.a |
1045 | %{_libdir}/libboost_wserialization*.a | |
db639b8e | 1046 | |
49f48a3b | 1047 | %if %{with python} |
30964b71 | 1048 | %files python |
49f48a3b | 1049 | %defattr(644,root,root,755) |
fa767695 | 1050 | %attr(755,root,root) %{_libdir}/libboost_python*.so.*.*.* |
49f48a3b | 1051 | |
30964b71 | 1052 | %files python-devel |
c6874538 | 1053 | %defattr(644,root,root,755) |
fa767695 | 1054 | %attr(755,root,root) %{_libdir}/libboost_python*.so |
30964b71 JB |
1055 | %{_includedir}/boost/python |
1056 | %{_includedir}/boost/python.hpp | |
1057 | ||
6725319f JB |
1058 | %files python-static |
1059 | %defattr(644,root,root,755) | |
fa767695 | 1060 | %{_libdir}/libboost_python*.a |
c6874538 | 1061 | %endif |
1062 | ||
30964b71 | 1063 | %files regex |
c6874538 | 1064 | %defattr(644,root,root,755) |
fa767695 | 1065 | %attr(755,root,root) %{_libdir}/libboost_regex*.so.*.*.* |
c6874538 | 1066 | |
30964b71 | 1067 | %files regex-devel |
2da865cb | 1068 | %defattr(644,root,root,755) |
fa767695 | 1069 | %attr(755,root,root) %{_libdir}/libboost_regex*.so |
30964b71 JB |
1070 | %{_includedir}/boost/cregex.hpp |
1071 | %{_includedir}/boost/regex.h | |
1072 | %{_includedir}/boost/regex*.hpp | |
1073 | %{_includedir}/boost/regex | |
2da865cb | 1074 | |
02c23151 | 1075 | %files regex-static |
1076 | %defattr(644,root,root,755) | |
fa767695 | 1077 | %{_libdir}/libboost_regex*.a |
02c23151 | 1078 | |
30964b71 | 1079 | %files any-devel |
c6874538 | 1080 | %defattr(644,root,root,755) |
30964b71 | 1081 | %{_includedir}/boost/any.hpp |
c6874538 | 1082 | |
30964b71 | 1083 | %files array-devel |
c6874538 | 1084 | %defattr(644,root,root,755) |
30964b71 | 1085 | %{_includedir}/boost/array.hpp |
48db9581 | 1086 | |
30964b71 | 1087 | %files bind-devel |
48db9581 | 1088 | %defattr(644,root,root,755) |
30964b71 JB |
1089 | %{_includedir}/boost/bind |
1090 | %{_includedir}/boost/bind.hpp | |
89fd45a2 JB |
1091 | %{_includedir}/boost/get_pointer.hpp |
1092 | %{_includedir}/boost/mem_fn.hpp | |
e2861ccf | 1093 | |
30964b71 | 1094 | %files compatibility-devel |
ec8975fb | 1095 | %defattr(644,root,root,755) |
30964b71 | 1096 | %{_includedir}/boost/compatibility |
c41c28be | 1097 | |
30964b71 | 1098 | %files compressed_pair-devel |
c41c28be | 1099 | %defattr(644,root,root,755) |
30964b71 JB |
1100 | %{_includedir}/boost/compressed_pair.hpp |
1101 | %{_includedir}/boost/detail/compressed_pair.hpp | |
1102 | %{_includedir}/boost/detail/ob_compressed_pair.hpp | |
c41c28be | 1103 | |
02c23151 | 1104 | %files crc-devel |
1105 | %defattr(644,root,root,755) | |
1106 | %{_includedir}/boost/crc.hpp | |
1107 | ||
1108 | %files date_time | |
1109 | %defattr(644,root,root,755) | |
fa767695 | 1110 | %attr(755,root,root) %{_libdir}/libboost_date_time*.so.*.*.* |
02c23151 | 1111 | |
1112 | %files date_time-devel | |
1113 | %defattr(644,root,root,755) | |
fa767695 | 1114 | %attr(755,root,root) %{_libdir}/libboost_date_time*.so |
63acc731 | 1115 | %{_includedir}/boost/date_time.hpp |
02c23151 | 1116 | %{_includedir}/boost/date_time |
1117 | ||
1118 | %files date_time-static | |
1119 | %defattr(644,root,root,755) | |
fa767695 | 1120 | %{_libdir}/libboost_date_time*.a |
02c23151 | 1121 | |
31026e88 | 1122 | %files filesystem |
1123 | %defattr(644,root,root,755) | |
fa767695 | 1124 | %attr(755,root,root) %{_libdir}/libboost_filesystem*.so.*.*.* |
31026e88 | 1125 | |
1126 | %files filesystem-devel | |
1127 | %defattr(644,root,root,755) | |
fa767695 | 1128 | %attr(755,root,root) %{_libdir}/libboost_filesystem*.so |
63acc731 | 1129 | %{_includedir}/boost/filesystem.hpp |
31026e88 | 1130 | %{_includedir}/boost/filesystem |
1131 | ||
1132 | %files filesystem-static | |
1133 | %defattr(644,root,root,755) | |
fa767695 | 1134 | %{_libdir}/libboost_filesystem*.a |
31026e88 | 1135 | |
06ed6468 AM |
1136 | %files graph |
1137 | %defattr(644,root,root,755) | |
1138 | %attr(755,root,root) %{_libdir}/libboost_graph*.so.*.*.* | |
1139 | ||
1140 | %files graph-devel | |
1141 | %defattr(644,root,root,755) | |
1142 | %attr(755,root,root) %{_libdir}/libboost_graph*.so | |
1143 | %{_includedir}/boost/graph | |
1144 | ||
1145 | %files graph-static | |
1146 | %defattr(644,root,root,755) | |
1147 | %{_libdir}/libboost_grap*.a | |
1148 | ||
99f4684a | 1149 | %files program_options |
1150 | %defattr(644,root,root,755) | |
1151 | %attr(755,root,root) %{_libdir}/libboost_program_options*.so.*.*.* | |
1152 | ||
1153 | %files program_options-devel | |
1154 | %defattr(644,root,root,755) | |
290ca6f4 | 1155 | %attr(755,root,root) %{_libdir}/libboost_program_options*.so |
99f4684a | 1156 | %{_includedir}/boost/program_options |
1157 | %{_includedir}/boost/program_options.hpp | |
1158 | ||
1159 | %files program_options-static | |
1160 | %defattr(644,root,root,755) | |
1161 | %{_libdir}/libboost_program_options*.a | |
1162 | ||
db639b8e | 1163 | %files signals |
1164 | %defattr(644,root,root,755) | |
fa767695 | 1165 | %attr(755,root,root) %{_libdir}/libboost_signals*.so.*.*.* |
db639b8e | 1166 | |
1167 | %files signals-devel | |
1168 | %defattr(644,root,root,755) | |
fa767695 | 1169 | %attr(755,root,root) %{_libdir}/libboost_signals*.so |
db639b8e | 1170 | %{_includedir}/boost/signal*.hpp |
1171 | %{_includedir}/boost/signals | |
1172 | %{_includedir}/boost/last_value.hpp | |
1173 | %{_includedir}/boost/visit_each.hpp | |
1174 | ||
1175 | %files signals-static | |
1176 | %defattr(644,root,root,755) | |
fa767695 | 1177 | %{_libdir}/libboost_signals*.a |
db639b8e | 1178 | |
8e819053 | 1179 | %files spirit-devel |
1180 | %defattr(644,root,root,755) | |
1181 | %{_includedir}/boost/spirit.hpp | |
1182 | %{_includedir}/boost/spirit | |
1183 | ||
06ed6468 AM |
1184 | %files statechart-devel |
1185 | %defattr(644,root,root,755) | |
1186 | %{_includedir}/boost/statechart | |
1187 | ||
1188 | %files tr1-devel | |
1189 | %defattr(644,root,root,755) | |
1190 | %{_includedir}/boost/tr1 | |
1191 | ||
c0536c7f | 1192 | %files test |
1193 | %defattr(644,root,root,755) | |
fa767695 | 1194 | %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so.*.*.* |
fa767695 | 1195 | %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so.*.*.* |
c0536c7f | 1196 | |
1197 | %files test-devel | |
1198 | %defattr(644,root,root,755) | |
fa767695 | 1199 | %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so |
fa767695 | 1200 | %attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so |
c0536c7f | 1201 | %{_includedir}/boost/test |
1202 | ||
1203 | %files test-static | |
1204 | %defattr(644,root,root,755) | |
fa767695 AM |
1205 | %{_libdir}/libboost_prg_exec_monitor*.a |
1206 | %{_libdir}/libboost_test_exec_monitor*.a | |
1207 | %{_libdir}/libboost_unit_test_framework*.a | |
c0536c7f | 1208 | |
02c23151 | 1209 | %files thread |
1210 | %defattr(644,root,root,755) | |
fa767695 | 1211 | %attr(755,root,root) %{_libdir}/libboost_thread*.so.*.*.* |
02c23151 | 1212 | |
1213 | %files thread-devel | |
1214 | %defattr(644,root,root,755) | |
fa767695 | 1215 | %attr(755,root,root) %{_libdir}/libboost_thread*.so |
02c23151 | 1216 | %{_includedir}/boost/thread |
1217 | %{_includedir}/boost/thread.hpp | |
1218 | ||
000cd675 JB |
1219 | %files thread-static |
1220 | %defattr(644,root,root,755) | |
1221 | %attr(755,root,root) %{_libdir}/libboost_thread*.a | |
1222 | ||
0651a785 | 1223 | %files typeof-devel |
06ed6468 AM |
1224 | %defattr(644,root,root,755) |
1225 | %{_includedir}/boost/typeof | |
1226 | ||
6aa20fdd | 1227 | %files uBLAS-devel |
1228 | %defattr(644,root,root,755) | |
1229 | %{_includedir}/boost/numeric/ublas | |
1230 | ||
06ed6468 AM |
1231 | %files wave |
1232 | %defattr(644,root,root,755) | |
1233 | %attr(755,root,root) %{_libdir}/libboost_wave*.so.*.*.* | |
1234 | ||
000cd675 JB |
1235 | %files wave-devel |
1236 | %defattr(644,root,root,755) | |
06ed6468 | 1237 | %attr(755,root,root) %{_libdir}/libboost_wave*.so |
000cd675 JB |
1238 | %{_includedir}/boost/wave |
1239 | %{_includedir}/boost/wave.hpp | |
1240 | ||
06ed6468 AM |
1241 | %files wave-static |
1242 | %defattr(644,root,root,755) | |
1243 | %{_libdir}/libboost_wave*.a | |
1244 | ||
1245 | %files xpressive-devel | |
1246 | %defattr(644,root,root,755) | |
1247 | %{_includedir}/boost/xpressive | |
1248 | ||
30964b71 | 1249 | %files doc |
fe815c68 | 1250 | %defattr(644,root,root,755) |
75f9f612 | 1251 | %{_docdir}/%{name}-%{version} |