Benjamin Kosnik ace5fb
%define tarball_name boost_1_33_1
cvsdist f8f00b
cvsdist f8f00b
Name: boost
cvsdist f8f00b
Summary: The Boost C++ Libraries
Benjamin Kosnik 785083
Version: 1.33.1
Benjamin Kosnik ce250c
Release: 4
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 
Benjamin Kosnik ace5fb
BuildRequires: bzip2-libs
Nils Philippsen cd0735
BuildRequires: bzip2-devel
Nils Philippsen cd0735
BuildRequires: zlib-devel
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
Benjamin Kosnik 785083
Patch4: boost-runtests.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
Benjamin Kosnik 785083
Library, in the hopes of establishing "existing practice" for
Benjamin Kosnik 785083
extensions and providing reference implementations so that the Boost
Benjamin Kosnik 785083
libraries are suitable for eventual standardization. (Some of the
Benjamin Kosnik 785083
libraries have already been proposed for inclusion in the C++
Benjamin Kosnik 785083
Standards Committee's upcoming C++ Standard Library Technical Report.)
cvsdist f8f00b
cvsdist f8f00b
%package devel
Benjamin Kosnik 546a43
Summary: The Boost C++ headers and development libraries
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
Benjamin Kosnik 546a43
Headers, static libraries, and shared object symlinks for the Boost
Benjamin Kosnik 546a43
C++ libraries
Benjamin Kosnik 546a43
Benjamin Kosnik 546a43
%package doc
Benjamin Kosnik 546a43
Summary: The Boost C++ html docs
Benjamin Kosnik 546a43
Group: System Environment/Libraries
Benjamin Kosnik 546a43
Requires: boost = %{version}-%{release}
Benjamin Kosnik 546a43
Provides: boost-python-docs = %{version}-%{release}
Benjamin Kosnik 546a43
Benjamin Kosnik 546a43
%description doc
Benjamin Kosnik 546a43
HTML documentation files for 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
Benjamin Kosnik 785083
%patch4 -p0
cvsdist f8f00b
cvsdist f8f00b
%build
cvsdist afeb5b
#build bjam
cvsdist afeb5b
(cd tools/build/jam_src && ./build.sh)
Benjamin Kosnik 785083
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
Benjamin Kosnik 785083
#run tests
Benjamin Kosnik 785083
BOOST_ROOT=`pwd`;
Benjamin Kosnik 785083
cd tools/regression;
Benjamin Kosnik 785083
(cd ./build && $BOOST_ROOT/$BJAM)
Benjamin Kosnik 6bb05f
echo "

" `uname -a` "

" > regression_comment.html;
Benjamin Kosnik 6bb05f
echo "" >>  regression_comment.html;
Benjamin Kosnik 6bb05f
echo "

" `g++ --version` "

" >> regression_comment.html;
Benjamin Kosnik 785083
chmod +x ./run_tests.sh;
Benjamin Kosnik 6bb05f
#./run_tests.sh;
Benjamin Kosnik 785083
results1=$BOOST_ROOT/status/results.html
Benjamin Kosnik 785083
results2=$BOOST_ROOT/status/results-links.html
Benjamin Kosnik 6bb05f
if [ -f $results2 ] && [ -f $results2 ]; then
Benjamin Kosnik 785083
  testdate=`date +%Y%m%d`;
Benjamin Kosnik 785083
  testarch=`uname -m`;
Benjamin Kosnik 6bb05f
  email=bkoz@redhat.com
Benjamin Kosnik 6bb05f
  mail -s "$testdate boost regression $testarch 1" $email < $results1;
Benjamin Kosnik 6bb05f
  mail -s "$testdate boost regression $testarch 2" $email < $results2;
Benjamin Kosnik 785083
fi
Benjamin Kosnik 785083
cd ../..;
Benjamin Kosnik 785083
Benjamin Kosnik 785083
cvsdist f8f00b
%install
Than Ngo e17834
mkdir -p $RPM_BUILD_ROOT%{_libdir}
Than Ngo e17834
mkdir -p $RPM_BUILD_ROOT%{_includedir}
Benjamin Kosnik 546a43
mkdir -p $RPM_BUILD_ROOT%{_docdir}
Benjamin Kosnik 546a43
mkdir -p $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
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 ace5fb
for i in `find stage -type f -name \*.so.*`; do
Benjamin Kosnik 9cec08
  NAME=`basename $i`;
Benjamin Kosnik ace5fb
  install -m 755 $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
Benjamin Kosnik 9cec08
done;
Benjamin Kosnik ce250c
for i in `find stage -type l -name \*.so`; do
Benjamin Kosnik ce250c
  NAME=`basename $i`;
Benjamin Kosnik ce250c
  SONAME=$NAME.2;
Benjamin Kosnik ce250c
  ln -s $NAME.* $SONAME;
Benjamin Kosnik ce250c
  mv $SONAME $RPM_BUILD_ROOT%{_libdir}/$SONAME;
Benjamin Kosnik ce250c
  mv $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
Benjamin Kosnik ce250c
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
Benjamin Kosnik 546a43
#install doc files
Benjamin Kosnik 546a43
cd doc/html; 
Benjamin Kosnik 546a43
for i in `find . -type d`; do
Benjamin Kosnik 546a43
  mkdir -p $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i
Benjamin Kosnik 546a43
done
Benjamin Kosnik 546a43
for i in `find . -type f`; do
Benjamin Kosnik 546a43
  install -m 644 $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i
Benjamin Kosnik 546a43
done
Benjamin Kosnik 546a43
cd ../..;
Benjamin Kosnik 546a43
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}
Benjamin Kosnik ace5fb
%{_libdir}/*.so.2
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
Benjamin Kosnik 546a43
%files doc
Benjamin Kosnik 546a43
%defattr(-, root, root)
Benjamin Kosnik 546a43
%{_docdir}/boost-%{version}
Benjamin Kosnik 546a43
cvsdist f8f00b
%changelog
Benjamin Kosnik ce250c
* Thu Jan 05 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-4
Benjamin Kosnik ce250c
- Fix symbolic links.
Benjamin Kosnik ce250c
Benjamin Kosnik ace5fb
* Wed Jan 04 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-3
Benjamin Kosnik ace5fb
- Update to boost-1.33.1.
Benjamin Kosnik ace5fb
- (#176485: Missing BuildRequires)
Benjamin Kosnik ace5fb
- (#169271: /usr/lib/libboost*.so.? links missing in package)
Benjamin Kosnik ace5fb
Jesse Keating e2021c
* Thu Dec 22 2005 Jesse Keating <jkeating@redhat.com> 1.33.1-2
Jesse Keating e2021c
- rebuilt
Jesse Keating e2021c
Benjamin Kosnik 785083
* Mon Nov 14 2005 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-1
Benjamin Kosnik 785083
- Update to boost-1.33.1 beta.
Benjamin Kosnik 785083
- Run testsuite, gather results.
Benjamin Kosnik 785083
Nils Philippsen cd0735
* Tue Oct 11 2005 Nils Philippsen <nphilipp@redhat.com> 1.33.0-4
Nils Philippsen cd0735
- build require bzip2-devel and zlib-devel
Nils Philippsen cd0735
Benjamin Kosnik 546a43
* Tue Aug 23 2005 Benjamin Kosnik <bkoz@redhat.com> 1.33.0-3
Benjamin Kosnik 546a43
- Create doc package again.
Benjamin Kosnik 546a43
- Parts of the above by Neal Becker <ndbecker2@gmail.com>.
Benjamin Kosnik 546a43
Benjamin Kosnik 78bcf4
* Fri Aug 12 2005 Benjamin Kosnik <bkoz@redhat.com> 1.33.0-1
Benjamin Kosnik 88523b
- Update to boost-1.33.0, update SONAME to 2 due to ABI changes.
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