Rebase to 1.53.0 final, add two subpackages, purge module env
This commit is contained in:
parent
a84f7fd048
commit
ea81f69c26
62
boost.spec
62
boost.spec
@ -24,8 +24,8 @@
|
|||||||
Name: boost
|
Name: boost
|
||||||
Summary: The free peer-reviewed portable C++ source libraries
|
Summary: The free peer-reviewed portable C++ source libraries
|
||||||
Version: 1.53.0
|
Version: 1.53.0
|
||||||
%define version_enc 1_53_0_beta1
|
%define version_enc 1_53_0
|
||||||
Release: 0.1.beta1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: Boost and MIT and Python
|
License: Boost and MIT and Python
|
||||||
|
|
||||||
%define toplev_dirname %{name}_%{version_enc}
|
%define toplev_dirname %{name}_%{version_enc}
|
||||||
@ -43,7 +43,9 @@ Source2: libboost_thread-mt.so
|
|||||||
# components, except for MPI and Python 3 sub-packages. Those are
|
# components, except for MPI and Python 3 sub-packages. Those are
|
||||||
# special in that they are rarely necessary, and it's not a big burden
|
# special in that they are rarely necessary, and it's not a big burden
|
||||||
# to have interested parties install them explicitly.
|
# to have interested parties install them explicitly.
|
||||||
|
Requires: boost-atomic = %{version}-%{release}
|
||||||
Requires: boost-chrono = %{version}-%{release}
|
Requires: boost-chrono = %{version}-%{release}
|
||||||
|
Requires: boost-context = %{version}-%{release}
|
||||||
Requires: boost-date-time = %{version}-%{release}
|
Requires: boost-date-time = %{version}-%{release}
|
||||||
Requires: boost-filesystem = %{version}-%{release}
|
Requires: boost-filesystem = %{version}-%{release}
|
||||||
Requires: boost-graph = %{version}-%{release}
|
Requires: boost-graph = %{version}-%{release}
|
||||||
@ -112,6 +114,17 @@ libraries have already been included in the C++ 2011 standard and
|
|||||||
others have been proposed to the C++ Standards Committee for inclusion
|
others have been proposed to the C++ Standards Committee for inclusion
|
||||||
in future standards.)
|
in future standards.)
|
||||||
|
|
||||||
|
%package atomic
|
||||||
|
Summary: Run-Time component of boost atomic library
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
|
%description 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 chrono
|
%package chrono
|
||||||
Summary: Run-Time component of boost chrono library
|
Summary: Run-Time component of boost chrono library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -120,6 +133,15 @@ Group: System Environment/Libraries
|
|||||||
|
|
||||||
Run-Time support for Boost.Chrono, a set of useful time utilities.
|
Run-Time support for Boost.Chrono, a set of useful time utilities.
|
||||||
|
|
||||||
|
%package context
|
||||||
|
Summary: Run-Time component of boost context switching library
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
|
%description context
|
||||||
|
|
||||||
|
Run-Time support for Boost.Context, a foundational library that
|
||||||
|
provides a sort of cooperative multitasking on a single thread.
|
||||||
|
|
||||||
%package date-time
|
%package date-time
|
||||||
Summary: Run-Time component of boost date-time library
|
Summary: Run-Time component of boost date-time library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -520,7 +542,13 @@ echo ============================= build serial ==================
|
|||||||
python=%{python2_version} stage
|
python=%{python2_version} stage
|
||||||
|
|
||||||
# Build MPI parts of Boost with OpenMPI support
|
# Build MPI parts of Boost with OpenMPI support
|
||||||
#
|
|
||||||
|
%if %{with openmpi} || %{with mpich2}
|
||||||
|
# First, purge all modules so that user environment doesn't conflict
|
||||||
|
# with the build.
|
||||||
|
module purge ||:
|
||||||
|
%endif
|
||||||
|
|
||||||
# N.B. python=2.* here behaves differently: it exactly selects a
|
# N.B. python=2.* here behaves differently: it exactly selects a
|
||||||
# version that we want to build against. Boost MPI is not portable to
|
# version that we want to build against. Boost MPI is not portable to
|
||||||
# Python 3 due to API changes in Python, so this suits us.
|
# Python 3 due to API changes in Python, so this suits us.
|
||||||
@ -561,6 +589,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
cd %{_builddir}/%{toplev_dirname}
|
cd %{_builddir}/%{toplev_dirname}
|
||||||
|
|
||||||
|
%if %{with openmpi} || %{with mpich2}
|
||||||
|
module list
|
||||||
|
# First, purge all modules so that user environment doesn't conflict
|
||||||
|
# with the build.
|
||||||
|
module purge ||:
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with openmpi}
|
%if %{with openmpi}
|
||||||
%{_openmpi_load}
|
%{_openmpi_load}
|
||||||
echo ============================= install $MPI_COMPILER ==================
|
echo ============================= install $MPI_COMPILER ==================
|
||||||
@ -690,10 +725,18 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
# user after the relevant environment module has been loaded.
|
# user after the relevant environment module has been loaded.
|
||||||
# rpmlint will report that as errors, but it is fine.
|
# rpmlint will report that as errors, but it is fine.
|
||||||
|
|
||||||
|
%post atomic -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun atomic -p /sbin/ldconfig
|
||||||
|
|
||||||
%post chrono -p /sbin/ldconfig
|
%post chrono -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun 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
|
%post date-time -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun date-time -p /sbin/ldconfig
|
%postun date-time -p /sbin/ldconfig
|
||||||
@ -768,11 +811,21 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%doc LICENSE_1_0.txt
|
%doc LICENSE_1_0.txt
|
||||||
|
|
||||||
|
%files atomic
|
||||||
|
%defattr(-, root, root, -)
|
||||||
|
%doc LICENSE_1_0.txt
|
||||||
|
%{_libdir}/libboost_atomic-mt.so.%{sonamever}
|
||||||
|
|
||||||
%files chrono
|
%files chrono
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%doc LICENSE_1_0.txt
|
%doc LICENSE_1_0.txt
|
||||||
%{_libdir}/libboost_chrono*.so.%{sonamever}
|
%{_libdir}/libboost_chrono*.so.%{sonamever}
|
||||||
|
|
||||||
|
%files context
|
||||||
|
%defattr(-, root, root, -)
|
||||||
|
%doc LICENSE_1_0.txt
|
||||||
|
%{_libdir}/libboost_context*.so.%{sonamever}
|
||||||
|
|
||||||
%files date-time
|
%files date-time
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%doc LICENSE_1_0.txt
|
%doc LICENSE_1_0.txt
|
||||||
@ -958,11 +1011,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/bjam.1*
|
%{_mandir}/man1/bjam.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jan 24 2013 Petr Machata <pmachata@redhat.com> - 1.53.0-0.1.beta1
|
* Thu Jan 24 2013 Petr Machata <pmachata@redhat.com> - 1.53.0-1
|
||||||
- Upstream 1.53.0 beta1
|
- Upstream 1.53.0 beta1
|
||||||
- Drop boost-1.50.0-signals-erase.patch
|
- Drop boost-1.50.0-signals-erase.patch
|
||||||
- Port boost-1.50.0-attribute.patch
|
- Port boost-1.50.0-attribute.patch
|
||||||
- Drop boost-1.50.0-polygon.patch
|
- Drop boost-1.50.0-polygon.patch
|
||||||
|
- New sub-packages boost-atomic and boost-context
|
||||||
|
|
||||||
* Sat Jan 26 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.50.0-7
|
* Sat Jan 26 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.50.0-7
|
||||||
- Rebuild for icu soname bump
|
- Rebuild for icu soname bump
|
||||||
|
Loading…
Reference in New Issue
Block a user