Benjamin Kosnik 78bcf4
%define tarball_name boost_1_33_0
cvsdist f8f00b
cvsdist f8f00b
Name: boost
cvsdist f8f00b
Summary: The Boost C++ Libraries
Benjamin Kosnik 78bcf4
Version: 1.33.0
Benjamin Kosnik 78bcf4
Release: 1
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
Than Ngo e17834
Prereq: /sbin/ldconfig
cvsdist afeb5b
BuildRequires: libstdc++-devel python 
cvsdist afeb5b
Obsoletes: boost-doc <= 1.30.2
cvsdist afeb5b
Obsoletes: boost-python <= 1.30.2
Benjamin Kosnik 7e774a
Patch0: boost-base.patch
Benjamin Kosnik 7e774a
Patch1: boost-gcc-tools.patch
Benjamin Kosnik 9cec08
Patch2: boost-thread.patch
Benjamin Kosnik 0513b8
Patch3: boost-config-compiler-gcc.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
Benjamin Kosnik 9cec08
%patch2 -p0
Benjamin Kosnik 0513b8
%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`
Benjamin Kosnik 78bcf4
PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
cvsdist 34404a
PYTHON_FLAGS="-sPYTHON_ROOT=/usr -sPYTHON_VERSION=$PYTHON_VERSION"
Benjamin Kosnik fd51ec
#$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release <dllversion>1" stage 
Benjamin Kosnik fd51ec
$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release" stage 
cvsdist f8f00b
cvsdist f8f00b
%install
Than Ngo e17834
mkdir -p $RPM_BUILD_ROOT%{_libdir}
Than Ngo e17834
mkdir -p $RPM_BUILD_ROOT%{_includedir}
Than Ngo e17834
Than Ngo e17834
# install lib
Benjamin Kosnik 7e774a
for i in `find stage -type f -name \*.a`; do
Benjamin Kosnik 7e774a
  NAME=`basename $i`;
Benjamin Kosnik 7e774a
  install -m 755 $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
cvsdist afeb5b
done;
Benjamin Kosnik 7e774a
for i in `find stage -type f -name \*.so.*`; do
Benjamin Kosnik 7e774a
  NAME=`basename $i`;
Benjamin Kosnik 7e774a
  install -m 755 $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
cvsdist afeb5b
done;
Benjamin Kosnik 9cec08
for i in `find stage -type l -name \*.so`; do
Benjamin Kosnik 9cec08
  NAME=`basename $i`;
Benjamin Kosnik 9cec08
  mv $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
Benjamin Kosnik 9cec08
done;
Than Ngo e17834
Than Ngo e17834
# install include files
cvsdist afeb5b
for i in `find boost -type d`; do
Benjamin Kosnik 7e774a
  mkdir -p $RPM_BUILD_ROOT%{_includedir}/$i
cvsdist afeb5b
done
cvsdist afeb5b
for i in `find boost -type f`; do
Benjamin Kosnik 7e774a
  install -m 644 $i $RPM_BUILD_ROOT%{_includedir}/$i
cvsdist afeb5b
done
Than Ngo e17834
cvsdist f8f00b
%clean
cvsdist f8f00b
rm -rf $RPM_BUILD_ROOT 
cvsdist f8f00b
Benjamin Kosnik 7e774a
%post 
Benjamin Kosnik 7e774a
/sbin/ldconfig
cvsdist f8f00b
Benjamin Kosnik 7e774a
%postun 
Benjamin Kosnik 7e774a
/sbin/ldconfig
cvsdist f8f00b
Benjamin Kosnik 9cec08
%files 
cvsdist f8f00b
%defattr(-, root, root)
Benjamin Kosnik 0513b8
%{_libdir}/*.so.%{version}
cvsdist f8f00b
Than Ngo e17834
%files devel
cvsdist f8f00b
%defattr(-, root, root)
Than Ngo e17834
%{_includedir}/boost
Than Ngo e17834
%{_libdir}/*.a
Benjamin Kosnik 0513b8
%{_libdir}/*.so
cvsdist f8f00b
cvsdist f8f00b
%changelog
Benjamin Kosnik 78bcf4
* Fri Aug 12 2005 Benjamin Kosnik <bkoz@redhat.com> 1.33.0-1
Benjamin Kosnik 78bcf4
- Update to boost-1.33.0
Benjamin Kosnik 78bcf4
- Simplified PYTHON_VERSION by Philipp Thomas <pth@suse.de>
Benjamin Kosnik 78bcf4
Benjamin Kosnik 0513b8
* Tue May 24 2005 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-6
Benjamin Kosnik 0513b8
- (#153093: boost warns that gcc 4.0.0 is an unknown compiler)
Benjamin Kosnik 0513b8
- (#152205: development .so symlinks should be in -devel subpackage)
Benjamin Kosnik 0513b8
- (#154783: linker .so symlinks missing from boost-devel package)
Benjamin Kosnik 0513b8
Benjamin Kosnik fd51ec
* Fri Mar 18 2005 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-5
Benjamin Kosnik fd51ec
- Revert boost-base.patch to old behavior.
Benjamin Kosnik fd51ec
- Use SONAMEVERSION instead of dllversion.
Benjamin Kosnik fd51ec
Benjamin Kosnik 9cec08
* Wed Mar 16 2005 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-4
Benjamin Kosnik 9cec08
- (#142612: Compiling Boost 1.32.0 Failed in RHEL 3.0 on Itanium2) 
Benjamin Kosnik 9cec08
- (#150069: libboost_python.so is missing)
Benjamin Kosnik 9cec08
- (#141617: bad patch boost-base.patch)
Benjamin Kosnik 9cec08
- (#122817: libboost_*.so symlinks missing)
Benjamin Kosnik 9cec08
- Re-add boost-thread.patch.
Benjamin Kosnik 9cec08
- Change boost-base.patch to show thread tags.
Benjamin Kosnik 9cec08
- Change boost-gcc-tools.patch to use SOTAG, compile with dllversion.
Benjamin Kosnik 9cec08
- Add symbolic links to files.
Benjamin Kosnik fd51ec
- Sanity check can compile with gcc-3.3.x, gcc-3.4.2, gcc-4.0.x., gcc-4.1.x.
Benjamin Kosnik 9cec08
Benjamin Kosnik a609a1
* Thu Dec 02 2004 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-3
Benjamin Kosnik a609a1
- (#122817: libboost_*.so symlinks missing)
Benjamin Kosnik a609a1
- (#141574: half of the package is missing)
Benjamin Kosnik a609a1
- (#141617: bad patch boost-base.patch)
Benjamin Kosnik a609a1
Benjamin Kosnik b11f6e
* Wed Dec 01 2004 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-2
Benjamin Kosnik b11f6e
- Remove bogus Obsoletes.
Benjamin Kosnik b11f6e
Benjamin Kosnik 7e774a
* Mon Nov 29 2004 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-1
Benjamin Kosnik 7e774a
- Update to 1.32.0
Benjamin Kosnik 7e774a
Than Ngo e17834
* Wed Sep 22 2004 Than Ngo <than@redhat.com> 1.31.0-9
Than Ngo e17834
- cleanup specfile
Than Ngo e17834
- fix multiarch problem
Than Ngo e17834
cvsdist 71247b
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 71247b
- rebuilt
cvsdist 71247b
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