X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=boost.spec;h=11d1ca856aa59fea9766eadb4c61b5cbb11fbcf2;hb=aaeb56b0e6b7f2a6f5e636a50ab7e67f1c047aff;hp=00ba23a09c450fcc0e128b5e919a90a3b0c2dfda;hpb=bde731a5e870d6cd8ce1dce3eb9660b1f17468db;p=packages%2Fboost.git diff --git a/boost.spec b/boost.spec index 00ba23a..11d1ca8 100644 --- a/boost.spec +++ b/boost.spec @@ -1,35 +1,46 @@ # # TODO: -# - /usr/include/boost/detail/atomic_cont_gcc.hpp includes bits/atomicity.h -# but new libstdc++ has ext/atomicity.h +# - think about building MPI. +# - split shared libs from core package into -iostreams/-serialization. # # Conditional build: -%bcond_without python # without boost-python support -# -%define _fver %(echo %{version} | tr . _) +%bcond_without python2 # without boost-python2 support +%bcond_without python3 # without boost-python3 support + +%define fver %(echo %{version} | tr . _) Summary: The Boost C++ Libraries Summary(pl.UTF-8): Biblioteki C++ "Boost" Name: boost -Version: 1.33.1 -Release: 7 +Version: 1.61.0 +Release: 2 License: Boost Software License and others Group: Libraries -Source0: http://dl.sourceforge.net/boost/%{name}_%{_fver}.tar.bz2 -# Source0-md5: 2b999b2fb7798e1737d1fff8fac602ef -Patch0: %{name}-python.patch -Patch1: %{name}-archive_iterator_segv.patch +# TODO: use .7z extension: +Source0: http://downloads.sourceforge.net/boost/%{name}_%{fver}.tar.bz2 +# Source0-md5: 6095876341956f65f9d35939ccea1a9f +Patch0: %{name}-link.patch +Patch1: %{name}-x32-context.patch +Patch2: %{name}-clean-gcc-flags.patch +# FC Patches: +# https://svn.boost.org/trac/boost/ticket/5637 +Patch203: %{name}-1.54.0-mpl-print.patch +# https://svn.boost.org/trac/boost/ticket/8881 +Patch221: %{name}-1.54.0-mpi-unused_typedef.patch URL: http://www.boost.org/ -BuildRequires: boost-jam >= 3.1.3 BuildRequires: bzip2-devel +BuildRequires: expat-devel BuildRequires: libicu-devel BuildRequires: libstdc++-devel BuildRequires: perl-base %{?with_python:BuildRequires: python-devel >= 2.2} +%{?with_python3:BuildRequires: python3-devel} BuildRequires: rpm-pythonprov BuildRequires: zlib-devel BuildConflicts: gcc = 5:3.3.1 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define specflags -DBOOST_IOSTREAMS_USE_DEPRECATED=1 + %description The Boost web site provides free peer-reviewed portable C++ source libraries. The emphasis is on libraries which work well with the C++ @@ -46,31 +57,62 @@ współpracują ze standardową biblioteką C++. Celem jest ustanowienie "istniejącej praktyki" i dostarczenie implementacji, tak że biblioteki "Boost" nadają się do ewentualnej standaryzacji. Niektóre z bibliotek już zostały zgłoszone do komitetu standaryzacyjnego C++ w nadchodzącym -Raporcie Technicznym Biblioteki Standardowej C++ +Raporcie Technicznym Biblioteki Standardowej C++. %package devel Summary: Boost C++ development headers Summary(pl.UTF-8): Pliki nagłówkowe bibliotek C++ Boost Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: %{name}-ref-devel = %{version}-%{release} +Requires: %{name}-chrono = %{version}-%{release} +Requires: %{name}-context = %{version}-%{release} +Requires: %{name}-date_time = %{version}-%{release} +Requires: %{name}-filesystem = %{version}-%{release} +Requires: %{name}-graph = %{version}-%{release} +Requires: %{name}-locale = %{version}-%{release} +Requires: %{name}-log = %{version}-%{release} +Requires: %{name}-program_options = %{version}-%{release} +Requires: %{name}-regex = %{version}-%{release} +Requires: %{name}-signals = %{version}-%{release} +Requires: %{name}-system = %{version}-%{release} +Requires: %{name}-test = %{version}-%{release} +Requires: %{name}-thread = %{version}-%{release} +Requires: %{name}-timer = %{version}-%{release} +Requires: %{name}-wave = %{version}-%{release} Requires: libstdc++-devel -# temporary Provides (until CVS HEAD stops using it)? -Provides: boost-concept_check-devel = %{version}-%{release} -Provides: boost-conversion-devel = %{version}-%{release} -Provides: boost-mpl-devel = %{version}-%{release} -Provides: boost-preprocessor-devel = %{version}-%{release} -Provides: boost-static_assert-devel = %{version}-%{release} -Provides: boost-type_traits-devel = %{version}-%{release} -Provides: boost-utility-devel = %{version}-%{release} +Obsoletes: boost-any-devel +Obsoletes: boost-array-devel +Obsoletes: boost-asio +Obsoletes: boost-bind-devel +Obsoletes: boost-call_traits-devel +Obsoletes: boost-compatibility-devel Obsoletes: boost-compose-devel +Obsoletes: boost-compressed_pair-devel Obsoletes: boost-concept_check-devel Obsoletes: boost-conversion-devel +Obsoletes: boost-crc-devel +Obsoletes: boost-date_time-devel +Obsoletes: boost-filesystem-devel +Obsoletes: boost-graph-devel +Obsoletes: boost-mem_fn-devel Obsoletes: boost-mpl-devel Obsoletes: boost-preprocessor-devel +Obsoletes: boost-program_options-devel +Obsoletes: boost-ref-devel +Obsoletes: boost-regex-devel +Obsoletes: boost-signals-devel +Obsoletes: boost-spirit-devel +Obsoletes: boost-statechart-devel Obsoletes: boost-static_assert-devel +Obsoletes: boost-test-devel +Obsoletes: boost-thread-devel +Obsoletes: boost-tr1-devel Obsoletes: boost-type_traits-devel +Obsoletes: boost-typeof-devel +Obsoletes: boost-uBLAS-devel Obsoletes: boost-utility-devel +Obsoletes: boost-wave-devel +Obsoletes: boost-xpressive-devel %description devel Header files for the Boost C++ libraries. @@ -83,6 +125,7 @@ Summary: Static version of base Boost C++ libraries Summary(pl.UTF-8): Statyczne wersje podstawowych bibliotek C++ Boost Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} +Obsoletes: boost-static < 1.33 %description static Static version of base Boost C++ libraries. @@ -90,238 +133,142 @@ Static version of base Boost C++ libraries. %description static -l pl.UTF-8 Statyczne wersje podstawowych bibliotek C++ Boost. +%package python-devel-common +Summary: Boost.Python development headers +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Boost.Python +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description python-devel-common +Headers for the Boost.Python library. + +%description python-devel-common -l pl.UTF-8 +Pliki nagłówkowe biblioteki Boost.Python. + %package python -Summary: Boost.Python library -Summary(pl.UTF-8): biblioteka Boost.Python +Summary: Boost.Python library for Python 2 +Summary(pl.UTF-8): Biblioteka Boost.Python dla Pythona 2 Group: Libraries -%pyrequires_eq python +Requires: python-libs %description python Use the Boost Python Library to quickly and easily export a C++ -library to Python such that the Python interface is very similar to -the C++ interface. It is designed to be minimally intrusive on your +library to Python 2 such that the Python 2 interface is very similar +to the C++ interface. It is designed to be minimally intrusive on your C++ design. In most cases, you should not have to alter your C++ classes in any way in order to use them with Boost.Python. The system -should simply ``reflect'' your C++ classes and functions into Python. +should simply ``reflect'' your C++ classes and functions into Python +3. %description python -l pl.UTF-8 Biblioteka Boost Python służy do szybkiego i prostego eksportu -biblioteki C++ do Pythona, tak że interfejs Pythona jest bardzo +biblioteki C++ do Pythona 2, tak że interfejs Pythona 2 jest bardzo podobny do interfejsu C++. Biblioteka jest zaprojektowana tak, żeby narzucać jak najmniej wymagań dotyczących konstrukcjii C++. W większości przypadków nie trzeba w ogóle zmieniać własnych klas C++, żeby używać ich z Boost.Python. System powinien po prostu ,,odbić'' -klasy C++ i funkcje do Pythona. +klasy C++ i funkcje do Pythona 3. %package python-devel -Summary: Boost.Python development headers -Summary(pl.UTF-8): Pliki nagłówkowe dla Boost.Python +Summary: Boost.Python development files for Python 2 +Summary(pl.UTF-8): Pliki programistyczne biblioteki Boost.Python dla Pythona 2 Group: Development/Libraries -Requires: %{name}-compressed_pair-devel = %{version}-%{release} Requires: %{name}-devel = %{version}-%{release} Requires: %{name}-python = %{version}-%{release} +Requires: %{name}-python-devel-common = %{version}-%{release} %description python-devel -Headers for the Boost.Python library. +Boost.Python development files for Python 2. %description python-devel -l pl.UTF-8 -Pliki nagłówkowe dla biblioteki Boost.Python. +Pliki programistyczne biblioteki Boost.Python dla Pythona 2. %package python-static -Summary: Static version of Boost.Python library -Summary(pl.UTF-8): Statyczna wersja biblioteki Boost.Python +Summary: Static version of Boost.Python library for Python 2 +Summary(pl.UTF-8): Statyczna wersja biblioteki Boost.Python dla Pythona 2 Group: Development/Libraries Requires: %{name}-python-devel = %{version}-%{release} %description python-static -Static version of Boost.Python library. +Static version of Boost.Python library for Python 2. %description python-static -l pl.UTF-8 -Statyczna wersja biblioteki Boost.Python. +Statyczna wersja biblioteki Boost.Python dla Pythona 2. -%package regex -Summary: Boost C++ regular expressions library -Summary(pl.UTF-8): Biblioteka wyrażeń regularnych Boost C++ +%package python3 +Summary: Boost.Python library for Python 3 +Summary(pl.UTF-8): biblioteka Boost.Python dla Pythona 3 Group: Libraries +Requires: python3-libs -%description regex -Shared library for Boost C++ regular expressions. - -%description regex -l pl.UTF-8 -Biblioteka wyrażeń regularnych dla C++, biblioteki dzielone. - -%package regex-devel -Summary: Boost C++ Regex library headers -Summary(pl.UTF-8): Pliki nagłówkowe Boost C++ Regex -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} -Requires: %{name}-regex = %{version}-%{release} - -%description regex-devel -Boost C++ Regex headers. - -%description regex-devel -l pl.UTF-8 -Pliki nagłówkowe dla Boost C++ Regex. - -%package regex-static -Summary: Boost C++ Regex static libraries -Summary(pl.UTF-8): Biblioteki statyczne Boost C++ Regex -Group: Development/Libraries -Requires: %{name}-regex-devel = %{version}-%{release} - -%description regex-static -Boost C++ Regex static libraries. - -%description regex-static -l pl.UTF-8 -Biblioteki statyczne dla Boost C++ Regex. - -%package any-devel -Summary: Header for Boost C++ "Any" Library -Summary(pl.UTF-8): Plik nagłówkowy dla biblioteki Boost C++ "Any" -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} - -%description any-devel -The boost::any class, is a variant value type, which supports copying -of any value type and safe checked extraction of that value strictly -against that type. - -I.e. 5 is held strictly as an int and is not implicitly convertible -either to "5" or to 5.0. - -%description any-devel -l pl.UTF-8 -Klasa boost::any jest typem, który umożliwia kopiowanie ze zmiennej -dowolnego typu i bezpieczne, sprawdzone wydobycie jej wartości -dokładnie tego samego typu. +%description python3 +Use the Boost Python Library to quickly and easily export a C++ +library to Python 3 such that the Python 3 interface is very similar +to the C++ interface. It is designed to be minimally intrusive on your +C++ design. In most cases, you should not have to alter your C++ +classes in any way in order to use them with Boost.Python. The system +should simply ``reflect'' your C++ classes and functions into Python +3. -Np. 5 jest trzymane jako int i nie jest niejawnie konwertowalne ani do -"5" ani do 5.0. +%description python3 -l pl.UTF-8 +Biblioteka Boost Python służy do szybkiego i prostego eksportu +biblioteki C++ do Pythona 3, tak że interfejs Pythona 3 jest bardzo +podobny do interfejsu C++. Biblioteka jest zaprojektowana tak, żeby +narzucać jak najmniej wymagań dotyczących konstrukcjii C++. W +większości przypadków nie trzeba w ogóle zmieniać własnych klas C++, +żeby używać ich z Boost.Python. System powinien po prostu ,,odbić'' +klasy C++ i funkcje do Pythona 3. -%package array-devel -Summary: STL compliant container wrapper for arrays of constant size -Summary(pl.UTF-8): Wrapper na STLowe kontenery dla tablic o stałym rozmiarze +%package python3-devel +Summary: Boost.Python development files for Python 3 +Summary(pl.UTF-8): Pliki programistyczne biblioteki Boost.Python dla Pythona 3 Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-python-devel-common = %{version}-%{release} +Requires: %{name}-python3 = %{version}-%{release} -%description array-devel -As replacement for ordinary arrays, the STL provides class vector<>. -However, vector<> provides the semantics of dynamic arrays. Thus, it -manages data to be able to change the number of elements. This results -in some overhead in case only arrays with static size are needed. This -library provides support for such static size arrays. - -%description array-devel -l pl.UTF-8 -STL dostarcza klasę vector<> jako zamiennik zwykłej tablicy. Jednak -vector<> dostarcza semantykę dynamicznych tablic. Zatem zarządza -danymi tak, by była możliwa zmiana ilości elementów. To skutkuje -pewnym nadmiarem w przypadku kiedy tylko tablice o stałym rozmiarze są -potrzebne. Ta biblioteka dostarcza wsparcie dla takich właśnie tablic -o stałym rozmiarze. - -%package bind-devel -Summary: Generalized binders for function/object/pointers and member functions -Summary(pl.UTF-8): Uogólnione bindery dla funkcji/obiektów/wskaźników oraz metod -Group: Development/Libraries -Requires: %{name}-ref-devel = %{version}-%{release} -Provides: boost-mem_fn-devel = %{version}-%{release} -Obsoletes: boost-compose-devel -Obsoletes: boost-mem_fn-devel - -%description bind-devel -boost::bind is a generalization of the standard functions std::bind1st -and std::bind2nd. This package contains also boost::mem_fn which is a -generalization of the standard functions std::mem_fun and -std::mem_fun_ref. +%description python3-devel +Boost.Python development files for Python 3. -%description bind-devel -l pl.UTF-8 -boost::bind jest uogólnieniem standardowych funkcji std::bind1st i -std::bind2nd. Ten pakiet zawiera także boost::mem_fn, który jest -uogólnieniem standardowych funkcji std::mem_fun i std::mem_fun_ref. +%description python3-devel -l pl.UTF-8 +Pliki programistyczne biblioteki Boost.Python dla Pythona 3. -%package call_traits-devel -Summary: Defines types for passing parameters -Summary(pl.UTF-8): Definiowanie typów dla przekazywania parametrów +%package python3-static +Summary: Static version of Boost.Python library for Python 3 +Summary(pl.UTF-8): Statyczna wersja biblioteki Boost.Python dla Pythona 3 Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-python3-devel = %{version}-%{release} -%description call_traits-devel -boost::call_traits encapsulates the "best" method to pass a -parameter of some type T to or from a function. The purpose of -call_traits is to ensure that problems like "references to references" -never occur, and that parameters are passed in the most efficient -manner possible. - -%description call_traits-devel -l pl.UTF-8 -boost::call_traits zawiera "najlepszą" metodę przekazywania -parametrów jakiegoś typu T do lub z funkcji. Celem call_traits jest -zapewnienie że problemy takie jak "referencja referencji" nigdy nie -wystąpią i że parametry są przekazywane w możliwie najbardziej -efektywny sposób. - -%package compatibility-devel -Summary: Help for non-conforming standard libraries -Summary(pl.UTF-8): Pomoc dla nie trzymających standardu bibliotek -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} - -%description compatibility-devel -This library provides workarounds which allow the other Boost -libraries to be used on otherwise non-conforming platforms. +%description python3-static +Static version of Boost.Python library for Python 3. -%description compatibility-devel -l pl.UTF-8 -Biblioteka dostarcza obejście problemu platform nie trzymających -standardu C++, pozwalające na używanie bibliotek Boost na tych -platformach. - -%package compose-devel -Summary: Functional composition adapters for the STL -Summary(pl.UTF-8): Funkcjonalne adaptery kompozycji dla STL -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} +%description python3-static -l pl.UTF-8 +Statyczna wersja biblioteki Boost.Python dla Pythona 3. -%description compose-devel -The boost::compose provides compose function object adapter extensions -for use with the Standard Template Library (STL) portion of the C++ -Standard Library. If you aren't currently using the STL, this library -won't be of any interest, but hard-core STL users will appreciate its -usefulness. - -%description compose-devel -l pl.UTF-8 -boost::compose dostarcza rozszerzenie adaptera obiektu funkcji compose -do użytku z STL-ową częścią Standardu C++. Jeżeli nie używasz STL, -biblioteka będzie poza twoim zainteresowaniem, lecz hardkorowi -użytkownicy STL-a docenią jej użyteczność. - -%package compressed_pair-devel -Summary: Empty member optimization -Summary(pl.UTF-8): Optymalizacja pustego elementu -Group: Development/Libraries -Requires: %{name}-call_traits-devel = %{version}-%{release} -Requires: %{name}-devel = %{version}-%{release} +%package chrono +Summary: Useful time utilities +Summary(pl.UTF-8): Przydatne funkcje związane z czasem +Group: Libraries +Obsoletes: boost < 1.33 -%description compressed_pair-devel -The class boost::compressed_pair is very similar to std::pair, but if -either of the template arguments are empty classes, then the "empty -base-class optimisation" is applied to compress the size of the pair. +%description chrono +Useful time utilities. -%description compressed_pair-devel -l pl.UTF-8 -Klasa boost::compressed_pair jest bardzo podobna do std::pair, ale -jeżeli któryś z argumentów wzorca jest pustą klasą, wtedy stosowana -jest "optymalizacja pustej klasy bazowej" do kompresji pary. +%description chrono -l pl.UTF-8 +Przydatne funkcje związane z czasem. -%package crc-devel -Summary: CRC computing library -Summary(pl.UTF-8): Biblioteka obliczająca CRC -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} +%package context +Summary: Boost.Context - context switching library +Summary(pl.UTF-8): Boost.Context - biblioteka do zmiany kontekstu +Group: Libraries -%description crc-devel -The boost::crc library provides two implementations of CRC computation -objects and functions. The implementations are template-based. +%description context +Boost.Context - context switching library, providing a sort of +cooperative multitasking on a single thread. -%description crc-devel -l pl.UTF-8 -Bibliteka boost::crc dostarcza dwie implementacje obiektów i funkcji -obliczających CRC. Implementacje są oparte na wzorcach. +%description context -l pl.UTF-8 +Boost.Context - biblioteka do zmiany kontekstu, zapewniająca pewną +wielozadaniowość kooperatywnąw ramach pojedynczego wątku. %package date_time Summary: Date-Time library @@ -335,39 +282,11 @@ A set of date-time libraries. %description date_time -l pl.UTF-8 Zbiór bibliotek daty-czasu. -%package date_time-devel -Summary: Header files for boost::date_time library -Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki boost::date_time -Group: Development/Libraries -Requires: %{name}-date_time = %{version}-%{release} -Requires: %{name}-devel = %{version}-%{release} -#TODO: make decision if do separate packages include it to main devel package -#Requires: %{name}-integer-devel = %{version}-%{release} -#Requires: %{name}-operators-devel = %{version}-%{release} -#Requires: %{name}-tokenizer-devel = %{version}-%{release} - -%description date_time-devel -Header files for boost::date_time library. - -%description date_time-devel -l pl.UTF-8 -Pliki nagłówkowe dla biblioteki boost::date_time - -%package date_time-static -Summary: Static boost::date_time library -Summary(pl.UTF-8): Statyczna biblioteka boost::date_time -Group: Development/Libraries -Requires: %{name}-date_time-devel = %{version}-%{release} - -%description date_time-static -Static boost::date_time library. - -%description date_time-devel -l pl.UTF-8 -Statyczna biblioteka boost::date_time. - %package filesystem Summary: Portable paths, iteration over directories, and other useful filesystem operations Summary(pl.UTF-8): Przenośne ścieżki, iteracje katalogów i inne użyteczne operacje na systemie plików Group: Libraries +Requires: %{name}-system = %{version}-%{release} Obsoletes: boost < 1.33 %description filesystem @@ -378,33 +297,41 @@ and manipulate paths, files, and directories. Przenośna biblioteka boost::filesystem dostarcza ułatwienia w operacjach na ścieżkach, plikach i katalogach. -%package filesystem-devel -Summary: Header files for boost::filesystem -Summary(pl.UTF-8): Pliki nagłówkowe dla boost::filesystem -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} -Requires: %{name}-filesystem = %{version}-%{release} -#TODO: -#Requires: %{name}-smart_ptr = %{version}-%{release} +%package graph +Summary: General purpose, generic C++ library for graph data structures and graph algorithms +Summary(pl.UTF-8): Biblioteka ogólnego przeznaczenia w C++ dla struktur danych typu grafy oraz algorytmów związanych z grafami +Group: Libraries -%description filesystem-devel -Header files for boost::filesystem library. +%description graph +The boost::graph library provides portable facilities to operate on +graph data structures using graph algorithms. -%description filesystem-devel -l pl.UTF-8 -Pliki nagłówkowe dla biblioteki boost::filesystem. +%description graph -l pl.UTF-8 +Przenośna biblioteka boost::graph dostarcza ułatwienia w operacjach na +strukturach danych typu graf za pomocą algorytmów związanych z +grafami. -%package filesystem-static -Summary: Static boost::filesystem library -Summary(pl.UTF-8): Biblioteka statyczna boost::filesystem -Group: Development/Libraries -Requires: %{name}-filesystem-devel = %{version}-%{release} -Obsoletes: boost-static < 1.33 +%package locale +Summary: Provide localization and Unicode handling tools for C++ +Summary(pl.UTF-8): Narzędzia do obsługi lokalizacji i Unikodu w C++ +Group: Libraries -%description filesystem-static -Static boost::filesystem library. +%description locale +Provide localization and Unicode handling tools for C++. -%description filesystem-static -l pl.UTF-8 -Biblioteka statyczna boost::filesystem. +%description locale -l pl.UTF-8 +Narzędzia do obsługi lokalizacji i Unikodu w C++. + +%package log +Summary: Provide logging tools for C++ +Summary(pl.UTF-8): Narzędzia do logowania w C++ +Group: Libraries + +%description log +Provide logging tools for C++. + +%description log -l pl.UTF-8 +Narzędzia do logowania w C++. %package program_options Summary: Access to program options, via conventional methods such as command line and config file @@ -421,49 +348,16 @@ Biblioteka program_options umożliwia uzyskanie od użytkownika opcji programu, czyli par (nazwa, wartość), za pomocą typowych metod, takich jak linia poleceń, czy plik konfiguracyjny. -%package program_options-devel -Summary: Header files for boost::program_options -Summary(pl.UTF-8): Pliki nagłówkowe dla boost::program_options -Group: Development/Libraries -Requires: %{name}-any-devel = %{version}-%{release} -Requires: %{name}-bind-devel = %{version}-%{release} -Requires: %{name}-devel = %{version}-%{release} -Requires: %{name}-program_options = %{version}-%{release} - -%description program_options-devel -Header files for boost::program_options library. - -%description program_options-devel -l pl.UTF-8 -Pliki nagłówkowe dla biblioteki boost::program_options. - -%package program_options-static -Summary: Static boost::program_options library -Summary(pl.UTF-8): Biblioteka statyczna boost::program_options -Group: Development/Libraries -Requires: %{name}-program_options-devel = %{version}-%{release} -Obsoletes: boost-static < 1.33 - -%description program_options-static -Static boost::program_options library. - -%description program_options-static -l pl.UTF-8 -Biblioteka statyczna boost::program_options. - -%package ref-devel -Summary: Small library useful for passing references to function templates -Summary(pl.UTF-8): Mała biblioteka użyteczna przy przekazywaniu referencji do wzorców funkcji -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} +%package regex +Summary: Boost C++ regular expressions library +Summary(pl.UTF-8): Biblioteka wyrażeń regularnych Boost C++ +Group: Libraries -%description ref-devel -boost::ref library is a small library that is useful for passing -references to function templates (algorithms) that would usually take -copies of their arguments. +%description regex +Shared library for Boost C++ regular expressions. -%description ref-devel -l pl.UTF-8 -Biblioteka boost::ref jest małą biblioteką która jest użyteczna w -przypadku przekazywania referencji do wzorców funkcji (algorytmów) -które zazwyczaj biorą kopię swoich argumentów. +%description regex -l pl.UTF-8 +Biblioteka współdzielona do obsługi wyrażeń regularnych w C++. %package signals Summary: Signals & slots callback implementation @@ -479,60 +373,24 @@ system. Biblioteka boost::signals jest implementacją systemu sygnałów i slotów. -%package signals-devel -Summary: Header files for boost::signals library -Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki boost::signals -Group: Development/Libraries -Requires: %{name}-any-devel = %{version}-%{release} -Requires: %{name}-devel = %{version}-%{release} -Requires: %{name}-signals = %{version}-%{release} -#TODO: separate smart_ptr or include to the main devel package -Requires: %{name}-bind-devel = %{version}-%{release} -#Requires: %{name}-iterator_adaptors-devel = %{version}-%{release} -#Requires: %{name}-operators-devel = %{version}-%{release} -Requires: %{name}-ref-devel = %{version}-%{release} -#Requires: %{name}-smart_ptr-devel = %{version}-%{release} - -%description signals-devel -Header files for boost::signals library. - -%description signals-devel -l pl.UTF-8 -Pliki nagłówkowe dla biblioteki boost::signals. - -%package signals-static -Summary: Static library for boost::signals -Summary(pl.UTF-8): Biblioteka statyczna dla boost::signals -Group: Development/Libraries -Requires: %{name}-signals-devel = %{version}-%{release} - -%description signals-static -Static library for boost::signals. +%package system +Summary: Support for getting system specific error codes +Summary(pl.UTF-8): Wsparcie dla pobierania specyficznych dla systemu kodów błędów +Group: Libraries -%description signals-static -l pl.UTF-8 -Biblioteka statyczna dla boost::signals. +%description system +The Boost System library provides simple, light-weight error_code +objects that encapsulate system-specific error code values, yet also +provide access to more abstract and portable error conditions objects. -%package spirit-devel -Summary: LL parser framework -Summary(pl.UTF-8): Szkielet parsera LL -Group: Development/Libraries -Requires: %{name}-compressed_pair-devel = %{version}-%{release} -Requires: %{name}-ref-devel = %{version}-%{release} -Requires: %{name}-regex-devel = %{version}-%{release} -Requires: %{name}-thread-devel = %{version}-%{release} -#TODO: -#?Requires: %{name}-iterators-devel = %{version}-%{release} -#?Requires: %{name}-smart_ptr-devel = %{version}-%{release} - -%description spirit-devel -LL parser framework represents parsers directly as EBNF grammars in -inlined C++. - -%description spirit-devel -l pl.UTF-8 -Szkielet parsera LL reprezentujący parsery jako gramatyki EBNF -bezpośrednio w kodzie C++. +%description system -l pl.UTF-8 +Biblioteka Boost System udostępnia proste, lekkie obiekty error_code +obudowujące wartości kodów błędów specyficznych dla systemu, dając +jednocześnie dostęp do bardziej abstrakcyjnych i przenośnych obiektów +błędów. %package test -Summary: Support for program testing and execution monitoring +Summary: Support for program testing and execution monitoring Summary(pl.UTF-8): Wsparcie dla testowania i monitorowania programu Group: Libraries Obsoletes: boost < 1.33 @@ -545,36 +403,6 @@ execution monitoring. Wsparcie dla prostego testowania programu, pełnego testowania i monitorowania wykonania programu. -%package test-devel -Summary: Header files for boost::test -Summary(pl.UTF-8): Pliki nagłówkowe dla boost::test -Group: Development/Libraries -Requires: %{name}-call_traits-devel = %{version}-%{release} -Requires: %{name}-devel = %{version}-%{release} -Requires: %{name}-test = %{version}-%{release} -#TODO: -#?Requires?: %{name}-function-devel = %{version}-%{release} -#Requires: %{name}-smart_ptr = %{version}-%{release} - -%description test-devel -Header files for boost::test. - -%description test-devel -l pl.UTF-8 -Pliki nagłówkowe dla boost::test. - -%package test-static -Summary: Static boost::test libraries -Summary(pl.UTF-8): Biblioteki statyczne boost::test -Group: Development/Libraries -Requires: %{name}-test-devel = %{version}-%{release} -Obsoletes: boost-static < 1.33 - -%description test-static -Static boost::test libraries. - -%description test-static -l pl.UTF-8 -Biblioteki statyczne boost::test. - %package thread Summary: Portable C++ threads library Summary(pl.UTF-8): Przenośna biblioteka wątków C++ @@ -587,66 +415,36 @@ Portable C++ threads library - shared library. %description thread -l pl.UTF-8 Przenośna biblioteka wątków dla C++ - biblioteka dzielona. -%package thread-devel -Summary: Header files for boost::thread library -Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki boost::thread -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} -Requires: %{name}-thread = %{version}-%{release} -#TODO:requires boost::function or boost::function to boost-devel - -%description thread-devel -Header files for boost::thread library. - -%description thread-devel -l pl.UTF-8 -Pliki nagłówkowe dla biblioteki boost::thread. - -%package thread-static -Summary: Portable C++ threads library - static version -Summary(pl.UTF-8): Przenośna biblioteka wątków C++ - wersja statyczna +%package timer +Summary: Event timer, progress timer, and progress display classes +Summary(pl.UTF-8): Klasy do obsługi pomiarów czasu, postępu i wyświetlania postępu Group: Libraries -Requires: %{name}-thread-devel = %{version}-%{release} Obsoletes: boost < 1.33 -%description thread-static -Portable C++ threads library - static library. +%description timer +Event timer, progress timer, and progress display classes. -%description thread-static -l pl.UTF-8 -Przenośna biblioteka wątków dla C++ - biblioteka statyczna. - -%package uBLAS-devel -Summary: Basic linear algebra for dense, packed and sparse matrices -Summary(pl.UTF-8): Prosta liniowa algebra dla gęstych, upakowanych i rzadkich macierzy -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} +%description timer -l pl.UTF-8 +Klasy do obsługi pomiarów czasu, postępu i wyświetlania postępu. -%description uBLAS-devel -uBLAS library provides templated C++ classes for dense, unit and -sparse vectors, dense, identity, triangular, banded, symmetric, -hermitian and sparse matrices. - -%description uBLAS-devel -l pl.UTF-8 -Biblioteka uBLAS dostarcza wzorce klas C++ dla gęstych, jednostkowych -i rzadkich wektorów oraz gęstych, jednostkowych, trójkątnych, -diagonalnych, symetrycznych, hermitowskich i rzadkich macierzy. - -%package wave-devel +%package wave Summary: Boost.Wave - a standard compliant C++ preprocessor library Summary(pl.UTF-8): Boost.Wave - zgodna ze standardem biblioteka preprocesora C++ Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} -%description wave-devel +%description wave Boost.Wave - a standard compliant C++ preprocessor library. -%description wave-devel -l pl.UTF-8 +%description wave -l pl.UTF-8 Boost.Wave - zgodna ze standardem biblioteka preprocesora C++. %package doc Summary: Boost C++ Library documentation Summary(pl.UTF-8): Dokumentacja dla biblioteki Boost C++ Group: Documentation -Requires: %{name}-devel = %{version}-%{release} +%if "%{_rpmversion}" >= "5" +BuildArch: noarch +%endif %description doc Documentation for the Boost C++ Library. @@ -655,37 +453,60 @@ Documentation for the Boost C++ Library. Dokumentacja dla biblioteki Boost C++. %prep -%setup -q -n %{name}_%{_fver} +%setup -q -n %{name}_%{fver} %patch0 -p1 %patch1 -p1 +%patch2 -p1 -# don't know how to pass it through (b)jam -s (no way?) -# due to oversophisticated build flags system -%{__perl} -pi -e 's/ -O3 / %{rpmcxxflags} /' tools/build/v1/gcc-tools.jam +%patch203 -p0 +%patch221 -p1 -%ifarch alpha -# -pthread gcc parameter doesn't add _REENTRANT to cpp macros on alpha (only) -# don't know, is it gcc bug or intentional omission? -# anyway, boost check of -D_REENTRANT in its headers, so it's needed here -%{__perl} -pi -e 's/(CFLAGS.*-pthread)/$1 -D_REENTRANT/' tools/build/v1/gcc-tools.jam -%endif +cat << EOF > tools/build/src/user-config.jam +using gcc : %{cxx_version} : %{__cxx} : "%{rpmcflags} -fPIC" "%{rpmcxxflags} -fPIC" "%{rpmldflags}" ; +EOF + +# cleanup backups after patching +find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f %build -%if %{with python} -PYTHON_VERSION=$(%{__python} -c 'import sys; print sys.version[0:3]') -PYTHON_ROOT=%{_prefix} -%else -PYTHON_ROOT= -PYTHON_VERSION= +EXPAT_INCLUDE=%{_includedir} \ +EXPAT_LIBPATH=%{_libdir} \ +ICU_PATH=%{_prefix} \ +./bootstrap.sh \ + --prefix=%{_prefix} \ + -without-libraries=python + +./b2 \ + -d2 --toolset=gcc \ + variant=release \ + debug-symbols=on \ + inlining=on \ + link=static,shared \ + threading=multi + +%if %{with python3} +echo "using python : %{py3_ver}m : %{py3_prefix} : %{py3_incdir} ;" >> project-config.jam +./b2 \ + --with-python python=%{py3_ver}m \ + -a -d2 --toolset=gcc \ + variant=release \ + debug-symbols=on \ + inlining=on \ + link=static,shared \ + threading=multi +%endif + +%if %{with python2} +echo "using python : %{py_ver} : %{py_prefix} : %{py_incdir} ;" >> project-config.jam +./b2 \ + --with-python python=%{py_ver} \ + -a -d2 --toolset=gcc \ + variant=release \ + debug-symbols=on \ + inlining=on \ + link=static,shared \ + threading=multi %endif -bjam \ - -d2 \ - -sGXX="%{__cxx}" \ - -sGCC="%{__cc}" \ - -sHAVE_ICU=1 -sICU_PATH=/usr \ - -sBUILD="release multi true on" \ - -sPYTHON_ROOT=$PYTHON_ROOT \ - -sPYTHON_VERSION=$PYTHON_VERSION %install rm -rf $RPM_BUILD_ROOT @@ -693,30 +514,12 @@ install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}} cp -rf boost $RPM_BUILD_ROOT%{_includedir} -install bin/boost/libs/*/build/*.a/*/release/inlining-on/shared-linkable-true/*/lib*.a $RPM_BUILD_ROOT%{_libdir} -install bin/boost/libs/*/build/*.so/*/release/inlining-on/shared-linkable-true/*/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir} -# use cp -d, install follows symlinks instead of preserving them! -cp -df bin/boost/libs/*/build/*.so/*/release/inlining-on/shared-linkable-true/*/lib*.so $RPM_BUILD_ROOT%{_libdir} - -# create symlinks without -gcc-mt-* things in names -for f in $RPM_BUILD_ROOT%{_libdir}/*.so.*; do - [ -f "$f" ] || continue - f=$(basename "$f") - soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.so#g') - - ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}" -done -for f in $RPM_BUILD_ROOT%{_libdir}/*.a; do - [ -f "$f" ] || continue - f=$(basename "$f") - soname=$(basename "$f" | sed -e 's#-gcc-mt-.*#.a#g') - - ln -s "$f" "$RPM_BUILD_ROOT%{_libdir}/${soname}" -done +install -p stage/lib/lib*.a $RPM_BUILD_ROOT%{_libdir} +install -p stage/lib/lib*.so.*.*.* $RPM_BUILD_ROOT%{_libdir} +cp -a stage/lib/lib*.so $RPM_BUILD_ROOT%{_libdir} # documentation install -d $RPM_BUILD_ROOT%{_docdir}/boost-%{version} -install README $RPM_BUILD_ROOT%{_docdir}/boost-%{version} # as the documentation doesn't completely reside in a directory of its # own, we need to find out ourselves... this looks for HTML files and @@ -768,359 +571,225 @@ rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%post chrono -p /sbin/ldconfig +%postun chrono -p /sbin/ldconfig + +%post context -p /sbin/ldconfig +%postun context -p /sbin/ldconfig + %post date_time -p /sbin/ldconfig %postun date_time -p /sbin/ldconfig %post filesystem -p /sbin/ldconfig %postun filesystem -p /sbin/ldconfig -%post python -p /sbin/ldconfig -%postun python -p /sbin/ldconfig +%post graph -p /sbin/ldconfig +%postun graph -p /sbin/ldconfig + +%post locale -p /sbin/ldconfig +%postun locale -p /sbin/ldconfig + +%post python -p /sbin/ldconfig +%postun python -p /sbin/ldconfig + +%post python3 -p /sbin/ldconfig +%postun python3 -p /sbin/ldconfig -%post program_options -p /sbin/ldconfig -%postun program_options -p /sbin/ldconfig +%post program_options -p /sbin/ldconfig +%postun program_options -p /sbin/ldconfig -%post regex -p /sbin/ldconfig -%postun regex -p /sbin/ldconfig +%post regex -p /sbin/ldconfig +%postun regex -p /sbin/ldconfig -%post signals -p /sbin/ldconfig -%postun signals -p /sbin/ldconfig +%post signals -p /sbin/ldconfig +%postun signals -p /sbin/ldconfig -%post test -p /sbin/ldconfig -%postun test -p /sbin/ldconfig +%post system -p /sbin/ldconfig +%postun system -p /sbin/ldconfig -%post thread -p /sbin/ldconfig -%postun thread -p /sbin/ldconfig +%post test -p /sbin/ldconfig +%postun test -p /sbin/ldconfig + +%post thread -p /sbin/ldconfig +%postun thread -p /sbin/ldconfig + +%post timer -p /sbin/ldconfig +%postun timer -p /sbin/ldconfig + +%post wave -p /sbin/ldconfig +%postun wave -p /sbin/ldconfig %files %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_iostreams*.so.*.*.* -%attr(755,root,root) %{_libdir}/libboost_serialization*.so.*.*.* -%attr(755,root,root) %{_libdir}/libboost_wserialization*.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_atomic.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_container.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_coroutine.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_iostreams.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_math_*.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_random.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_serialization.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_type_erasure.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_wserialization.so.*.*.* %files devel %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_iostreams*.so -%attr(755,root,root) %{_libdir}/libboost_serialization*.so -%attr(755,root,root) %{_libdir}/libboost_wserialization*.so -%dir %{_includedir}/boost -%{_includedir}/boost/algorithm -%{_includedir}/boost/archive -%{_includedir}/boost/assert.hpp -%{_includedir}/boost/assign -%{_includedir}/boost/assign.hpp -%{_includedir}/boost/blank_fwd.hpp -%{_includedir}/boost/cast.hpp -%{_includedir}/boost/checked_delete.hpp -%{_includedir}/boost/concept_archetype.hpp -%{_includedir}/boost/concept_check.hpp -%{_includedir}/boost/config -%{_includedir}/boost/config.hpp -%{_includedir}/boost/cstd*.hpp -%{_includedir}/boost/current_function.hpp -%dir %{_includedir}/boost/detail -%{_includedir}/boost/detail/algorithm.hpp -%{_includedir}/boost/detail/allocator_utilities.hpp -%{_includedir}/boost/detail/atomic_count*.hpp -%{_includedir}/boost/detail/bad_weak_ptr.hpp -%{_includedir}/boost/detail/binary_search.hpp -%{_includedir}/boost/detail/catch_exceptions.hpp -%{_includedir}/boost/detail/dynamic_bitset.hpp -%{_includedir}/boost/detail/endian.hpp -%{_includedir}/boost/detail/indirect_traits.hpp -%{_includedir}/boost/detail/interlocked.hpp -%{_includedir}/boost/detail/is_function_ref_tester.hpp -%{_includedir}/boost/detail/is_incrementable.hpp -%{_includedir}/boost/detail/is_xxx.hpp -%{_includedir}/boost/detail/iterator.hpp -%{_includedir}/boost/detail/lightweight_*.hpp -%{_includedir}/boost/detail/limits.hpp -%{_includedir}/boost/detail/lwm_*.hpp -%{_includedir}/boost/detail/named_template_params.hpp -%{_includedir}/boost/detail/no_exceptions_support.hpp -%{_includedir}/boost/detail/numeric_traits.hpp -%{_includedir}/boost/detail/quick_allocator.hpp -%{_includedir}/boost/detail/reference_content.hpp -%{_includedir}/boost/detail/select_type.hpp -%{_includedir}/boost/detail/shared_*.hpp -%{_includedir}/boost/detail/sp_counted_*.hpp -%{_includedir}/boost/detail/utf8_codecvt_facet.hpp -%{_includedir}/boost/detail/workaround.hpp -%{_includedir}/boost/dynamic_bitset -%{_includedir}/boost/dynamic_bitset.hpp -%{_includedir}/boost/dynamic_bitset_fwd.hpp -%{_includedir}/boost/dynamic_property_map.hpp -%{_includedir}/boost/enable_shared_from_this.hpp -%{_includedir}/boost/format -%{_includedir}/boost/format.hpp -%{_includedir}/boost/function -%{_includedir}/boost/function.hpp -%{_includedir}/boost/function_equal.hpp -%{_includedir}/boost/function_output_iterator.hpp -%{_includedir}/boost/functional -%{_includedir}/boost/functional.hpp -%{_includedir}/boost/generator_iterator.hpp -%{_includedir}/boost/graph -%{_includedir}/boost/implicit_cast.hpp -%{_includedir}/boost/indirect_reference.hpp -%{_includedir}/boost/integer -%{_includedir}/boost/integer*.hpp -%{_includedir}/boost/intrusive_ptr.hpp -%{_includedir}/boost/io -%{_includedir}/boost/iostreams -%{_includedir}/boost/io_fwd.hpp -%{_includedir}/boost/iterator*.hpp -%{_includedir}/boost/iterator -%{_includedir}/boost/lambda -%{_includedir}/boost/lexical_cast.hpp -%{_includedir}/boost/limits.hpp -%{_includedir}/boost/logic -%{_includedir}/boost/math -%{_includedir}/boost/math_fwd.hpp -%{_includedir}/boost/mpl -%{_includedir}/boost/multi_array -%{_includedir}/boost/multi_array.hpp -%{_includedir}/boost/multi_index -%{_includedir}/boost/multi_index_container.hpp -%{_includedir}/boost/multi_index_container_fwd.hpp -%{_includedir}/boost/next_prior.hpp -%{_includedir}/boost/noncopyable.hpp -%{_includedir}/boost/nondet_random.hpp -%{_includedir}/boost/none.hpp -%{_includedir}/boost/none_t.hpp -%{_includedir}/boost/non_type.hpp -%dir %{_includedir}/boost/numeric -%{_includedir}/boost/numeric/interval* -%{_includedir}/boost/numeric/conversion -%{_includedir}/boost/operators.hpp -%{_includedir}/boost/optional -%{_includedir}/boost/optional.hpp -%{_includedir}/boost/parameter -%{_includedir}/boost/parameter.hpp -%{_includedir}/boost/pending -%{_includedir}/boost/pfto.hpp -%{_includedir}/boost/pool -%{_includedir}/boost/pointee.hpp -%{_includedir}/boost/preprocessor -%{_includedir}/boost/preprocessor.hpp -%{_includedir}/boost/progress.hpp -%{_includedir}/boost/property_map*.hpp -%{_includedir}/boost/ptr_container -%{_includedir}/boost/random -%{_includedir}/boost/random.hpp -%{_includedir}/boost/range -%{_includedir}/boost/range.hpp -%{_includedir}/boost/rational.hpp -%{_includedir}/boost/scoped_*.hpp -%{_includedir}/boost/serialization -%{_includedir}/boost/shared_*.hpp -%{_includedir}/boost/smart_cast.hpp -%{_includedir}/boost/smart_ptr.hpp -%{_includedir}/boost/state_saver.hpp -%{_includedir}/boost/static_assert.hpp -%{_includedir}/boost/static_warning.hpp -%{_includedir}/boost/strong_typedef.hpp -%{_includedir}/boost/throw_exception.hpp -%{_includedir}/boost/timer.hpp -%{_includedir}/boost/token*.hpp -%{_includedir}/boost/tuple -%{_includedir}/boost/type.hpp -%{_includedir}/boost/type_traits.hpp -%{_includedir}/boost/type_traits -%{_includedir}/boost/utility*.hpp -%{_includedir}/boost/utility -%{_includedir}/boost/version.hpp -%{_includedir}/boost/vector_property_map.hpp -%{_includedir}/boost/weak_ptr.hpp -#boost::variant -%{_includedir}/boost/variant.hpp -%{_includedir}/boost/variant -%{_includedir}/boost/blank.hpp -%{_includedir}/boost/detail/templated_streams.hpp -#boost::optional -%{_includedir}/boost/aligned_storage.hpp -%{_includedir}/boost/detail/none_t.hpp +%attr(755,root,root) %{_libdir}/libboost_atomic.so +%attr(755,root,root) %{_libdir}/libboost_chrono.so +%attr(755,root,root) %{_libdir}/libboost_container.so +%attr(755,root,root) %{_libdir}/libboost_context.so +%attr(755,root,root) %{_libdir}/libboost_coroutine.so +%attr(755,root,root) %{_libdir}/libboost_date_time.so +%attr(755,root,root) %{_libdir}/libboost_filesystem.so +%attr(755,root,root) %{_libdir}/libboost_graph.so +%attr(755,root,root) %{_libdir}/libboost_iostreams.so +%attr(755,root,root) %{_libdir}/libboost_locale.so +%attr(755,root,root) %{_libdir}/libboost_log.so +%attr(755,root,root) %{_libdir}/libboost_log_setup.so +%attr(755,root,root) %{_libdir}/libboost_math_*.so +%attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor.so +%attr(755,root,root) %{_libdir}/libboost_program_options.so +%attr(755,root,root) %{_libdir}/libboost_regex.so +%attr(755,root,root) %{_libdir}/libboost_random.so +%attr(755,root,root) %{_libdir}/libboost_serialization.so +%attr(755,root,root) %{_libdir}/libboost_signals.so +%attr(755,root,root) %{_libdir}/libboost_system.so +%attr(755,root,root) %{_libdir}/libboost_thread.so +%attr(755,root,root) %{_libdir}/libboost_timer.so +%attr(755,root,root) %{_libdir}/libboost_type_erasure.so +%attr(755,root,root) %{_libdir}/libboost_unit_test_framework.so +%attr(755,root,root) %{_libdir}/libboost_wave.so +%attr(755,root,root) %{_libdir}/libboost_wserialization.so +%{_includedir}/boost +%exclude %{_includedir}/boost/python +%exclude %{_includedir}/boost/python.hpp %files static %defattr(644,root,root,755) -%{_libdir}/libboost_iostreams*.a -%{_libdir}/libboost_serialization*.a -%{_libdir}/libboost_wserialization*.a - -%if %{with python} -%files python +%{_libdir}/libboost_atomic.a +%{_libdir}/libboost_chrono.a +%{_libdir}/libboost_container.a +%{_libdir}/libboost_context.a +%{_libdir}/libboost_coroutine.a +%{_libdir}/libboost_date_time.a +%{_libdir}/libboost_exception.a +%{_libdir}/libboost_filesystem.a +%{_libdir}/libboost_graph.a +%{_libdir}/libboost_iostreams.a +%{_libdir}/libboost_locale.a +%{_libdir}/libboost_log.a +%{_libdir}/libboost_log_setup.a +%{_libdir}/libboost_math_*.a +%{_libdir}/libboost_prg_exec_monitor.a +%{_libdir}/libboost_program_options.a +%{_libdir}/libboost_random.a +%{_libdir}/libboost_regex.a +%{_libdir}/libboost_serialization.a +%{_libdir}/libboost_signals.a +%{_libdir}/libboost_system.a +%{_libdir}/libboost_test_exec_monitor.a +%{_libdir}/libboost_timer.a +%{_libdir}/libboost_thread.a +%{_libdir}/libboost_type_erasure.a +%{_libdir}/libboost_unit_test_framework.a +%{_libdir}/libboost_wave.a +%{_libdir}/libboost_wserialization.a + +%if %{with python2} || %{with python3} +%files python-devel-common %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_python*.so.*.*.* - -%files python-devel -%defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_python*.so %{_includedir}/boost/python %{_includedir}/boost/python.hpp - -%files python-static -%defattr(644,root,root,755) -%{_libdir}/libboost_python*.a %endif -%files regex -%defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_regex*.so.*.*.* - -%files regex-devel -%defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_regex*.so -%{_includedir}/boost/cregex.hpp -%{_includedir}/boost/regex.h -%{_includedir}/boost/regex*.hpp -%{_includedir}/boost/regex - -%files regex-static +%if %{with python2} +%files python %defattr(644,root,root,755) -%{_libdir}/libboost_regex*.a +%attr(755,root,root) %{_libdir}/libboost_python.so.*.*.* -%files any-devel +%files python-devel %defattr(644,root,root,755) -%{_includedir}/boost/any.hpp +%attr(755,root,root) %{_libdir}/libboost_python.so -%files array-devel +%files python-static %defattr(644,root,root,755) -%{_includedir}/boost/array.hpp +%{_libdir}/libboost_python.a +%endif -%files bind-devel +%if %{with python3} +%files python3 %defattr(644,root,root,755) -%{_includedir}/boost/bind -%{_includedir}/boost/bind.hpp -%{_includedir}/boost/get_pointer.hpp -%{_includedir}/boost/mem_fn.hpp +%attr(755,root,root) %{_libdir}/libboost_python3.so.*.*.* -%files call_traits-devel +%files python3-devel %defattr(644,root,root,755) -%{_includedir}/boost/call_traits.hpp -%{_includedir}/boost/detail/call_traits.hpp -%{_includedir}/boost/detail/ob_call_traits.hpp +%attr(755,root,root) %{_libdir}/libboost_python3.so -%files compatibility-devel +%files python3-static %defattr(644,root,root,755) -%{_includedir}/boost/compatibility +%{_libdir}/libboost_python3.a +%endif -%files compressed_pair-devel +%files chrono %defattr(644,root,root,755) -%{_includedir}/boost/compressed_pair.hpp -%{_includedir}/boost/detail/compressed_pair.hpp -%{_includedir}/boost/detail/ob_compressed_pair.hpp +%attr(755,root,root) %{_libdir}/libboost_chrono.so.*.*.* -%files crc-devel +%files context %defattr(644,root,root,755) -%{_includedir}/boost/crc.hpp +%attr(755,root,root) %{_libdir}/libboost_context.so.*.*.* %files date_time %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_date_time*.so.*.*.* - -%files date_time-devel -%defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_date_time*.so -%{_includedir}/boost/date_time - -%files date_time-static -%defattr(644,root,root,755) -%{_libdir}/libboost_date_time*.a +%attr(755,root,root) %{_libdir}/libboost_date_time.so.*.*.* %files filesystem %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_filesystem*.so.*.*.* - -%files filesystem-devel -%defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_filesystem*.so -%{_includedir}/boost/filesystem +%attr(755,root,root) %{_libdir}/libboost_filesystem.so.*.*.* -%files filesystem-static +%files graph %defattr(644,root,root,755) -%{_libdir}/libboost_filesystem*.a +%attr(755,root,root) %{_libdir}/libboost_graph.so.*.*.* -%files program_options +%files locale %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_program_options*.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_locale.so.*.*.* -%files program_options-devel +%files log %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_program_options*.so -%{_includedir}/boost/program_options -%{_includedir}/boost/program_options.hpp +%attr(755,root,root) %{_libdir}/libboost_log.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_log_setup.so.*.*.* -%files program_options-static +%files program_options %defattr(644,root,root,755) -%{_libdir}/libboost_program_options*.a +%attr(755,root,root) %{_libdir}/libboost_program_options.so.*.*.* -%files ref-devel +%files regex %defattr(644,root,root,755) -%{_includedir}/boost/ref.hpp +%attr(755,root,root) %{_libdir}/libboost_regex.so.*.*.* %files signals %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_signals*.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_signals.so.*.*.* -%files signals-devel +%files system %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_signals*.so -%{_includedir}/boost/signal*.hpp -%{_includedir}/boost/signals -%{_includedir}/boost/last_value.hpp -%{_includedir}/boost/visit_each.hpp - -%files signals-static -%defattr(644,root,root,755) -%{_libdir}/libboost_signals*.a - -%files spirit-devel -%defattr(644,root,root,755) -%{_includedir}/boost/spirit.hpp -%{_includedir}/boost/spirit +%attr(755,root,root) %{_libdir}/libboost_system.so.*.*.* %files test %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so.*.*.* -%attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so.*.*.* -%attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so.*.*.* - -%files test-devel -%defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor*.so -%attr(755,root,root) %{_libdir}/libboost_test_exec_monitor*.so -%attr(755,root,root) %{_libdir}/libboost_unit_test_framework*.so -%{_includedir}/boost/test - -%files test-static -%defattr(644,root,root,755) -%{_libdir}/libboost_prg_exec_monitor*.a -%{_libdir}/libboost_test_exec_monitor*.a -%{_libdir}/libboost_unit_test_framework*.a +%attr(755,root,root) %{_libdir}/libboost_prg_exec_monitor.so.*.*.* +%attr(755,root,root) %{_libdir}/libboost_unit_test_framework.so.*.*.* %files thread %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_thread*.so.*.*.* - -%files thread-devel -%defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_thread*.so -%{_includedir}/boost/thread -%{_includedir}/boost/thread.hpp - -%files thread-static -%defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libboost_thread*.a +%attr(755,root,root) %{_libdir}/libboost_thread.so.*.*.* -%files uBLAS-devel +%files timer %defattr(644,root,root,755) -%{_includedir}/boost/numeric/ublas +%attr(755,root,root) %{_libdir}/libboost_timer.so.*.*.* -%files wave-devel +%files wave %defattr(644,root,root,755) -%{_libdir}/libboost_wave*.a -%{_includedir}/boost/wave -%{_includedir}/boost/wave.hpp +%attr(755,root,root) %{_libdir}/libboost_wave.so.*.*.* %files doc %defattr(644,root,root,755)