cvsdist afeb5b
%define tarball_name boost_1_31_0
cvsdist f8f00b
cvsdist f8f00b
Name: boost
cvsdist f8f00b
Summary: The Boost C++ Libraries
cvsdist afeb5b
Version: 1.31.0
cvsdist afeb5b
Release: 7
cvsdist 34404a
License: Boost Software License
cvsdist f8f00b
URL: http://www.boost.org/
cvsdist f8f00b
Group: System Environment/Libraries
cvsdist afeb5b
Source: %{tarball_name}.tar.bz2
cvsdist f8f00b
BuildRoot: %{_tmppath}/boost-%{version}-root
cvsdist afeb5b
BuildRequires: libstdc++-devel python 
cvsdist afeb5b
Obsoletes: boost-doc <= 1.30.2
cvsdist afeb5b
Obsoletes: boost-python <= 1.30.2
cvsdist afeb5b
Patch0: boost-compiler.patch
cvsdist afeb5b
Patch1: boost-base.patch
cvsdist afeb5b
Patch2: boost-gcc-tools.patch
cvsdist afeb5b
Patch3: boost-lambda.patch
cvsdist f8f00b
cvsdist f8f00b
%description
cvsdist 34404a
Boost provides free peer-reviewed portable C++ source libraries.  The
cvsdist 34404a
emphasis is on libraries which work well with the C++ Standard
cvsdist 34404a
Library.  One goal is to establish "existing practice" and provide
cvsdist 34404a
reference implementations so that the Boost libraries are suitable for
cvsdist 34404a
eventual standardization. (Some of the libraries have already been
cvsdist 34404a
proposed for inclusion in the C++ Standards Committee's upcoming C++
cvsdist 34404a
Standard Library Technical Report.)
cvsdist f8f00b
cvsdist f8f00b
%package devel
cvsdist 34404a
Summary: The Boost C++ Headers
cvsdist f8f00b
Group: System Environment/Libraries
cvsdist afeb5b
Requires: boost = %{version}-%{release}
cvsdist afeb5b
Obsoletes: boost-python-devel <= 1.30.2
cvsdist afeb5b
Provides: boost-python-devel = %{version}-%{release}
cvsdist f8f00b
cvsdist f8f00b
%description devel
cvsdist 34404a
Headers for the Boost C++ libraries
cvsdist f8f00b
cvsdist f8f00b
%prep
cvsdist f8f00b
rm -rf $RPM_BUILD_ROOT
cvsdist f8f00b
cvsdist afeb5b
%setup -n %{tarball_name} -q
cvsdist f8f00b
%patch0 -p0
cvsdist afeb5b
%patch1 -p0
cvsdist afeb5b
%patch2 -p0
cvsdist afeb5b
%patch3 -p0
cvsdist f8f00b
cvsdist f8f00b
%build
cvsdist afeb5b
#build bjam
cvsdist afeb5b
(cd tools/build/jam_src && ./build.sh)
cvsdist afeb5b
#build boost with bjam
cvsdist afeb5b
BJAM=`find tools/build/jam_src/ -name bjam -a -type f`
cvsdist afeb5b
PYTHON_VERSION=`python -V 2>&1 |sed 's,.* \([0-9]\.[0-9]\)\(\.[0-9]\)\?.*,\1,'`
cvsdist 34404a
PYTHON_FLAGS="-sPYTHON_ROOT=/usr -sPYTHON_VERSION=$PYTHON_VERSION"
cvsdist afeb5b
#$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release <dllversion>1" 
cvsdist afeb5b
$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release" 
cvsdist f8f00b
cvsdist f8f00b
%install
cvsdist 34404a
PWD=`pwd`
cvsdist afeb5b
PREFIX=$RPM_BUILD_ROOT%{_prefix}
cvsdist afeb5b
mkdir $RPM_BUILD_ROOT
cvsdist afeb5b
mkdir $PREFIX
cvsdist afeb5b
mkdir $PREFIX/lib
cvsdist afeb5b
mkdir $PREFIX/include
cvsdist 34404a
# binary file list
cvsdist afeb5b
for i in `find bin -type f -name \*.a`; do
cvsdist afeb5b
  NAME=`basename $i | sed 's,-gcc,,' | sed 's,-mt,,' | sed 's,-1_31,,'`;
cvsdist afeb5b
  install -m 644 $i $PREFIX/lib/$NAME;
cvsdist afeb5b
done;
cvsdist afeb5b
for i in `find bin -type f -name \*.so.1.31.0`; do
cvsdist afeb5b
  NAME=`basename $i | sed 's,-gcc,,' | sed 's,-mt,,' | sed 's,-1_31,,'`;
cvsdist afeb5b
  install -m 644 $i $PREFIX/lib/$NAME;
cvsdist afeb5b
done;
cvsdist afeb5b
(cd $PREFIX 
cvsdist 34404a
for i in `find lib -type f`; do
cvsdist 34404a
 	echo %{_prefix}/$i >> boost.list
cvsdist afeb5b
done;
cvsdist afeb5b
for i in `find lib -type l`; do
cvsdist afeb5b
 	echo %{_prefix}/$i >> boost.list
cvsdist 34404a
done)
cvsdist 34404a
# include file list
cvsdist afeb5b
for i in `find boost -type d`; do
cvsdist afeb5b
	mkdir -p $PREFIX/include/$i
cvsdist afeb5b
done
cvsdist afeb5b
for i in `find boost -type f`; do
cvsdist afeb5b
	install -m 644 $i $PREFIX/include/$i
cvsdist afeb5b
done
cvsdist afeb5b
#cp -R boost $PREFIX/include/boost-1_31/
cvsdist afeb5b
#chmod -R 644 $PREFIX/include/boost-1_31
cvsdist afeb5b
(cd $PREFIX 
cvsdist 34404a
for i in `find include -type f`; do
cvsdist 34404a
 	echo %{_prefix}/$i >> boost-devel.list
cvsdist 34404a
done)
cvsdist afeb5b
mv $PREFIX/boost.list $PWD/
cvsdist afeb5b
mv $PREFIX/boost-devel.list $PWD/
cvsdist afeb5b
 
cvsdist f8f00b
%clean
cvsdist f8f00b
rm -rf $RPM_BUILD_ROOT 
cvsdist f8f00b
cvsdist f8f00b
%post -p /sbin/ldconfig
cvsdist f8f00b
cvsdist f8f00b
%postun -p /sbin/ldconfig
cvsdist f8f00b
cvsdist 34404a
%files -f boost.list
cvsdist f8f00b
%defattr(-, root, root)
cvsdist f8f00b
cvsdist bba1d3
# Manually generate this via
cvsdist bba1d3
# 1) cd $prefix
cvsdist bba1d3
# 2) for i in `find include -type d`; do
cvsdist bba1d3
#      echo $i >> boost-dir.list
cvsdist bba1d3
#    done
cvsdist 34404a
%files devel -f boost-devel.list
cvsdist f8f00b
%defattr(-, root, root)
cvsdist bba1d3
%dir /usr/include
cvsdist afeb5b
%dir /usr/include/boost
cvsdist afeb5b
%dir /usr/include/boost/compatibility
cvsdist afeb5b
%dir /usr/include/boost/compatibility/cpp_c_headers
cvsdist afeb5b
%dir /usr/include/boost/bind
cvsdist afeb5b
%dir /usr/include/boost/config
cvsdist afeb5b
%dir /usr/include/boost/config/abi
cvsdist afeb5b
%dir /usr/include/boost/config/compiler
cvsdist afeb5b
%dir /usr/include/boost/config/platform
cvsdist afeb5b
%dir /usr/include/boost/config/stdlib
cvsdist afeb5b
%dir /usr/include/boost/date_time
cvsdist afeb5b
%dir /usr/include/boost/date_time/gregorian
cvsdist afeb5b
%dir /usr/include/boost/date_time/posix_time
cvsdist afeb5b
%dir /usr/include/boost/detail
cvsdist afeb5b
%dir /usr/include/boost/filesystem
cvsdist afeb5b
%dir /usr/include/boost/format
cvsdist afeb5b
%dir /usr/include/boost/format/detail
cvsdist afeb5b
%dir /usr/include/boost/function
cvsdist afeb5b
%dir /usr/include/boost/function/detail
cvsdist afeb5b
%dir /usr/include/boost/graph
cvsdist afeb5b
%dir /usr/include/boost/graph/detail
cvsdist afeb5b
%dir /usr/include/boost/integer
cvsdist afeb5b
%dir /usr/include/boost/io
cvsdist afeb5b
%dir /usr/include/boost/iterator
cvsdist afeb5b
%dir /usr/include/boost/iterator/detail
cvsdist afeb5b
%dir /usr/include/boost/lambda
cvsdist afeb5b
%dir /usr/include/boost/lambda/detail
cvsdist afeb5b
%dir /usr/include/boost/math
cvsdist afeb5b
%dir /usr/include/boost/math/special_functions
cvsdist afeb5b
%dir /usr/include/boost/mpl
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/config
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/preprocessed
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/preprocessed/bcc
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/preprocessed/bcc551
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/preprocessed/gcc
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/preprocessed/msvc60
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/preprocessed/msvc70
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/preprocessed/mwcw
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/preprocessed/no_ctps
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/preprocessed/no_ttp
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/preprocessed/plain
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/preprocessor
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/range_c
cvsdist afeb5b
%dir /usr/include/boost/mpl/aux_/test
cvsdist afeb5b
%dir /usr/include/boost/mpl/limits
cvsdist afeb5b
%dir /usr/include/boost/mpl/list
cvsdist afeb5b
%dir /usr/include/boost/mpl/list/aux_
cvsdist afeb5b
%dir /usr/include/boost/mpl/list/aux_/preprocessed
cvsdist afeb5b
%dir /usr/include/boost/mpl/list/aux_/preprocessed/plain
cvsdist afeb5b
%dir /usr/include/boost/mpl/math
cvsdist afeb5b
%dir /usr/include/boost/mpl/multiset
cvsdist afeb5b
%dir /usr/include/boost/mpl/multiset/aux_
cvsdist afeb5b
%dir /usr/include/boost/mpl/set
cvsdist afeb5b
%dir /usr/include/boost/mpl/set/aux_
cvsdist afeb5b
%dir /usr/include/boost/mpl/vector
cvsdist afeb5b
%dir /usr/include/boost/mpl/vector/aux_
cvsdist afeb5b
%dir /usr/include/boost/mpl/vector/aux_/preprocessed
cvsdist afeb5b
%dir /usr/include/boost/mpl/vector/aux_/preprocessed/no_ctps
cvsdist afeb5b
%dir /usr/include/boost/mpl/vector/aux_/preprocessed/plain
cvsdist afeb5b
%dir /usr/include/boost/mpl/vector/aux_/preprocessed/typeof_based
cvsdist afeb5b
%dir /usr/include/boost/multi_array
cvsdist afeb5b
%dir /usr/include/boost/numeric
cvsdist afeb5b
%dir /usr/include/boost/numeric/interval
cvsdist afeb5b
%dir /usr/include/boost/numeric/interval/compare
cvsdist afeb5b
%dir /usr/include/boost/numeric/interval/detail
cvsdist afeb5b
%dir /usr/include/boost/numeric/interval/ext
cvsdist afeb5b
%dir /usr/include/boost/numeric/ublas
cvsdist afeb5b
%dir /usr/include/boost/pending
cvsdist afeb5b
%dir /usr/include/boost/pending/detail
cvsdist afeb5b
%dir /usr/include/boost/pool
cvsdist afeb5b
%dir /usr/include/boost/pool/detail
cvsdist afeb5b
%dir /usr/include/boost/preprocessor
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/arithmetic
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/arithmetic/detail
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/array
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/comparison
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/config
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/control
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/control/detail
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/control/detail/edg
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/control/detail/msvc
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/debug
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/detail
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/facilities
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/iteration
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/iteration/detail
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/iteration/detail/bounds
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/iteration/detail/iter
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/list
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/list/detail
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/list/detail/edg
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/logical
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/punctuation
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/repetition
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/repetition/detail
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/repetition/detail/edg
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/repetition/detail/msvc
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/selection
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/seq
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/seq/detail
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/slot
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/slot/detail
cvsdist afeb5b
%dir /usr/include/boost/preprocessor/tuple
cvsdist afeb5b
%dir /usr/include/boost/python
cvsdist afeb5b
%dir /usr/include/boost/python/converter
cvsdist afeb5b
%dir /usr/include/boost/python/detail
cvsdist afeb5b
%dir /usr/include/boost/python/object
cvsdist afeb5b
%dir /usr/include/boost/python/suite
cvsdist afeb5b
%dir /usr/include/boost/python/suite/indexing
cvsdist afeb5b
%dir /usr/include/boost/python/suite/indexing/detail
cvsdist afeb5b
%dir /usr/include/boost/random
cvsdist afeb5b
%dir /usr/include/boost/random/detail
cvsdist afeb5b
%dir /usr/include/boost/regex
cvsdist afeb5b
%dir /usr/include/boost/regex/config
cvsdist afeb5b
%dir /usr/include/boost/regex/v3
cvsdist afeb5b
%dir /usr/include/boost/regex/v4
cvsdist afeb5b
%dir /usr/include/boost/signals
cvsdist afeb5b
%dir /usr/include/boost/signals/detail
cvsdist afeb5b
%dir /usr/include/boost/spirit
cvsdist afeb5b
%dir /usr/include/boost/spirit/actor
cvsdist afeb5b
%dir /usr/include/boost/spirit/attribute
cvsdist afeb5b
%dir /usr/include/boost/spirit/core
cvsdist afeb5b
%dir /usr/include/boost/spirit/core/composite
cvsdist afeb5b
%dir /usr/include/boost/spirit/core/composite/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/core/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/core/non_terminal
cvsdist afeb5b
%dir /usr/include/boost/spirit/core/non_terminal/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/core/primitives
cvsdist afeb5b
%dir /usr/include/boost/spirit/core/primitives/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/core/scanner
cvsdist afeb5b
%dir /usr/include/boost/spirit/core/scanner/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/debug
cvsdist afeb5b
%dir /usr/include/boost/spirit/debug/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/dynamic
cvsdist afeb5b
%dir /usr/include/boost/spirit/dynamic/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/error_handling
cvsdist afeb5b
%dir /usr/include/boost/spirit/error_handling/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/iterator
cvsdist afeb5b
%dir /usr/include/boost/spirit/iterator/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/meta
cvsdist afeb5b
%dir /usr/include/boost/spirit/meta/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/phoenix
cvsdist afeb5b
%dir /usr/include/boost/spirit/symbols
cvsdist afeb5b
%dir /usr/include/boost/spirit/symbols/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/tree
cvsdist afeb5b
%dir /usr/include/boost/spirit/tree/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/utility
cvsdist afeb5b
%dir /usr/include/boost/spirit/utility/impl
cvsdist afeb5b
%dir /usr/include/boost/spirit/utility/impl/chset
cvsdist afeb5b
%dir /usr/include/boost/test
cvsdist afeb5b
%dir /usr/include/boost/test/detail
cvsdist afeb5b
%dir /usr/include/boost/test/included
cvsdist afeb5b
%dir /usr/include/boost/thread
cvsdist afeb5b
%dir /usr/include/boost/thread/detail
cvsdist afeb5b
%dir /usr/include/boost/tuple
cvsdist afeb5b
%dir /usr/include/boost/tuple/detail
cvsdist afeb5b
%dir /usr/include/boost/type_traits
cvsdist afeb5b
%dir /usr/include/boost/type_traits/detail
cvsdist afeb5b
%dir /usr/include/boost/utility
cvsdist afeb5b
%dir /usr/include/boost/variant
cvsdist afeb5b
%dir /usr/include/boost/variant/detail
cvsdist f8f00b
cvsdist f8f00b
%changelog
cvsdist afeb5b
* Wed May 05 2004 Warren Togami <wtogami@redhat.com> 1.31.0-7
cvsdist afeb5b
- missing Obsoletes boost-python
cvsdist afeb5b
cvsdist afeb5b
* Mon May 03 2004 Benjamin Kosnik <bkoz@redhat.com> 
cvsdist afeb5b
- (#121630: gcc34 patch needed)
cvsdist afeb5b
cvsdist afeb5b
* Wed Apr 21 2004 Warren Togami <wtogami@redhat.com>
cvsdist afeb5b
- #121415 FC2 BLOCKER: Obsoletes boost-python-devel, boost-doc
cvsdist afeb5b
- other cleanups
cvsdist afeb5b
cvsdist afeb5b
* Tue Mar 30 2004 Benjamin Kosnik <bkoz@redhat.com> 
cvsdist afeb5b
- Remove bjam dependency. (via Graydon).
cvsdist afeb5b
- Fix installed library names.
cvsdist afeb5b
- Fix SONAMEs in shared libraries.
cvsdist afeb5b
- Fix installed header location.
cvsdist afeb5b
- Fix installed permissions.
cvsdist afeb5b
cvsdist afeb5b
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist afeb5b
- rebuilt
cvsdist afeb5b
cvsdist afeb5b
* Mon Feb 09 2004 Benjamin Kosnik <bkoz@redhat.com> 1.31.0-2
cvsdist bba1d3
- Update to boost-1.31.0
cvsdist bba1d3
cvsdist afeb5b
* Thu Jan 22 2004 Benjamin Kosnik <bkoz@redhat.com> 1.31.0-1
cvsdist 34404a
- Update to boost-1.31.0.rc2
cvsdist 34404a
- (#109307:  Compile Failure with boost libraries)
cvsdist 34404a
- (#104831:  Compile errors in apps using Boost.Python...)
cvsdist 34404a
- Unify into boost, boost-devel rpms.
cvsdist 34404a
- Simplify installation using bjam and prefix install.
cvsdist 34404a
cvsdist afeb5b
* Tue Sep 09 2003 Nalin Dahyabhai <nalin@redhat.com> 1.30.2-2
cvsdist f8f00b
- require boost-devel instead of devel in subpackages which require boost-devel
cvsdist f8f00b
- remove stray Prefix: tag
cvsdist f8f00b
cvsdist afeb5b
* Mon Sep 08 2003 Benjamin Kosnik <bkoz@redhat.com> 1.30.2-1
cvsdist f8f00b
- change license to Freely distributable
cvsdist f8f00b
- verify installation of libboost_thread
cvsdist f8f00b
- more boost-devel removals
cvsdist f8f00b
- deal with lack of _REENTRANT on ia64/s390
cvsdist f8f00b
- (#99458) rpm -e fixed via explict dir additions
cvsdist f8f00b
- (#103293) update to 1.30.2
cvsdist f8f00b
cvsdist f8f00b
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist f8f00b
- rebuilt
cvsdist f8f00b
cvsdist f8f00b
* Tue May 13 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist f8f00b
- remove packager, change to new Group:
cvsdist f8f00b
cvsdist afeb5b
* Tue May 06 2003 Tim Powers <timp@redhat.com> 1.30.0-3
cvsdist f8f00b
- add deffattr's so we don't have unknown users owning files