Browse Source

libboost-1.60.0-3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10630 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 7 years ago
parent
commit
21a0c6db12
1 changed files with 376 additions and 9 deletions
  1. 376 9
      lib/libb/libboost/libboost-vl.spec

+ 376 - 9
lib/libb/libboost/libboost-vl.spec

@@ -1,3 +1,5 @@
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+
 # Support for documentation installation As the %%doc macro erases the
 # target directory ($RPM_BUILD_ROOT%%{_docdir}/%%{name}), manually
 # installed documentation must be saved into a temporary dedicated
@@ -33,7 +35,7 @@ Summary: Portable C++ source libraries
 Summary(ja): ポータブルな C++ ソースライブラリ
 Name: libboost
 Version: %{major}.%{minor}.%{teeny}
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 Source0: http://downloads.sourceforge.net/%{tarname}/%{tarname}_%{pkgver}.tar.bz2
 Source1: ver.py
 Source2: libboost_thread.so
@@ -178,14 +180,6 @@ Requires: %{name} = %{version}-%{release}
 %description date-time
 Set of data-time libralies in %{name}
 
-%package devel
-Summary: Header files and libraries for developing apps which will use %{name}
-Summary(ja): %{name}の開発に必要なヘッダファイル及びライブラリ
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-Requires: libicu-devel
-Requires: libquadmath-devel
-
 %package filesystem
 Summary: Set of filesystem operation libralies in %{name}
 Group: System Environment/Libraries
@@ -370,6 +364,14 @@ Requires: %{name} = %{version}-%{release}
 %description wave
 Set of wave libraries in %{name}
 
+%package devel
+Summary: Header files and libraries for developing apps which will use %{name}
+Summary(ja): %{name}の開発に必要なヘッダファイル及びライブラリ
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libicu-devel
+Requires: libquadmath-devel
+
 %description devel
 The %{name}-devel package contains the header files and libraries needed
 to develop programs that use the Boost library.
@@ -511,6 +513,239 @@ back-end to do the parallel work.
 
 %endif
 
+#### compat32 packages ####
+
+%package -n compat32-%{name}-atomic
+Summary: Run-Time component of boost atomic library
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-atomic
+
+Run-Time support for Boost.Atomic, a library that provides atomic data
+types and operations on these data types, as well as memory ordering
+constraints required for coordinating multiple threads through atomic
+variables.
+
+%package -n compat32-%{name}-chrono
+Summary: Run-Time component of boost chrono library
+Group: System Environment/Libraries
+Requires: compat32-%{name}-system = %{version}-%{release}
+
+%description -n compat32-%{name}-chrono
+
+Run-Time support for Boost.Chrono, a set of useful time utilities.
+
+%package -n compat32-%{name}-container
+Summary: Run-Time component of boost container library
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-container
+
+Boost.Container library implements several well-known containers,
+including STL containers. The aim of the library is to offers advanced
+features not present in standard containers or to offer the latest
+standard draft features for compilers that comply with C++03.
+
+%if %{with context}
+%package -n compat32-%{name}-context
+Summary: Run-Time component of boost context switching library
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-context
+
+Run-Time support for Boost.Context, a foundational library that
+provides a sort of cooperative multitasking on a single thread.
+
+%package -n compat32-%{name}-coroutine
+Summary: Run-Time component of boost coroutine library
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-coroutine
+Run-Time support for Boost.Coroutine, a library that provides
+generalized subroutines which allow multiple entry points for
+suspending and resuming execution.
+
+%endif
+
+%package -n compat32-%{name}-date-time
+Summary: Set of data-time libralies in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-date-time
+Set of data-time libralies in %{name}
+
+%package -n compat32-%{name}-filesystem
+Summary: Set of filesystem operation libralies in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-filesystem
+Set of filesystem operation libralies in %{name}
+
+%if 0
+%package -n compat32-%{name}-graph
+Summary: Set of Graphviz libralies in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-graph
+Set of Graphviz libralies in %{name}
+%endif
+
+%package -n compat32-%{name}-iostreams
+Summary: Set of streams and i/o filters libralies in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-iostreams
+Set of streams and i/o filters libralies in %{name}
+
+%if 0
+%package -n compat32-%{name}-locale
+Summary: Run-Time component of boost locale library
+Group: System Environment/Libraries
+Requires: compat32-%{name}-chrono = %{version}-%{release}
+Requires: compat32-%{name}-system = %{version}-%{release}
+Requires: compat32-%{name}-thread = %{version}-%{release}
+
+%description -n compat32-%{name}-locale
+
+Run-Time support for Boost.Locale, a set of localization and Unicode
+handling tools.
+%endif
+
+%if 0
+%package -n compat32-%{name}-log
+Summary: Run-Time component of boost logging library
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-log
+
+Boost.Log library aims to make logging significantly easier for the
+application developer.  It provides a wide range of out-of-the-box
+tools along with public interfaces for extending the library.
+%endif
+
+%package -n compat32-%{name}-math
+Summary: Set of math libralies in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-math
+Set of math libralies in %{name}
+
+%package -n compat32-%{name}-program-options
+Summary: Set of program options libralies in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-program-options
+Set of program options libralies in %{name}
+
+%if 0
+%package -n compat32-%{name}-python
+Summary: Set of Python libralies in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-python
+Set of Python libralies in %{name}
+%endif
+
+%if 0
+%if %{with python3}
+
+%package -n compat32-%{name}-python3
+Summary: Run-Time component of boost python library for Python 3
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-python3
+
+The Boost Python Library is a framework for interfacing Python and
+C++. It allows you to quickly and seamlessly expose C++ classes,
+functions and objects to Python, and vice versa, using no special
+tools -- just your C++ compiler.  This package contains run-time
+support for Boost Python Library compiled for Python 3.
+
+%endif
+%endif
+
+%package -n compat32-%{name}-random
+Summary: Set of random number generation libralies in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-random
+Set of random number generation libralies in %{name}
+
+%if 0
+%package -n compat32-%{name}-regex
+Summary: Set of regular expression libralies in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-regex
+Set of regular expression libralies in %{name}
+%endif
+
+%package -n compat32-%{name}-serialization
+Summary: Set of serialization libralies in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-serialization
+Set of serialization libralies in %{name}
+
+%package -n compat32-%{name}-signals
+Summary: Set of signals and slots libralies in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-signals
+Set of signals and slots libralies in %{name}
+
+%package -n compat32-%{name}-system
+Summary: Operating system support
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-system
+Operating system support, including the diagnostics support
+that will be part of the C++0x standard library
+
+%package -n compat32-%{name}-test
+Summary: Set of libraries for writing and executing tests in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-test
+Set of libraries for writing and executing tests in %{name}
+
+%package -n compat32-%{name}-thread
+Summary: Set of multi-thread libraries in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-thread
+Set of multi-thread libraries in %{name}
+
+%package -n compat32-%{name}-timer
+Summary: Run-Time component of boost timer library
+Group: System Environment/Libraries
+Requires: compat32-%{name}-chrono = %{version}-%{release}
+Requires: compat32-%{name}-system = %{version}-%{release}
+
+%description -n compat32-%{name}-timer
+
+"How long does my C++ code take to run?"
+The Boost Timer library answers that question and does so portably,
+with as little as one #include and one additional line of code.
+
+%package -n compat32-%{name}-type_erasure
+Summary: Run-Time component of boost type erasure library
+Group: System Environment/Libraries
+Requires: compat32-%{name}-chrono = %{version}-%{release}
+Requires: compat32-%{name}-system = %{version}-%{release}
+
+%description -n compat32-%{name}-type_erasure
+
+The Boost.TypeErasure library provides runtime polymorphism in C++
+that is more flexible than that provided by the core language.
+
+%package -n compat32-%{name}-wave
+Summary: Set of wave libraries in %{name}
+Group: System Environment/Libraries
+
+%description -n compat32-%{name}-wave
+Set of wave libraries in %{name}
+
 
 %prep
 %setup -q -n %{tarname}_%{pkgver}
@@ -1035,7 +1270,139 @@ rm -rf $RPM_BUILD_ROOT
 
 %endif
 
+
+%if %{build_compat32}
+
+%files -n compat32-%{name}-atomic
+%defattr(-, root, root, -)
+%doc LICENSE_1_0.txt
+%{_libdir}/libboost_atomic.so.*
+
+%files -n compat32-%{name}-chrono
+%defattr(-, root, root, -)
+%doc LICENSE_1_0.txt
+%{_libdir}/libboost_chrono.so.*
+
+%files -n compat32-%{name}-container
+%license LICENSE_1_0.txt
+%{_libdir}/libboost_container.so.*
+
+%if %{with context}
+%files -n compat32-%{name}-context
+%defattr(-, root, root, -)
+%doc LICENSE_1_0.txt
+%{_libdir}/libboost_context.so.*
+
+%files -n compat32-%{name}-coroutine
+%license LICENSE_1_0.txt
+%{_libdir}/libboost_coroutine.so.*
+%endif
+
+%files -n compat32-%{name}-date-time
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_date_time*.so.*
+
+%files -n compat32-%{name}-filesystem
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_filesystem*.so.*
+
+%if 0
+%files -n compat32-%{name}-graph
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_graph*.so.*
+%endif
+
+%files -n compat32-%{name}-iostreams
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_iostreams*.so.*
+
+%if 0
+%files -n compat32-%{name}-locale
+%defattr(-, root, root, -)
+%doc LICENSE_1_0.txt
+%{_libdir}/libboost_locale.so.*
+%endif
+
+%if 0
+%files -n compat32-%{name}-log
+%defattr(-, root, root, -)
+%doc LICENSE_1_0.txt
+%{_libdir}/libboost_log.so.*
+%{_libdir}/libboost_log_setup.so.*
+%endif
+
+%files -n compat32-%{name}-math
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_math_*.so.*
+
+%files -n compat32-%{name}-program-options
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_program_options*.so.*
+
+%if 0
+%files -n compat32-%{name}-python
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_python.so.*
+
+%if %{with python3}
+%files -n compat32-%{name}-python3
+%license LICENSE_1_0.txt
+%{_libdir}/libboost_python3.so.*
+%endif
+%endif
+
+%files -n compat32-%{name}-random
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_random*.so.*
+
+%if 0
+%files -n compat32-%{name}-regex
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_regex*.so.*
+%endif
+
+%files -n compat32-%{name}-serialization
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_serialization*.so.*
+%{_libdir}/%{name}_wserialization*.so.*
+
+%files -n compat32-%{name}-signals
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_signals*.so.*
+
+%files -n compat32-%{name}-system
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_system*.so.*
+
+%files -n compat32-%{name}-test
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_prg_exec_monitor*.so.*
+%{_libdir}/%{name}_unit_test_framework*.so.*
+
+%files -n compat32-%{name}-thread
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_thread*.so.*
+
+%files -n compat32-%{name}-timer
+%defattr(-, root, root, -)
+%doc LICENSE_1_0.txt
+%{_libdir}/libboost_timer.so.*
+
+%files -n compat32-%{name}-type_erasure
+%license LICENSE_1_0.txt
+%{_libdir}/libboost_type_erasure.so.*
+
+%files -n compat32-%{name}-wave
+%doc LICENSE_1_0.txt
+%{_libdir}/%{name}_wave*.so.*
+
+%endif
+
+
 %changelog
+* Sat Jul 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.60.0-3
+- added compat32-* packages.
+
 * Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.60.0-2
 - rebuild with python3-3.5.2