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: 1c837ecd990bb022d07e7aab32b09847
21 Patch0: %{name}-link.patch
22 Patch1: %{name}-x32-context.patch
23 Patch2: %{name}-clean-gcc-flags.patch
24 Patch3: %{name}-numpy3.patch
26 Patch201: %{name}-python-abi_letters.patch
27 # https://github.com/boostorg/build/issues/163
28 Patch202: %{name}-dual-python-build.patch
29 # https://svn.boost.org/trac/boost/ticket/5637
30 Patch203: %{name}-1.54.0-mpl-print.patch
31 # https://svn.boost.org/trac/boost/ticket/8881
32 Patch221: %{name}-1.54.0-mpi-unused_typedef.patch
33 URL: http://www.boost.org/
34 BuildRequires: bzip2-devel
35 BuildRequires: expat-devel
36 BuildRequires: libicu-devel
37 BuildRequires: libstdc++-devel
38 BuildRequires: perl-base
40 BuildRequires: python-devel >= 2.2
41 %{?with_numpy:BuildRequires: python-numpy-devel}
44 BuildRequires: python3-devel
45 %{?with_numpy:BuildRequires: python3-numpy-devel}
47 BuildRequires: rpm-pythonprov
48 BuildRequires: zlib-devel
49 BuildConflicts: gcc = 5:3.3.1
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 %define specflags -DBOOST_IOSTREAMS_USE_DEPRECATED=1
54 # __once_call, __once_callable non-function symbols from libstdc++
55 %define skip_post_check_so libboost_context.so.*
58 The Boost web site provides free peer-reviewed portable C++ source
59 libraries. The emphasis is on libraries which work well with the C++
60 Standard Library. One goal is to establish "existing practice" and
61 provide reference implementations so that the Boost libraries are
62 suitable for eventual standardization. Some of the libraries have
63 already been proposed for inclusion in the C++ Standards Committee's
64 upcoming C++ Standard Library Technical Report.
66 %description -l pl.UTF-8
67 Strona http://www.boost.org/ dostarcza darmowe biblioteki C++ wraz z
68 kodem źródłowym. Nacisk położono na biblioteki, które dobrze
69 współpracują ze standardową biblioteką C++. Celem jest ustanowienie
70 "istniejącej praktyki" i dostarczenie implementacji, tak że biblioteki
71 "Boost" nadają się do ewentualnej standaryzacji. Niektóre z bibliotek
72 już zostały zgłoszone do komitetu standaryzacyjnego C++ w nadchodzącym
73 Raporcie Technicznym Biblioteki Standardowej C++.
76 Summary: Boost C++ development headers
77 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek C++ Boost
78 Group: Development/Libraries
79 Requires: %{name} = %{version}-%{release}
80 Requires: %{name}-chrono = %{version}-%{release}
81 Requires: %{name}-context = %{version}-%{release}
82 Requires: %{name}-date_time = %{version}-%{release}
83 Requires: %{name}-filesystem = %{version}-%{release}
84 Requires: %{name}-graph = %{version}-%{release}
85 Requires: %{name}-locale = %{version}-%{release}
86 Requires: %{name}-log = %{version}-%{release}
87 Requires: %{name}-program_options = %{version}-%{release}
88 Requires: %{name}-regex = %{version}-%{release}
89 Requires: %{name}-signals = %{version}-%{release}
90 Requires: %{name}-system = %{version}-%{release}
91 Requires: %{name}-test = %{version}-%{release}
92 Requires: %{name}-thread = %{version}-%{release}
93 Requires: %{name}-timer = %{version}-%{release}
94 Requires: %{name}-wave = %{version}-%{release}
95 Requires: libstdc++-devel
96 Obsoletes: boost-any-devel
97 Obsoletes: boost-array-devel
99 Obsoletes: boost-bind-devel
100 Obsoletes: boost-call_traits-devel
101 Obsoletes: boost-compatibility-devel
102 Obsoletes: boost-compose-devel
103 Obsoletes: boost-compressed_pair-devel
104 Obsoletes: boost-concept_check-devel
105 Obsoletes: boost-conversion-devel
106 Obsoletes: boost-crc-devel
107 Obsoletes: boost-date_time-devel
108 Obsoletes: boost-filesystem-devel
109 Obsoletes: boost-graph-devel
110 Obsoletes: boost-mem_fn-devel
111 Obsoletes: boost-mpl-devel
112 Obsoletes: boost-preprocessor-devel
113 Obsoletes: boost-program_options-devel
114 Obsoletes: boost-ref-devel
115 Obsoletes: boost-regex-devel
116 Obsoletes: boost-signals-devel
117 Obsoletes: boost-spirit-devel
118 Obsoletes: boost-statechart-devel
119 Obsoletes: boost-static_assert-devel
120 Obsoletes: boost-test-devel
121 Obsoletes: boost-thread-devel
122 Obsoletes: boost-tr1-devel
123 Obsoletes: boost-type_traits-devel
124 Obsoletes: boost-typeof-devel
125 Obsoletes: boost-uBLAS-devel
126 Obsoletes: boost-utility-devel
127 Obsoletes: boost-wave-devel
128 Obsoletes: boost-xpressive-devel
131 Header files for the Boost C++ libraries.
133 %description devel -l pl.UTF-8
134 Pliki nagłówkowe bibliotek C++ Boost.
137 Summary: Static version of base Boost C++ libraries
138 Summary(pl.UTF-8): Statyczne wersje podstawowych bibliotek C++ Boost
139 Group: Development/Libraries
140 Requires: %{name}-devel = %{version}-%{release}
141 Obsoletes: boost-static < 1.33
144 Static version of base Boost C++ libraries.
146 %description static -l pl.UTF-8
147 Statyczne wersje podstawowych bibliotek C++ Boost.
149 %package python-devel-common
150 Summary: Boost.Python development headers
151 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Boost.Python
152 Group: Development/Libraries
153 Requires: %{name}-devel = %{version}-%{release}
155 %description python-devel-common
156 Headers for the Boost.Python library.
158 %description python-devel-common -l pl.UTF-8
159 Pliki nagłówkowe biblioteki Boost.Python.
162 Summary: Boost.Python library for Python 2
163 Summary(pl.UTF-8): Biblioteka Boost.Python dla Pythona 2
165 Requires: python-libs
168 Use the Boost Python Library to quickly and easily export a C++
169 library to Python 2 such that the Python 2 interface is very similar
170 to the C++ interface. It is designed to be minimally intrusive on your
171 C++ design. In most cases, you should not have to alter your C++
172 classes in any way in order to use them with Boost.Python. The system
173 should simply ``reflect'' your C++ classes and functions into Python
176 %description python -l pl.UTF-8
177 Biblioteka Boost Python służy do szybkiego i prostego eksportu
178 biblioteki C++ do Pythona 2, tak że interfejs Pythona 2 jest bardzo
179 podobny do interfejsu C++. Biblioteka jest zaprojektowana tak, żeby
180 narzucać jak najmniej wymagań dotyczących konstrukcjii C++. W
181 większości przypadków nie trzeba w ogóle zmieniać własnych klas C++,
182 żeby używać ich z Boost.Python. System powinien po prostu ,,odbić''
183 klasy C++ i funkcje do Pythona 3.
185 %package python-devel
186 Summary: Boost.Python development files for Python 2
187 Summary(pl.UTF-8): Pliki programistyczne biblioteki Boost.Python dla Pythona 2
188 Group: Development/Libraries
189 Requires: %{name}-devel = %{version}-%{release}
190 Requires: %{name}-python = %{version}-%{release}
191 Requires: %{name}-python-devel-common = %{version}-%{release}
193 %description python-devel
194 Boost.Python development files for Python 2.
196 %description python-devel -l pl.UTF-8
197 Pliki programistyczne biblioteki Boost.Python dla Pythona 2.
199 %package python-static
200 Summary: Static version of Boost.Python library for Python 2
201 Summary(pl.UTF-8): Statyczna wersja biblioteki Boost.Python dla Pythona 2
202 Group: Development/Libraries
203 Requires: %{name}-python-devel = %{version}-%{release}
205 %description python-static
206 Static version of Boost.Python library for Python 2.
208 %description python-static -l pl.UTF-8
209 Statyczna wersja biblioteki Boost.Python dla Pythona 2.
212 Summary: Boost.Python library for Python 3
213 Summary(pl.UTF-8): biblioteka Boost.Python dla Pythona 3
215 Requires: python3-libs
218 Use the Boost Python Library to quickly and easily export a C++
219 library to Python 3 such that the Python 3 interface is very similar
220 to the C++ interface. It is designed to be minimally intrusive on your
221 C++ design. In most cases, you should not have to alter your C++
222 classes in any way in order to use them with Boost.Python. The system
223 should simply ``reflect'' your C++ classes and functions into Python
226 %description python3 -l pl.UTF-8
227 Biblioteka Boost Python służy do szybkiego i prostego eksportu
228 biblioteki C++ do Pythona 3, tak że interfejs Pythona 3 jest bardzo
229 podobny do interfejsu C++. Biblioteka jest zaprojektowana tak, żeby
230 narzucać jak najmniej wymagań dotyczących konstrukcjii C++. W
231 większości przypadków nie trzeba w ogóle zmieniać własnych klas C++,
232 żeby używać ich z Boost.Python. System powinien po prostu ,,odbić''
233 klasy C++ i funkcje do Pythona 3.
235 %package python3-devel
236 Summary: Boost.Python development files for Python 3
237 Summary(pl.UTF-8): Pliki programistyczne biblioteki Boost.Python dla Pythona 3
238 Group: Development/Libraries
239 Requires: %{name}-devel = %{version}-%{release}
240 Requires: %{name}-python-devel-common = %{version}-%{release}
241 Requires: %{name}-python3 = %{version}-%{release}
243 %description python3-devel
244 Boost.Python development files for Python 3.
246 %description python3-devel -l pl.UTF-8
247 Pliki programistyczne biblioteki Boost.Python dla Pythona 3.
249 %package python3-static
250 Summary: Static version of Boost.Python library for Python 3
251 Summary(pl.UTF-8): Statyczna wersja biblioteki Boost.Python dla Pythona 3
252 Group: Development/Libraries
253 Requires: %{name}-python3-devel = %{version}-%{release}
255 %description python3-static
256 Static version of Boost.Python library for Python 3.
258 %description python3-static -l pl.UTF-8
259 Statyczna wersja biblioteki Boost.Python dla Pythona 3.
262 Summary: Useful time utilities
263 Summary(pl.UTF-8): Przydatne funkcje związane z czasem
265 Obsoletes: boost < 1.33
268 Useful time utilities.
270 %description chrono -l pl.UTF-8
271 Przydatne funkcje związane z czasem.
274 Summary: Boost.Context - context switching library
275 Summary(pl.UTF-8): Boost.Context - biblioteka do zmiany kontekstu
279 Boost.Context - context switching library, providing a sort of
280 cooperative multitasking on a single thread.
282 %description context -l pl.UTF-8
283 Boost.Context - biblioteka do zmiany kontekstu, zapewniająca pewną
284 wielozadaniowość kooperatywnąw ramach pojedynczego wątku.
287 Summary: Date-Time library
288 Summary(pl.UTF-8): Biblioteka daty-czasu
290 Obsoletes: boost < 1.33
292 %description date_time
293 A set of date-time libraries.
295 %description date_time -l pl.UTF-8
296 Zbiór bibliotek daty-czasu.
299 Summary: Portable paths, iteration over directories, and other useful filesystem operations
300 Summary(pl.UTF-8): Przenośne ścieżki, iteracje katalogów i inne użyteczne operacje na systemie plików
302 Requires: %{name}-system = %{version}-%{release}
303 Obsoletes: boost < 1.33
305 %description filesystem
306 The boost::filesystem library provides portable facilities to query
307 and manipulate paths, files, and directories.
309 %description filesystem -l pl.UTF-8
310 Przenośna biblioteka boost::filesystem dostarcza ułatwienia w
311 operacjach na ścieżkach, plikach i katalogach.
314 Summary: General purpose, generic C++ library for graph data structures and graph algorithms
315 Summary(pl.UTF-8): Biblioteka ogólnego przeznaczenia w C++ dla struktur danych typu grafy oraz algorytmów związanych z grafami
319 The boost::graph library provides portable facilities to operate on
320 graph data structures using graph algorithms.
322 %description graph -l pl.UTF-8
323 Przenośna biblioteka boost::graph dostarcza ułatwienia w operacjach na
324 strukturach danych typu graf za pomocą algorytmów związanych z
328 Summary: Provide localization and Unicode handling tools for C++
329 Summary(pl.UTF-8): Narzędzia do obsługi lokalizacji i Unikodu w C++
333 Provide localization and Unicode handling tools for C++.
335 %description locale -l pl.UTF-8
336 Narzędzia do obsługi lokalizacji i Unikodu w C++.
339 Summary: Provide logging tools for C++
340 Summary(pl.UTF-8): Narzędzia do logowania w C++
344 Provide logging tools for C++.
346 %description log -l pl.UTF-8
347 Narzędzia do logowania w C++.
349 %package program_options
350 Summary: Access to program options, via conventional methods such as command line and config file
351 Summary(pl.UTF-8): Dostęp do opcji programu za pomocą typowych metod, jak linia poleceń i plik konfiguracyjny
354 %description program_options
355 The program_options library allows program developers to obtain
356 program options, that is (name, value) pairs from the user, via
357 conventional methods such as command line and config file.
359 %description program_options -l pl.UTF-8
360 Biblioteka program_options umożliwia uzyskanie od użytkownika opcji
361 programu, czyli par (nazwa, wartość), za pomocą typowych metod, takich
362 jak linia poleceń, czy plik konfiguracyjny.
365 Summary: Boost C++ regular expressions library
366 Summary(pl.UTF-8): Biblioteka wyrażeń regularnych Boost C++
370 Shared library for Boost C++ regular expressions.
372 %description regex -l pl.UTF-8
373 Biblioteka współdzielona do obsługi wyrażeń regularnych w C++.
376 Summary: Signals & slots callback implementation
377 Summary(pl.UTF-8): Implementacja sygnałów i slotów
379 Obsoletes: boost < 1.33
382 The boost::signals library is an implementation of a signals and slots
385 %description signals -l pl.UTF-8
386 Biblioteka boost::signals jest implementacją systemu sygnałów i
390 Summary: Support for getting system specific error codes
391 Summary(pl.UTF-8): Wsparcie dla pobierania specyficznych dla systemu kodów błędów
395 The Boost System library provides simple, light-weight error_code
396 objects that encapsulate system-specific error code values, yet also
397 provide access to more abstract and portable error conditions objects.
399 %description system -l pl.UTF-8
400 Biblioteka Boost System udostępnia proste, lekkie obiekty error_code
401 obudowujące wartości kodów błędów specyficznych dla systemu, dając
402 jednocześnie dostęp do bardziej abstrakcyjnych i przenośnych obiektów
406 Summary: Support for program testing and execution monitoring
407 Summary(pl.UTF-8): Wsparcie dla testowania i monitorowania programu
409 Obsoletes: boost < 1.33
412 Support for simple program testing, full unit testing, and for program
413 execution monitoring.
415 %description test -l pl.UTF-8
416 Wsparcie dla prostego testowania programu, pełnego testowania i
417 monitorowania wykonania programu.
420 Summary: Portable C++ threads library
421 Summary(pl.UTF-8): Przenośna biblioteka wątków C++
423 Obsoletes: boost < 1.33
426 Portable C++ threads library - shared library.
428 %description thread -l pl.UTF-8
429 Przenośna biblioteka wątków dla C++ - biblioteka dzielona.
432 Summary: Event timer, progress timer, and progress display classes
433 Summary(pl.UTF-8): Klasy do obsługi pomiarów czasu, postępu i wyświetlania postępu
435 Obsoletes: boost < 1.33
438 Event timer, progress timer, and progress display classes.
440 %description timer -l pl.UTF-8
441 Klasy do obsługi pomiarów czasu, postępu i wyświetlania postępu.
444 Summary: Boost.Wave - a standard compliant C++ preprocessor library
445 Summary(pl.UTF-8): Boost.Wave - zgodna ze standardem biblioteka preprocesora C++
446 Group: Development/Libraries
449 Boost.Wave - a standard compliant C++ preprocessor library.
451 %description wave -l pl.UTF-8
452 Boost.Wave - zgodna ze standardem biblioteka preprocesora C++.
455 Summary: Boost C++ Library documentation
456 Summary(pl.UTF-8): Dokumentacja dla biblioteki Boost C++
458 %if "%{_rpmversion}" >= "5"
463 Documentation for the Boost C++ Library.
465 %description doc -l pl.UTF-8
466 Dokumentacja dla biblioteki Boost C++.
469 %setup -q -n %{name}_%{fver}
480 cat << EOF > tools/build/src/user-config.jam
481 using gcc : %{cxx_version} : %{__cxx} : <cflags>"%{rpmcflags} -fPIC" <cxxflags>"%{rpmcxxflags} -fPIC" <linkflags>"%{rpmldflags}" ;
484 # cleanup backups after patching
485 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
488 EXPAT_INCLUDE=%{_includedir} \
489 EXPAT_LIBPATH=%{_libdir} \
490 ICU_PATH=%{_prefix} \
492 --prefix=%{_prefix} \
493 -without-libraries=python
504 echo "using python : %{py3_ver} : %{py3_prefix} : %{py3_incdir} : : : : m ;" >> project-config.jam
506 --with-python python=%{py3_ver} \
507 -a -d2 --toolset=gcc \
516 %{__sed} -i -e '/^using python : 3/d' project-config.jam
517 echo "using python : %{py_ver} : %{py_prefix} : %{py_incdir} ;" >> project-config.jam
519 --with-python python=%{py_ver} \
520 -a -d2 --toolset=gcc \
529 rm -rf $RPM_BUILD_ROOT
530 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
532 cp -rf boost $RPM_BUILD_ROOT%{_includedir}
534 install -p stage/lib/lib*.a $RPM_BUILD_ROOT%{_libdir}
535 install -p stage/lib/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
536 cp -a stage/lib/lib*.so $RPM_BUILD_ROOT%{_libdir}
539 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
541 # as the documentation doesn't completely reside in a directory of its
542 # own, we need to find out ourselves... this looks for HTML files and
543 # then collects everything linked from those. this is certainly quite
544 # unoptimized wrt mkdir calls, but does it really matter?
546 for i in $(find -type f -name '*.htm*'); do
547 # bjam docu is included in the boost-jam RPM
548 if test "`echo $i | sed 's,jam_src,,'`" = "$i"; then
549 install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/${i%/*}
550 for LINKED in `%{__perl} - $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i <<'EOT'
554 # rewrite links from boost/* to %{_includedir}/boost/* and
555 # ignore external links as well as document-internal ones.
556 # HTML files are also ignored as they get installed anyway.
557 if (!($link =~ s,^(?:../)*boost/,%{_includedir}/boost/,) && !($link =~ m,(?:^[^/]+:|^\#|\.html?(?:$|\#)),))
559 (my $file = $link) =~ s/\#.*//;
565 open OUT, ">@ARGV[1]";
569 $in_link and s/^\s*"([^"> ]*)"/'"' . rewrite_link($1) . '"'/e;
570 s/(href|src)="([^"> ]*)"/"$1=\"" . rewrite_link($2) . '"'/eig;
572 $in_link = /href|src=\s*$/;
575 TARGET=${i%/*}/$LINKED
576 # ignore non-existant linked files
577 if test -f $TARGET; then
578 install -D -m 644 $TARGET $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$TARGET
586 rm -rf $RPM_BUILD_ROOT
588 %post -p /sbin/ldconfig
589 %postun -p /sbin/ldconfig
591 %post chrono -p /sbin/ldconfig
592 %postun chrono -p /sbin/ldconfig
594 %post context -p /sbin/ldconfig
595 %postun context -p /sbin/ldconfig
597 %post date_time -p /sbin/ldconfig
598 %postun date_time -p /sbin/ldconfig
600 %post filesystem -p /sbin/ldconfig
601 %postun filesystem -p /sbin/ldconfig
603 %post graph -p /sbin/ldconfig
604 %postun graph -p /sbin/ldconfig
606 %post locale -p /sbin/ldconfig
607 %postun locale -p /sbin/ldconfig
609 %post python -p /sbin/ldconfig
610 %postun python -p /sbin/ldconfig
612 %post python3 -p /sbin/ldconfig
613 %postun python3 -p /sbin/ldconfig
615 %post program_options -p /sbin/ldconfig
616 %postun program_options -p /sbin/ldconfig
618 %post regex -p /sbin/ldconfig
619 %postun regex -p /sbin/ldconfig
621 %post signals -p /sbin/ldconfig
622 %postun signals -p /sbin/ldconfig
624 %post system -p /sbin/ldconfig
625 %postun system -p /sbin/ldconfig
627 %post test -p /sbin/ldconfig
628 %postun test -p /sbin/ldconfig
630 %post thread -p /sbin/ldconfig
631 %postun thread -p /sbin/ldconfig
633 %post timer -p /sbin/ldconfig
634 %postun timer -p /sbin/ldconfig
636 %post wave -p /sbin/ldconfig
637 %postun wave -p /sbin/ldconfig
640 %defattr(644,root,root,755)
641 %attr(755,root,root) %{_libdir}/libboost_atomic.so.*.*.*
642 %attr(755,root,root) %{_libdir}/libboost_container.so.*.*.*
643 %attr(755,root,root) %{_libdir}/libboost_coroutine.so.*.*.*
644 %attr(755,root,root) %{_libdir}/libboost_iostreams.so.*.*.*
645 %attr(755,root,root) %{_libdir}/libboost_math_*.so.*.*.*
646 %attr(755,root,root) %{_libdir}/libboost_random.so.*.*.*
647 %attr(755,root,root) %{_libdir}/libboost_serialization.so.*.*.*
648 %attr(755,root,root) %{_libdir}/libboost_type_erasure.so.*.*.*
649 %attr(755,root,root) %{_libdir}/libboost_wserialization.so.*.*.*
652 %defattr(644,root,root,755)
653 %attr(755,root,root) %{_libdir}/libboost_atomic.so
654 %attr(755,root,root) %{_libdir}/libboost_chrono.so
655 %attr(755,root,root) %{_libdir}/libboost_container.so
656 %attr(755,root,root) %{_libdir}/libboost_context.so
657 %attr(755,root,root) %{_libdir}/libboost_coroutine.so
658 %attr(755,root,root) %{_libdir}/libboost_date_time.so
659 %attr(755,root,root) %{_libdir}/libboost_filesystem.so
660 %attr(755,root,root) %{_libdir}/libboost_graph.so
661 %attr(755,root,root) %{_libdir}/libboost_iostreams.so
662 %attr(755,root,root) %{_libdir}/libboost_locale.so
663 %attr(755,root,root) %{_libdir}/libboost_log.so
664 %attr(755,root,root) %{_libdir}/libboost_log_setup.so
665 %attr(755,root,root) %{_libdir}/libboost_math_*.so
666 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor.so
667 %attr(755,root,root) %{_libdir}/libboost_program_options.so
668 %attr(755,root,root) %{_libdir}/libboost_regex.so
669 %attr(755,root,root) %{_libdir}/libboost_random.so
670 %attr(755,root,root) %{_libdir}/libboost_serialization.so
671 %attr(755,root,root) %{_libdir}/libboost_signals.so
672 %attr(755,root,root) %{_libdir}/libboost_system.so
673 %attr(755,root,root) %{_libdir}/libboost_thread.so
674 %attr(755,root,root) %{_libdir}/libboost_timer.so
675 %attr(755,root,root) %{_libdir}/libboost_type_erasure.so
676 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework.so
677 %attr(755,root,root) %{_libdir}/libboost_wave.so
678 %attr(755,root,root) %{_libdir}/libboost_wserialization.so
680 %exclude %{_includedir}/boost/python
681 %exclude %{_includedir}/boost/python.hpp
684 %defattr(644,root,root,755)
685 %{_libdir}/libboost_atomic.a
686 %{_libdir}/libboost_chrono.a
687 %{_libdir}/libboost_container.a
688 %{_libdir}/libboost_context.a
689 %{_libdir}/libboost_coroutine.a
690 %{_libdir}/libboost_date_time.a
691 %{_libdir}/libboost_exception.a
692 %{_libdir}/libboost_filesystem.a
693 %{_libdir}/libboost_graph.a
694 %{_libdir}/libboost_iostreams.a
695 %{_libdir}/libboost_locale.a
696 %{_libdir}/libboost_log.a
697 %{_libdir}/libboost_log_setup.a
698 %{_libdir}/libboost_math_*.a
699 %{_libdir}/libboost_prg_exec_monitor.a
700 %{_libdir}/libboost_program_options.a
701 %{_libdir}/libboost_random.a
702 %{_libdir}/libboost_regex.a
703 %{_libdir}/libboost_serialization.a
704 %{_libdir}/libboost_signals.a
705 %{_libdir}/libboost_system.a
706 %{_libdir}/libboost_test_exec_monitor.a
707 %{_libdir}/libboost_timer.a
708 %{_libdir}/libboost_thread.a
709 %{_libdir}/libboost_type_erasure.a
710 %{_libdir}/libboost_unit_test_framework.a
711 %{_libdir}/libboost_wave.a
712 %{_libdir}/libboost_wserialization.a
714 %if %{with python2} || %{with python3}
715 %files python-devel-common
716 %defattr(644,root,root,755)
717 %{_includedir}/boost/python
718 %{_includedir}/boost/python.hpp
723 %defattr(644,root,root,755)
725 %attr(755,root,root) %{_libdir}/libboost_numpy.so.*.*.*
727 %attr(755,root,root) %{_libdir}/libboost_python.so.*.*.*
730 %defattr(644,root,root,755)
732 %attr(755,root,root) %{_libdir}/libboost_numpy.so
734 %attr(755,root,root) %{_libdir}/libboost_python.so
737 %defattr(644,root,root,755)
739 %{_libdir}/libboost_numpy.a
741 %{_libdir}/libboost_python.a
746 %defattr(644,root,root,755)
748 %attr(755,root,root) %{_libdir}/libboost_numpy3.so.*.*.*
750 %attr(755,root,root) %{_libdir}/libboost_python3.so.*.*.*
753 %defattr(644,root,root,755)
755 %attr(755,root,root) %{_libdir}/libboost_numpy3.so
757 %attr(755,root,root) %{_libdir}/libboost_python3.so
759 %files python3-static
760 %defattr(644,root,root,755)
762 %{_libdir}/libboost_numpy3.a
764 %{_libdir}/libboost_python3.a
768 %defattr(644,root,root,755)
769 %attr(755,root,root) %{_libdir}/libboost_chrono.so.*.*.*
772 %defattr(644,root,root,755)
773 %attr(755,root,root) %{_libdir}/libboost_context.so.*.*.*
776 %defattr(644,root,root,755)
777 %attr(755,root,root) %{_libdir}/libboost_date_time.so.*.*.*
780 %defattr(644,root,root,755)
781 %attr(755,root,root) %{_libdir}/libboost_filesystem.so.*.*.*
784 %defattr(644,root,root,755)
785 %attr(755,root,root) %{_libdir}/libboost_graph.so.*.*.*
788 %defattr(644,root,root,755)
789 %attr(755,root,root) %{_libdir}/libboost_locale.so.*.*.*
792 %defattr(644,root,root,755)
793 %attr(755,root,root) %{_libdir}/libboost_log.so.*.*.*
794 %attr(755,root,root) %{_libdir}/libboost_log_setup.so.*.*.*
796 %files program_options
797 %defattr(644,root,root,755)
798 %attr(755,root,root) %{_libdir}/libboost_program_options.so.*.*.*
801 %defattr(644,root,root,755)
802 %attr(755,root,root) %{_libdir}/libboost_regex.so.*.*.*
805 %defattr(644,root,root,755)
806 %attr(755,root,root) %{_libdir}/libboost_signals.so.*.*.*
809 %defattr(644,root,root,755)
810 %attr(755,root,root) %{_libdir}/libboost_system.so.*.*.*
813 %defattr(644,root,root,755)
814 %attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor.so.*.*.*
815 %attr(755,root,root) %{_libdir}/libboost_unit_test_framework.so.*.*.*
818 %defattr(644,root,root,755)
819 %attr(755,root,root) %{_libdir}/libboost_thread.so.*.*.*
822 %defattr(644,root,root,755)
823 %attr(755,root,root) %{_libdir}/libboost_timer.so.*.*.*
826 %defattr(644,root,root,755)
827 %attr(755,root,root) %{_libdir}/libboost_wave.so.*.*.*
830 %defattr(644,root,root,755)
831 %{_docdir}/%{name}-%{version}