3 # - think about building MPI.
4 # - split shared libs from core package into -iostreams/-serialization.
7 %bcond_without python2 # boost-python[2] support
8 %bcond_without python3 # boost-python3 support
9 %bcond_without numpy # boost-numpy support
11 %define fver %(echo %{version} | tr . _)
12 Summary: The Boost C++ Libraries
13 Summary(pl.UTF-8): Biblioteki C++ "Boost"
17 License: Boost Software License and others
19 Source0: http://downloads.sourceforge.net/boost/%{name}_%{fver}.tar.bz2
20 # Source0-md5: 7fbd1890f571051f2a209681d57d486a
21 Patch0: %{name}-link.patch
22 Patch1: %{name}-x32-context.patch
23 Patch2: %{name}-clean-gcc-flags.patch
25 Patch201: %{name}-python-abi_letters.patch
26 # https://svn.boost.org/trac/boost/ticket/5637
27 Patch203: %{name}-1.54.0-mpl-print.patch
28 # https://svn.boost.org/trac/boost/ticket/8881
29 Patch221: %{name}-1.54.0-mpi-unused_typedef.patch
30 URL: http://www.boost.org/
31 BuildRequires: bzip2-devel
32 BuildRequires: expat-devel
33 BuildRequires: libicu-devel
34 BuildRequires: libstdc++-devel >= 6:4.7
35 BuildRequires: perl-base
37 BuildRequires: python-devel >= 2.2
38 %{?with_numpy:BuildRequires: python-numpy-devel}
41 BuildRequires: python3-devel
42 %{?with_numpy:BuildRequires: python3-numpy-devel}
44 BuildRequires: rpm-pythonprov
45 BuildRequires: rpmbuild(macros) >= 1.734
46 BuildRequires: zlib-devel
47 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49 %define specflags -DBOOST_IOSTREAMS_USE_DEPRECATED=1
51 %define py2v %(echo %{py_ver} | tr -d .)
52 %define py3v %(echo %{py3_ver} | tr -d .)
55 The Boost web site provides free peer-reviewed portable C++ source
56 libraries. The emphasis is on libraries which work well with the C++
57 Standard Library. One goal is to establish "existing practice" and
58 provide reference implementations so that the Boost libraries are
59 suitable for eventual standardization. Some of the libraries have
60 already been proposed for inclusion in the C++ Standards Committee's
61 upcoming C++ Standard Library Technical Report.
63 %description -l pl.UTF-8
64 Strona http://www.boost.org/ dostarcza darmowe biblioteki C++ wraz z
65 kodem źródłowym. Nacisk położono na biblioteki, które dobrze
66 współpracują ze standardową biblioteką C++. Celem jest ustanowienie
67 "istniejącej praktyki" i dostarczenie implementacji, tak że biblioteki
68 "Boost" nadają się do ewentualnej standaryzacji. Niektóre z bibliotek
69 już zostały zgłoszone do komitetu standaryzacyjnego C++ w nadchodzącym
70 Raporcie Technicznym Biblioteki Standardowej C++.
73 Summary: Boost C++ development headers
74 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek C++ Boost
75 Group: Development/Libraries
76 Requires: %{name} = %{version}-%{release}
77 Requires: %{name}-chrono = %{version}-%{release}
78 Requires: %{name}-context = %{version}-%{release}
79 Requires: %{name}-date_time = %{version}-%{release}
80 Requires: %{name}-fiber = %{version}-%{release}
81 Requires: %{name}-filesystem = %{version}-%{release}
82 Requires: %{name}-graph = %{version}-%{release}
83 Requires: %{name}-locale = %{version}-%{release}
84 Requires: %{name}-log = %{version}-%{release}
85 Requires: %{name}-program_options = %{version}-%{release}
86 Requires: %{name}-regex = %{version}-%{release}
87 Requires: %{name}-signals = %{version}-%{release}
88 Requires: %{name}-system = %{version}-%{release}
89 Requires: %{name}-test = %{version}-%{release}
90 Requires: %{name}-thread = %{version}-%{release}
91 Requires: %{name}-timer = %{version}-%{release}
92 Requires: %{name}-wave = %{version}-%{release}
93 Requires: libstdc++-devel >= 6:4.7
94 Obsoletes: boost-any-devel
95 Obsoletes: boost-array-devel
97 Obsoletes: boost-bind-devel
98 Obsoletes: boost-call_traits-devel
99 Obsoletes: boost-compatibility-devel
100 Obsoletes: boost-compose-devel
101 Obsoletes: boost-compressed_pair-devel
102 Obsoletes: boost-concept_check-devel
103 Obsoletes: boost-conversion-devel
104 Obsoletes: boost-crc-devel
105 Obsoletes: boost-date_time-devel
106 Obsoletes: boost-filesystem-devel
107 Obsoletes: boost-graph-devel
108 Obsoletes: boost-mem_fn-devel
109 Obsoletes: boost-mpl-devel
110 Obsoletes: boost-preprocessor-devel
111 Obsoletes: boost-program_options-devel
112 Obsoletes: boost-ref-devel
113 Obsoletes: boost-regex-devel
114 Obsoletes: boost-signals-devel
115 Obsoletes: boost-spirit-devel
116 Obsoletes: boost-statechart-devel
117 Obsoletes: boost-static_assert-devel
118 Obsoletes: boost-test-devel
119 Obsoletes: boost-thread-devel
120 Obsoletes: boost-tr1-devel
121 Obsoletes: boost-type_traits-devel
122 Obsoletes: boost-typeof-devel
123 Obsoletes: boost-uBLAS-devel
124 Obsoletes: boost-utility-devel
125 Obsoletes: boost-wave-devel
126 Obsoletes: boost-xpressive-devel
129 Header files for the Boost C++ libraries.
131 %description devel -l pl.UTF-8
132 Pliki nagłówkowe bibliotek C++ Boost.
135 Summary: Static version of base Boost C++ libraries
136 Summary(pl.UTF-8): Statyczne wersje podstawowych bibliotek C++ Boost
137 Group: Development/Libraries
138 Requires: %{name}-devel = %{version}-%{release}
139 Obsoletes: boost-static < 1.33
142 Static version of base Boost C++ libraries.
144 %description static -l pl.UTF-8
145 Statyczne wersje podstawowych bibliotek C++ Boost.
147 %package python-devel-common
148 Summary: Boost.Python development headers
149 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Boost.Python
150 Group: Development/Libraries
151 Requires: %{name}-devel = %{version}-%{release}
153 %description python-devel-common
154 Headers for the Boost.Python library.
156 %description python-devel-common -l pl.UTF-8
157 Pliki nagłówkowe biblioteki Boost.Python.
160 Summary: Boost.Python library for Python 2
161 Summary(pl.UTF-8): Biblioteka Boost.Python dla Pythona 2
163 Requires: python-libs
166 Use the Boost Python Library to quickly and easily export a C++
167 library to Python 2 such that the Python 2 interface is very similar
168 to the C++ interface. It is designed to be minimally intrusive on your
169 C++ design. In most cases, you should not have to alter your C++
170 classes in any way in order to use them with Boost.Python. The system
171 should simply ``reflect'' your C++ classes and functions into Python
174 %description python -l pl.UTF-8
175 Biblioteka Boost Python służy do szybkiego i prostego eksportu
176 biblioteki C++ do Pythona 2, tak że interfejs Pythona 2 jest bardzo
177 podobny do interfejsu C++. Biblioteka jest zaprojektowana tak, żeby
178 narzucać jak najmniej wymagań dotyczących konstrukcjii C++. W
179 większości przypadków nie trzeba w ogóle zmieniać własnych klas C++,
180 żeby używać ich z Boost.Python. System powinien po prostu ,,odbić''
181 klasy C++ i funkcje do Pythona 3.
183 %package python-devel
184 Summary: Boost.Python development files for Python 2
185 Summary(pl.UTF-8): Pliki programistyczne biblioteki Boost.Python dla Pythona 2
186 Group: Development/Libraries
187 Requires: %{name}-devel = %{version}-%{release}
188 Requires: %{name}-python = %{version}-%{release}
189 Requires: %{name}-python-devel-common = %{version}-%{release}
191 %description python-devel
192 Boost.Python development files for Python 2.
194 %description python-devel -l pl.UTF-8
195 Pliki programistyczne biblioteki Boost.Python dla Pythona 2.
197 %package python-static
198 Summary: Static version of Boost.Python library for Python 2
199 Summary(pl.UTF-8): Statyczna wersja biblioteki Boost.Python dla Pythona 2
200 Group: Development/Libraries
201 Requires: %{name}-python-devel = %{version}-%{release}
203 %description python-static
204 Static version of Boost.Python library for Python 2.
206 %description python-static -l pl.UTF-8
207 Statyczna wersja biblioteki Boost.Python dla Pythona 2.
210 Summary: Boost.Python library for Python 3
211 Summary(pl.UTF-8): biblioteka Boost.Python dla Pythona 3
213 Requires: python3-libs
216 Use the Boost Python Library to quickly and easily export a C++
217 library to Python 3 such that the Python 3 interface is very similar
218 to the C++ interface. It is designed to be minimally intrusive on your
219 C++ design. In most cases, you should not have to alter your C++
220 classes in any way in order to use them with Boost.Python. The system
221 should simply ``reflect'' your C++ classes and functions into Python
224 %description python3 -l pl.UTF-8
225 Biblioteka Boost Python służy do szybkiego i prostego eksportu
226 biblioteki C++ do Pythona 3, tak że interfejs Pythona 3 jest bardzo
227 podobny do interfejsu C++. Biblioteka jest zaprojektowana tak, żeby
228 narzucać jak najmniej wymagań dotyczących konstrukcjii C++. W
229 większości przypadków nie trzeba w ogóle zmieniać własnych klas C++,
230 żeby używać ich z Boost.Python. System powinien po prostu ,,odbić''
231 klasy C++ i funkcje do Pythona 3.
233 %package python3-devel
234 Summary: Boost.Python development files for Python 3
235 Summary(pl.UTF-8): Pliki programistyczne biblioteki Boost.Python dla Pythona 3
236 Group: Development/Libraries
237 Requires: %{name}-devel = %{version}-%{release}
238 Requires: %{name}-python-devel-common = %{version}-%{release}
239 Requires: %{name}-python3 = %{version}-%{release}
241 %description python3-devel
242 Boost.Python development files for Python 3.
244 %description python3-devel -l pl.UTF-8
245 Pliki programistyczne biblioteki Boost.Python dla Pythona 3.
247 %package python3-static
248 Summary: Static version of Boost.Python library for Python 3
249 Summary(pl.UTF-8): Statyczna wersja biblioteki Boost.Python dla Pythona 3
250 Group: Development/Libraries
251 Requires: %{name}-python3-devel = %{version}-%{release}
253 %description python3-static
254 Static version of Boost.Python library for Python 3.
256 %description python3-static -l pl.UTF-8
257 Statyczna wersja biblioteki Boost.Python dla Pythona 3.
260 Summary: Useful time utilities
261 Summary(pl.UTF-8): Przydatne funkcje związane z czasem
263 Obsoletes: boost < 1.33
266 Useful time utilities.
268 %description chrono -l pl.UTF-8
269 Przydatne funkcje związane z czasem.
272 Summary: Boost.Context - context switching library
273 Summary(pl.UTF-8): Boost.Context - biblioteka do zmiany kontekstu
277 Boost.Context - context switching library, providing a sort of
278 cooperative multitasking on a single thread.
280 %description context -l pl.UTF-8
281 Boost.Context - biblioteka do zmiany kontekstu, zapewniająca pewną
282 wielozadaniowość kooperatywnąw ramach pojedynczego wątku.
285 Summary: Date-Time library
286 Summary(pl.UTF-8): Biblioteka daty-czasu
288 Obsoletes: boost < 1.33
290 %description date_time
291 A set of date-time libraries.
293 %description date_time -l pl.UTF-8
294 Zbiór bibliotek daty-czasu.
297 Summary: A framework for micro-/userland-threads (fibers) scheduled cooperatively
298 Summary(pl.UTF-8): Szkielet mikrowątków przestrzeni użytkownika (fibers), szeregowanych kooperacyjnie
302 boost::fiber provides a framework for micro-/userland-threads (fibers)
303 scheduled cooperatively. The API contains classes and functions
304 to manage and synchronize fibers similiar to boost.thread.
306 %description fiber -l pl.UTF-8
307 boost::fiber to szkielt mikrowątków przestrzeni użytkownika (fibers)
308 szeregowanych kooperacyjnie. API zawiera klasy i funkcje służące do
309 zarządzania i synchronizacji wątków podobne do boost.thread.
312 Summary: Portable paths, iteration over directories, and other useful filesystem operations
313 Summary(pl.UTF-8): Przenośne ścieżki, iteracje katalogów i inne użyteczne operacje na systemie plików
315 Requires: %{name}-system = %{version}-%{release}
316 Obsoletes: boost < 1.33
318 %description filesystem
319 The boost::filesystem library provides portable facilities to query
320 and manipulate paths, files, and directories.
322 %description filesystem -l pl.UTF-8
323 Przenośna biblioteka boost::filesystem dostarcza ułatwienia w
324 operacjach na ścieżkach, plikach i katalogach.
327 Summary: General purpose, generic C++ library for graph data structures and graph algorithms
328 Summary(pl.UTF-8): Biblioteka ogólnego przeznaczenia w C++ dla struktur danych typu grafy oraz algorytmów związanych z grafami
332 The boost::graph library provides portable facilities to operate on
333 graph data structures using graph algorithms.
335 %description graph -l pl.UTF-8
336 Przenośna biblioteka boost::graph dostarcza ułatwienia w operacjach na
337 strukturach danych typu graf za pomocą algorytmów związanych z
341 Summary: Provide localization and Unicode handling tools for C++
342 Summary(pl.UTF-8): Narzędzia do obsługi lokalizacji i Unikodu w C++
346 Provide localization and Unicode handling tools for C++.
348 %description locale -l pl.UTF-8
349 Narzędzia do obsługi lokalizacji i Unikodu w C++.
352 Summary: Provide logging tools for C++
353 Summary(pl.UTF-8): Narzędzia do logowania w C++
357 Provide logging tools for C++.
359 %description log -l pl.UTF-8
360 Narzędzia do logowania w C++.
362 %package program_options
363 Summary: Access to program options, via conventional methods such as command line and config file
364 Summary(pl.UTF-8): Dostęp do opcji programu za pomocą typowych metod, jak linia poleceń i plik konfiguracyjny
367 %description program_options
368 The program_options library allows program developers to obtain
369 program options, that is (name, value) pairs from the user, via
370 conventional methods such as command line and config file.
372 %description program_options -l pl.UTF-8
373 Biblioteka program_options umożliwia uzyskanie od użytkownika opcji
374 programu, czyli par (nazwa, wartość), za pomocą typowych metod, takich
375 jak linia poleceń, czy plik konfiguracyjny.
378 Summary: Boost C++ regular expressions library
379 Summary(pl.UTF-8): Biblioteka wyrażeń regularnych Boost C++
383 Shared library for Boost C++ regular expressions.
385 %description regex -l pl.UTF-8
386 Biblioteka współdzielona do obsługi wyrażeń regularnych w C++.
389 Summary: Signals & slots callback implementation
390 Summary(pl.UTF-8): Implementacja sygnałów i slotów
392 Obsoletes: boost < 1.33
395 The boost::signals library is an implementation of a signals and slots
398 %description signals -l pl.UTF-8
399 Biblioteka boost::signals jest implementacją systemu sygnałów i
403 Summary: Support for getting system specific error codes
404 Summary(pl.UTF-8): Wsparcie dla pobierania specyficznych dla systemu kodów błędów
408 The Boost System library provides simple, light-weight error_code
409 objects that encapsulate system-specific error code values, yet also
410 provide access to more abstract and portable error conditions objects.
412 %description system -l pl.UTF-8
413 Biblioteka Boost System udostępnia proste, lekkie obiekty error_code
414 obudowujące wartości kodów błędów specyficznych dla systemu, dając
415 jednocześnie dostęp do bardziej abstrakcyjnych i przenośnych obiektów
419 Summary: Support for program testing and execution monitoring
420 Summary(pl.UTF-8): Wsparcie dla testowania i monitorowania programu
422 Obsoletes: boost < 1.33
425 Support for simple program testing, full unit testing, and for program
426 execution monitoring.
428 %description test -l pl.UTF-8
429 Wsparcie dla prostego testowania programu, pełnego testowania i
430 monitorowania wykonania programu.
433 Summary: Portable C++ threads library
434 Summary(pl.UTF-8): Przenośna biblioteka wątków C++
436 Obsoletes: boost < 1.33
439 Portable C++ threads library - shared library.
441 %description thread -l pl.UTF-8
442 Przenośna biblioteka wątków dla C++ - biblioteka dzielona.
445 Summary: Event timer, progress timer, and progress display classes
446 Summary(pl.UTF-8): Klasy do obsługi pomiarów czasu, postępu i wyświetlania postępu
448 Obsoletes: boost < 1.33
451 Event timer, progress timer, and progress display classes.
453 %description timer -l pl.UTF-8
454 Klasy do obsługi pomiarów czasu, postępu i wyświetlania postępu.
457 Summary: Boost.Wave - a standard compliant C++ preprocessor library
458 Summary(pl.UTF-8): Boost.Wave - zgodna ze standardem biblioteka preprocesora C++
459 Group: Development/Libraries
462 Boost.Wave - a standard compliant C++ preprocessor library.
464 %description wave -l pl.UTF-8
465 Boost.Wave - zgodna ze standardem biblioteka preprocesora C++.
468 Summary: Boost C++ Library documentation
469 Summary(pl.UTF-8): Dokumentacja dla biblioteki Boost C++
471 %if "%{_rpmversion}" >= "5"
476 Documentation for the Boost C++ Library.
478 %description doc -l pl.UTF-8
479 Dokumentacja dla biblioteki Boost C++.
482 %setup -q -n %{name}_%{fver}
491 cat << EOF > tools/build/src/user-config.jam
492 using gcc : %{cxx_version} : %{__cxx} : <cflags>"%{rpmcflags} -fPIC" <cxxflags>"%{rpmcxxflags} -std=c++11 -fPIC" <linkflags>"%{rpmldflags}" ;
495 # cleanup backups after patching
496 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
499 EXPAT_INCLUDE=%{_includedir} \
500 EXPAT_LIBPATH=%{_libdir} \
501 ICU_PATH=%{_prefix} \
503 --prefix=%{_prefix} \
504 -without-libraries=python
515 echo "using python : %{py3_ver} : %{py3_prefix} : %{py3_incdir} : : : : m ;" >> project-config.jam
517 --with-python python=%{py3_ver} \
518 -a -d2 --toolset=gcc \
527 %{__sed} -i -e '/^using python : 3/d' project-config.jam
528 echo "using python : %{py_ver} : %{py_prefix} : %{py_incdir} ;" >> project-config.jam
530 --with-python python=%{py_ver} \
531 -a -d2 --toolset=gcc \
540 rm -rf $RPM_BUILD_ROOT
541 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
543 cp -rf boost $RPM_BUILD_ROOT%{_includedir}
545 install -p stage/lib/lib*.a $RPM_BUILD_ROOT%{_libdir}
546 install -p stage/lib/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
547 cp -a stage/lib/lib*.so $RPM_BUILD_ROOT%{_libdir}
550 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
552 # as the documentation doesn't completely reside in a directory of its
553 # own, we need to find out ourselves... this looks for HTML files and
554 # then collects everything linked from those. this is certainly quite
555 # unoptimized wrt mkdir calls, but does it really matter?
557 for i in $(find -type f -name '*.htm*'); do
558 # bjam docu is included in the boost-jam RPM
559 if test "`echo $i | sed 's,jam_src,,'`" = "$i"; then
560 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/${i%/*}
561 for LINKED in `%{__perl} - $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i <<'EOT'
565 # rewrite links from boost/* to %{_includedir}/boost/* and
566 # ignore external links as well as document-internal ones.
567 # HTML files are also ignored as they get installed anyway.
568 if (!($link =~ s,^(?:../)*boost/,%{_includedir}/boost/,) && !($link =~ m,(?:^[^/]+:|^\#|\.html?(?:$|\#)),))
570 (my $file = $link) =~ s/\#.*//;
576 open OUT, ">@ARGV[1]";
580 $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e;
581 s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig;
583 $in_link = /href|src=\s*$/;
586 TARGET=${i%/*}/$LINKED
587 # ignore non-existant linked files
588 if test -f $TARGET; then
589 install -D -m 644 $TARGET $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$TARGET
597 rm -rf $RPM_BUILD_ROOT
599 %post -p /sbin/ldconfig
600 %postun -p /sbin/ldconfig
602 %post chrono -p /sbin/ldconfig
603 %postun chrono -p /sbin/ldconfig
605 %post context -p /sbin/ldconfig
606 %postun context -p /sbin/ldconfig
608 %post date_time -p /sbin/ldconfig
609 %postun date_time -p /sbin/ldconfig
611 %post fiber -p /sbin/ldconfig
612 %postun fiber -p /sbin/ldconfig
614 %post filesystem -p /sbin/ldconfig
615 %postun filesystem -p /sbin/ldconfig
617 %post graph -p /sbin/ldconfig
618 %postun graph -p /sbin/ldconfig
620 %post locale -p /sbin/ldconfig
621 %postun locale -p /sbin/ldconfig
623 %post python -p /sbin/ldconfig
624 %postun python -p /sbin/ldconfig
626 %post python3 -p /sbin/ldconfig
627 %postun python3 -p /sbin/ldconfig
629 %post program_options -p /sbin/ldconfig
630 %postun program_options -p /sbin/ldconfig
632 %post regex -p /sbin/ldconfig
633 %postun regex -p /sbin/ldconfig
635 %post signals -p /sbin/ldconfig
636 %postun signals -p /sbin/ldconfig
638 %post system -p /sbin/ldconfig
639 %postun system -p /sbin/ldconfig
641 %post test -p /sbin/ldconfig
642 %postun test -p /sbin/ldconfig
644 %post thread -p /sbin/ldconfig
645 %postun thread -p /sbin/ldconfig
647 %post timer -p /sbin/ldconfig
648 %postun timer -p /sbin/ldconfig
650 %post wave -p /sbin/ldconfig
651 %postun wave -p /sbin/ldconfig
654 %defattr(644,root,root,755)
655 %attr(755,root,root) %{_libdir}/libboost_atomic.so.*.*.*
656 %attr(755,root,root) %{_libdir}/libboost_container.so.*.*.*
657 %attr(755,root,root) %{_libdir}/libboost_contract.so.*.*.*
658 %attr(755,root,root) %{_libdir}/libboost_coroutine.so.*.*.*
659 %attr(755,root,root) %{_libdir}/libboost_iostreams.so.*.*.*
660 %attr(755,root,root) %{_libdir}/libboost_math_*.so.*.*.*
661 %attr(755,root,root) %{_libdir}/libboost_random.so.*.*.*
662 %attr(755,root,root) %{_libdir}/libboost_serialization.so.*.*.*
663 %attr(755,root,root) %{_libdir}/libboost_stacktrace_*.so.*.*.*
664 %attr(755,root,root) %{_libdir}/libboost_type_erasure.so.*.*.*
665 %attr(755,root,root) %{_libdir}/libboost_wserialization.so.*.*.*
668 %defattr(644,root,root,755)
669 %attr(755,root,root) %{_libdir}/libboost_atomic.so
670 %attr(755,root,root) %{_libdir}/libboost_chrono.so
671 %attr(755,root,root) %{_libdir}/libboost_container.so
672 %attr(755,root,root) %{_libdir}/libboost_context.so
673 %attr(755,root,root) %{_libdir}/libboost_contract.so
674 %attr(755,root,root) %{_libdir}/libboost_coroutine.so
675 %attr(755,root,root) %{_libdir}/libboost_date_time.so
676 %attr(755,root,root) %{_libdir}/libboost_fiber.so
677 %attr(755,root,root) %{_libdir}/libboost_filesystem.so
678 %attr(755,root,root) %{_libdir}/libboost_graph.so
679 %attr(755,root,root) %{_libdir}/libboost_iostreams.so
680 %attr(755,root,root) %{_libdir}/libboost_locale.so
681 %attr(755,root,root) %{_libdir}/libboost_log.so
682 %attr(755,root,root) %{_libdir}/libboost_log_setup.so
683 %attr(755,root,root) %{_libdir}/libboost_math_*.so
684 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor.so
685 %attr(755,root,root) %{_libdir}/libboost_program_options.so
686 %attr(755,root,root) %{_libdir}/libboost_regex.so
687 %attr(755,root,root) %{_libdir}/libboost_random.so
688 %attr(755,root,root) %{_libdir}/libboost_serialization.so
689 %attr(755,root,root) %{_libdir}/libboost_signals.so
690 %attr(755,root,root) %{_libdir}/libboost_stacktrace_*.so
691 %attr(755,root,root) %{_libdir}/libboost_system.so
692 %attr(755,root,root) %{_libdir}/libboost_thread.so
693 %attr(755,root,root) %{_libdir}/libboost_timer.so
694 %attr(755,root,root) %{_libdir}/libboost_type_erasure.so
695 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework.so
696 %attr(755,root,root) %{_libdir}/libboost_wave.so
697 %attr(755,root,root) %{_libdir}/libboost_wserialization.so
699 %exclude %{_includedir}/boost/python
700 %exclude %{_includedir}/boost/python.hpp
703 %defattr(644,root,root,755)
704 %{_libdir}/libboost_atomic.a
705 %{_libdir}/libboost_chrono.a
706 %{_libdir}/libboost_container.a
707 %{_libdir}/libboost_context.a
708 %{_libdir}/libboost_contract.a
709 %{_libdir}/libboost_coroutine.a
710 %{_libdir}/libboost_date_time.a
711 %{_libdir}/libboost_exception.a
712 %{_libdir}/libboost_fiber.a
713 %{_libdir}/libboost_filesystem.a
714 %{_libdir}/libboost_graph.a
715 %{_libdir}/libboost_iostreams.a
716 %{_libdir}/libboost_locale.a
717 %{_libdir}/libboost_log.a
718 %{_libdir}/libboost_log_setup.a
719 %{_libdir}/libboost_math_*.a
720 %{_libdir}/libboost_prg_exec_monitor.a
721 %{_libdir}/libboost_program_options.a
722 %{_libdir}/libboost_random.a
723 %{_libdir}/libboost_regex.a
724 %{_libdir}/libboost_serialization.a
725 %{_libdir}/libboost_signals.a
726 %{_libdir}/libboost_stacktrace_*.a
727 %{_libdir}/libboost_system.a
728 %{_libdir}/libboost_test_exec_monitor.a
729 %{_libdir}/libboost_timer.a
730 %{_libdir}/libboost_thread.a
731 %{_libdir}/libboost_type_erasure.a
732 %{_libdir}/libboost_unit_test_framework.a
733 %{_libdir}/libboost_wave.a
734 %{_libdir}/libboost_wserialization.a
736 %if %{with python2} || %{with python3}
737 %files python-devel-common
738 %defattr(644,root,root,755)
739 %{_includedir}/boost/python
740 %{_includedir}/boost/python.hpp
745 %defattr(644,root,root,755)
747 %attr(755,root,root) %{_libdir}/libboost_numpy%{py2v}.so.*.*.*
749 %attr(755,root,root) %{_libdir}/libboost_python%{py2v}.so.*.*.*
752 %defattr(644,root,root,755)
754 %attr(755,root,root) %{_libdir}/libboost_numpy%{py2v}.so
756 %attr(755,root,root) %{_libdir}/libboost_python%{py2v}.so
759 %defattr(644,root,root,755)
761 %{_libdir}/libboost_numpy%{py2v}.a
763 %{_libdir}/libboost_python%{py2v}.a
768 %defattr(644,root,root,755)
770 %attr(755,root,root) %{_libdir}/libboost_numpy%{py3v}.so.*.*.*
772 %attr(755,root,root) %{_libdir}/libboost_python%{py3v}.so.*.*.*
775 %defattr(644,root,root,755)
777 %attr(755,root,root) %{_libdir}/libboost_numpy%{py3v}.so
779 %attr(755,root,root) %{_libdir}/libboost_python%{py3v}.so
781 %files python3-static
782 %defattr(644,root,root,755)
784 %{_libdir}/libboost_numpy%{py3v}.a
786 %{_libdir}/libboost_python%{py3v}.a
790 %defattr(644,root,root,755)
791 %attr(755,root,root) %{_libdir}/libboost_chrono.so.*.*.*
794 %defattr(644,root,root,755)
795 %attr(755,root,root) %{_libdir}/libboost_context.so.*.*.*
798 %defattr(644,root,root,755)
799 %attr(755,root,root) %{_libdir}/libboost_date_time.so.*.*.*
802 %defattr(644,root,root,755)
803 %attr(755,root,root) %{_libdir}/libboost_fiber.so.*.*.*
806 %defattr(644,root,root,755)
807 %attr(755,root,root) %{_libdir}/libboost_filesystem.so.*.*.*
810 %defattr(644,root,root,755)
811 %attr(755,root,root) %{_libdir}/libboost_graph.so.*.*.*
814 %defattr(644,root,root,755)
815 %attr(755,root,root) %{_libdir}/libboost_locale.so.*.*.*
818 %defattr(644,root,root,755)
819 %attr(755,root,root) %{_libdir}/libboost_log.so.*.*.*
820 %attr(755,root,root) %{_libdir}/libboost_log_setup.so.*.*.*
822 %files program_options
823 %defattr(644,root,root,755)
824 %attr(755,root,root) %{_libdir}/libboost_program_options.so.*.*.*
827 %defattr(644,root,root,755)
828 %attr(755,root,root) %{_libdir}/libboost_regex.so.*.*.*
831 %defattr(644,root,root,755)
832 %attr(755,root,root) %{_libdir}/libboost_signals.so.*.*.*
835 %defattr(644,root,root,755)
836 %attr(755,root,root) %{_libdir}/libboost_system.so.*.*.*
839 %defattr(644,root,root,755)
840 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor.so.*.*.*
841 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework.so.*.*.*
844 %defattr(644,root,root,755)
845 %attr(755,root,root) %{_libdir}/libboost_thread.so.*.*.*
848 %defattr(644,root,root,755)
849 %attr(755,root,root) %{_libdir}/libboost_timer.so.*.*.*
852 %defattr(644,root,root,755)
853 %attr(755,root,root) %{_libdir}/libboost_wave.so.*.*.*
856 %defattr(644,root,root,755)
857 %{_docdir}/%{name}-%{version}