2006-01-04 23:14:27 +00:00
|
|
|
%define tarball_name boost_1_33_1
|
2004-09-09 03:36:00 +00:00
|
|
|
|
|
|
|
Name: boost
|
|
|
|
Summary: The Boost C++ Libraries
|
2005-11-15 20:43:12 +00:00
|
|
|
Version: 1.33.1
|
2006-11-14 11:29:37 +00:00
|
|
|
Release: 7
|
2004-09-09 03:36:19 +00:00
|
|
|
License: Boost Software License
|
2004-09-09 03:36:00 +00:00
|
|
|
URL: http://www.boost.org/
|
|
|
|
Group: System Environment/Libraries
|
2004-09-09 03:37:14 +00:00
|
|
|
Source: %{tarball_name}.tar.bz2
|
2004-09-09 03:36:00 +00:00
|
|
|
BuildRoot: %{_tmppath}/boost-%{version}-root
|
2004-09-22 13:48:26 +00:00
|
|
|
Prereq: /sbin/ldconfig
|
2004-09-09 03:37:14 +00:00
|
|
|
BuildRequires: libstdc++-devel python
|
2006-01-04 23:14:27 +00:00
|
|
|
BuildRequires: bzip2-libs
|
2005-10-11 09:44:01 +00:00
|
|
|
BuildRequires: bzip2-devel
|
2006-11-14 11:29:37 +00:00
|
|
|
BuildRequires: zlib
|
2005-10-11 09:44:01 +00:00
|
|
|
BuildRequires: zlib-devel
|
2006-05-16 13:34:07 +00:00
|
|
|
BuildRequires: python-devel
|
2006-11-14 11:29:37 +00:00
|
|
|
BuildRequires: libicu
|
|
|
|
BuildRequires: libicu-devel
|
2004-09-09 03:37:14 +00:00
|
|
|
Obsoletes: boost-doc <= 1.30.2
|
|
|
|
Obsoletes: boost-python <= 1.30.2
|
2004-11-30 02:24:44 +00:00
|
|
|
Patch0: boost-base.patch
|
|
|
|
Patch1: boost-gcc-tools.patch
|
2005-03-17 01:12:29 +00:00
|
|
|
Patch2: boost-thread.patch
|
2005-05-24 16:07:12 +00:00
|
|
|
Patch3: boost-config-compiler-gcc.patch
|
2005-11-15 20:43:12 +00:00
|
|
|
Patch4: boost-runtests.patch
|
2006-11-14 11:29:37 +00:00
|
|
|
Patch5: boost-serialization-warnings.patch
|
|
|
|
Patch6: boost-spirit-warnings.patch
|
|
|
|
Patch7: boost-bind-gcc41.patch
|
2004-09-09 03:36:00 +00:00
|
|
|
|
|
|
|
%description
|
2004-09-09 03:36:19 +00:00
|
|
|
Boost provides free peer-reviewed portable C++ source libraries. The
|
|
|
|
emphasis is on libraries which work well with the C++ Standard
|
2005-11-15 20:43:12 +00:00
|
|
|
Library, in the hopes of establishing "existing practice" for
|
|
|
|
extensions and providing reference implementations so that the Boost
|
|
|
|
libraries are suitable for eventual standardization. (Some of the
|
|
|
|
libraries have already been proposed for inclusion in the C++
|
|
|
|
Standards Committee's upcoming C++ Standard Library Technical Report.)
|
2004-09-09 03:36:00 +00:00
|
|
|
|
|
|
|
%package devel
|
2005-08-23 18:10:09 +00:00
|
|
|
Summary: The Boost C++ headers and development libraries
|
2004-09-09 03:36:00 +00:00
|
|
|
Group: System Environment/Libraries
|
2004-09-09 03:37:14 +00:00
|
|
|
Requires: boost = %{version}-%{release}
|
|
|
|
Obsoletes: boost-python-devel <= 1.30.2
|
|
|
|
Provides: boost-python-devel = %{version}-%{release}
|
2004-09-09 03:36:00 +00:00
|
|
|
|
|
|
|
%description devel
|
2005-08-23 18:10:09 +00:00
|
|
|
Headers, static libraries, and shared object symlinks for the Boost
|
|
|
|
C++ libraries
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: The Boost C++ html docs
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: boost = %{version}-%{release}
|
|
|
|
Provides: boost-python-docs = %{version}-%{release}
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
HTML documentation files for Boost C++ libraries
|
2004-09-09 03:36:00 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2004-09-09 03:37:14 +00:00
|
|
|
%setup -n %{tarball_name} -q
|
2004-09-09 03:36:00 +00:00
|
|
|
%patch0 -p0
|
2004-09-09 03:37:14 +00:00
|
|
|
%patch1 -p0
|
2005-03-17 01:12:29 +00:00
|
|
|
%patch2 -p0
|
2005-05-24 16:07:12 +00:00
|
|
|
%patch3 -p0
|
2005-11-15 20:43:12 +00:00
|
|
|
%patch4 -p0
|
2006-11-14 11:29:37 +00:00
|
|
|
%patch5 -p0
|
|
|
|
%patch6 -p0
|
|
|
|
%patch7 -p0
|
2004-09-09 03:36:00 +00:00
|
|
|
|
|
|
|
%build
|
2004-09-09 03:37:14 +00:00
|
|
|
#build bjam
|
|
|
|
(cd tools/build/jam_src && ./build.sh)
|
2005-11-15 20:43:12 +00:00
|
|
|
|
2004-09-09 03:37:14 +00:00
|
|
|
#build boost with bjam
|
|
|
|
BJAM=`find tools/build/jam_src/ -name bjam -a -type f`
|
2006-11-14 11:29:37 +00:00
|
|
|
#BUILD_FLAGS="-sTOOLS=gcc -sBUILD=release <dllversion>1"
|
|
|
|
#BUILD_FLAGS="-sTOOLS=gcc -sBUILD=release"
|
|
|
|
BUILD_FLAGS="-d2 -sTOOLS=gcc -sBUILD=release"
|
2005-08-19 16:06:47 +00:00
|
|
|
PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
|
2004-09-09 03:36:19 +00:00
|
|
|
PYTHON_FLAGS="-sPYTHON_ROOT=/usr -sPYTHON_VERSION=$PYTHON_VERSION"
|
2006-11-14 11:29:37 +00:00
|
|
|
REGEX_FLAGS="-sHAVE_ICU=1"
|
|
|
|
$BJAM $PYTHON_FLAGS $REGEX_FLAGS $BUILD_FLAGS stage
|
2004-09-09 03:36:00 +00:00
|
|
|
|
2005-11-15 20:43:12 +00:00
|
|
|
#run tests
|
|
|
|
BOOST_ROOT=`pwd`;
|
|
|
|
cd tools/regression;
|
|
|
|
(cd ./build && $BOOST_ROOT/$BJAM)
|
2005-11-17 04:46:27 +00:00
|
|
|
echo "<p>" `uname -a` "</p>" > regression_comment.html;
|
|
|
|
echo "" >> regression_comment.html;
|
|
|
|
echo "<p>" `g++ --version` "</p>" >> regression_comment.html;
|
2005-11-15 20:43:12 +00:00
|
|
|
chmod +x ./run_tests.sh;
|
2005-11-17 04:46:27 +00:00
|
|
|
#./run_tests.sh;
|
2005-11-15 20:43:12 +00:00
|
|
|
results1=$BOOST_ROOT/status/results.html
|
|
|
|
results2=$BOOST_ROOT/status/results-links.html
|
2005-11-17 04:46:27 +00:00
|
|
|
if [ -f $results2 ] && [ -f $results2 ]; then
|
2005-11-15 20:43:12 +00:00
|
|
|
testdate=`date +%Y%m%d`;
|
|
|
|
testarch=`uname -m`;
|
2005-11-17 04:46:27 +00:00
|
|
|
email=bkoz@redhat.com
|
|
|
|
mail -s "$testdate boost regression $testarch 1" $email < $results1;
|
|
|
|
mail -s "$testdate boost regression $testarch 2" $email < $results2;
|
2005-11-15 20:43:12 +00:00
|
|
|
fi
|
|
|
|
cd ../..;
|
|
|
|
|
|
|
|
|
2004-09-09 03:36:00 +00:00
|
|
|
%install
|
2004-09-22 13:48:26 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_includedir}
|
2005-08-23 18:10:09 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/boost-%{version}
|
2004-09-22 13:48:26 +00:00
|
|
|
|
|
|
|
# install lib
|
2004-11-30 02:24:44 +00:00
|
|
|
for i in `find stage -type f -name \*.a`; do
|
|
|
|
NAME=`basename $i`;
|
|
|
|
install -m 755 $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
|
2004-09-09 03:37:14 +00:00
|
|
|
done;
|
2006-01-04 23:14:27 +00:00
|
|
|
for i in `find stage -type f -name \*.so.*`; do
|
2005-03-17 01:12:29 +00:00
|
|
|
NAME=`basename $i`;
|
2006-01-04 23:14:27 +00:00
|
|
|
install -m 755 $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
|
2005-03-17 01:12:29 +00:00
|
|
|
done;
|
2006-01-05 21:44:36 +00:00
|
|
|
for i in `find stage -type l -name \*.so`; do
|
|
|
|
NAME=`basename $i`;
|
|
|
|
SONAME=$NAME.2;
|
2006-02-16 21:35:51 +00:00
|
|
|
ln -s $NAME.%{version} $SONAME;
|
2006-01-05 21:44:36 +00:00
|
|
|
mv $SONAME $RPM_BUILD_ROOT%{_libdir}/$SONAME;
|
|
|
|
mv $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
|
|
|
|
done;
|
2004-09-22 13:48:26 +00:00
|
|
|
|
|
|
|
# install include files
|
2004-09-09 03:37:14 +00:00
|
|
|
for i in `find boost -type d`; do
|
2004-11-30 02:24:44 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_includedir}/$i
|
2004-09-09 03:37:14 +00:00
|
|
|
done
|
|
|
|
for i in `find boost -type f`; do
|
2004-11-30 02:24:44 +00:00
|
|
|
install -m 644 $i $RPM_BUILD_ROOT%{_includedir}/$i
|
2004-09-09 03:37:14 +00:00
|
|
|
done
|
2004-09-22 13:48:26 +00:00
|
|
|
|
2005-08-23 18:10:09 +00:00
|
|
|
#install doc files
|
|
|
|
cd doc/html;
|
|
|
|
for i in `find . -type d`; do
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i
|
|
|
|
done
|
|
|
|
for i in `find . -type f`; do
|
|
|
|
install -m 644 $i $RPM_BUILD_ROOT%{_docdir}/boost-%{version}/$i
|
|
|
|
done
|
|
|
|
cd ../..;
|
|
|
|
|
2004-09-09 03:36:00 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2004-11-30 02:24:44 +00:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
2004-09-09 03:36:00 +00:00
|
|
|
|
2004-11-30 02:24:44 +00:00
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
2004-09-09 03:36:00 +00:00
|
|
|
|
2005-03-17 01:12:29 +00:00
|
|
|
%files
|
2004-09-09 03:36:00 +00:00
|
|
|
%defattr(-, root, root)
|
2005-05-24 16:07:12 +00:00
|
|
|
%{_libdir}/*.so.%{version}
|
2006-01-04 23:14:27 +00:00
|
|
|
%{_libdir}/*.so.2
|
2004-09-09 03:36:00 +00:00
|
|
|
|
2004-09-22 13:48:26 +00:00
|
|
|
%files devel
|
2004-09-09 03:36:00 +00:00
|
|
|
%defattr(-, root, root)
|
2004-09-22 13:48:26 +00:00
|
|
|
%{_includedir}/boost
|
|
|
|
%{_libdir}/*.a
|
2005-05-24 16:07:12 +00:00
|
|
|
%{_libdir}/*.so
|
2004-09-09 03:36:00 +00:00
|
|
|
|
2005-08-23 18:10:09 +00:00
|
|
|
%files doc
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_docdir}/boost-%{version}
|
|
|
|
|
2004-09-09 03:36:00 +00:00
|
|
|
%changelog
|
2006-11-14 11:29:37 +00:00
|
|
|
* Mon Nov 13 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-7
|
|
|
|
- (#205866: boost::spirit generates warnings with -Wshadow)
|
|
|
|
- (#205863: serialization lib generates warnings)
|
|
|
|
- (#204326: boost RPM missing dependencies)
|
|
|
|
- (#193465: [SIGNAL/BIND] Regressions with GCC 4.1)
|
|
|
|
- BUILD_FLAGS, add, to see actual compile line.
|
|
|
|
- REGEX_FLAGS, add, to compile regex with ICU support.
|
|
|
|
|
2006-07-12 05:28:47 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.33.1-6.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-05-16 13:34:07 +00:00
|
|
|
* Tue May 16 2006 Karsten Hopp <karsten@redhat.de> 1.33.1-6
|
|
|
|
- buildrequire python-devel for Python.h
|
|
|
|
|
2006-02-16 21:35:51 +00:00
|
|
|
* Thu Feb 16 2006 Florian La Roche <laroche@redhat.com> - 1.33.1-5
|
|
|
|
- use the real version number to point to the shared libs
|
|
|
|
|
2006-02-11 02:11:10 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.33.1-4.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 11:10:53 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.33.1-4.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-01-05 21:44:36 +00:00
|
|
|
* Thu Jan 05 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-4
|
|
|
|
- Fix symbolic links.
|
|
|
|
|
2006-01-04 23:14:27 +00:00
|
|
|
* Wed Jan 04 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-3
|
|
|
|
- Update to boost-1.33.1.
|
|
|
|
- (#176485: Missing BuildRequires)
|
|
|
|
- (#169271: /usr/lib/libboost*.so.? links missing in package)
|
|
|
|
|
2005-12-22 23:57:54 +00:00
|
|
|
* Thu Dec 22 2005 Jesse Keating <jkeating@redhat.com> 1.33.1-2
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-15 20:43:12 +00:00
|
|
|
* Mon Nov 14 2005 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-1
|
|
|
|
- Update to boost-1.33.1 beta.
|
|
|
|
- Run testsuite, gather results.
|
|
|
|
|
2005-10-11 09:44:01 +00:00
|
|
|
* Tue Oct 11 2005 Nils Philippsen <nphilipp@redhat.com> 1.33.0-4
|
|
|
|
- build require bzip2-devel and zlib-devel
|
|
|
|
|
2005-08-23 18:10:09 +00:00
|
|
|
* Tue Aug 23 2005 Benjamin Kosnik <bkoz@redhat.com> 1.33.0-3
|
|
|
|
- Create doc package again.
|
|
|
|
- Parts of the above by Neal Becker <ndbecker2@gmail.com>.
|
|
|
|
|
2005-08-19 16:06:47 +00:00
|
|
|
* Fri Aug 12 2005 Benjamin Kosnik <bkoz@redhat.com> 1.33.0-1
|
2005-08-22 21:48:40 +00:00
|
|
|
- Update to boost-1.33.0, update SONAME to 2 due to ABI changes.
|
2005-08-19 16:06:47 +00:00
|
|
|
- Simplified PYTHON_VERSION by Philipp Thomas <pth@suse.de>
|
|
|
|
|
2005-05-24 16:07:12 +00:00
|
|
|
* Tue May 24 2005 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-6
|
|
|
|
- (#153093: boost warns that gcc 4.0.0 is an unknown compiler)
|
|
|
|
- (#152205: development .so symlinks should be in -devel subpackage)
|
|
|
|
- (#154783: linker .so symlinks missing from boost-devel package)
|
|
|
|
|
2005-03-18 16:35:21 +00:00
|
|
|
* Fri Mar 18 2005 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-5
|
|
|
|
- Revert boost-base.patch to old behavior.
|
|
|
|
- Use SONAMEVERSION instead of dllversion.
|
|
|
|
|
2005-03-17 01:12:29 +00:00
|
|
|
* Wed Mar 16 2005 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-4
|
|
|
|
- (#142612: Compiling Boost 1.32.0 Failed in RHEL 3.0 on Itanium2)
|
|
|
|
- (#150069: libboost_python.so is missing)
|
|
|
|
- (#141617: bad patch boost-base.patch)
|
|
|
|
- (#122817: libboost_*.so symlinks missing)
|
|
|
|
- Re-add boost-thread.patch.
|
|
|
|
- Change boost-base.patch to show thread tags.
|
|
|
|
- Change boost-gcc-tools.patch to use SOTAG, compile with dllversion.
|
|
|
|
- Add symbolic links to files.
|
2005-03-18 16:35:21 +00:00
|
|
|
- Sanity check can compile with gcc-3.3.x, gcc-3.4.2, gcc-4.0.x., gcc-4.1.x.
|
2005-03-17 01:12:29 +00:00
|
|
|
|
2004-12-02 17:25:42 +00:00
|
|
|
* Thu Dec 02 2004 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-3
|
|
|
|
- (#122817: libboost_*.so symlinks missing)
|
|
|
|
- (#141574: half of the package is missing)
|
|
|
|
- (#141617: bad patch boost-base.patch)
|
|
|
|
|
2004-12-02 02:27:54 +00:00
|
|
|
* Wed Dec 01 2004 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-2
|
|
|
|
- Remove bogus Obsoletes.
|
|
|
|
|
2004-11-30 02:24:44 +00:00
|
|
|
* Mon Nov 29 2004 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-1
|
|
|
|
- Update to 1.32.0
|
|
|
|
|
2004-09-22 13:48:26 +00:00
|
|
|
* Wed Sep 22 2004 Than Ngo <than@redhat.com> 1.31.0-9
|
|
|
|
- cleanup specfile
|
|
|
|
- fix multiarch problem
|
|
|
|
|
2004-09-09 03:37:49 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 03:37:14 +00:00
|
|
|
* Wed May 05 2004 Warren Togami <wtogami@redhat.com> 1.31.0-7
|
|
|
|
- missing Obsoletes boost-python
|
|
|
|
|
|
|
|
* Mon May 03 2004 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
- (#121630: gcc34 patch needed)
|
|
|
|
|
|
|
|
* Wed Apr 21 2004 Warren Togami <wtogami@redhat.com>
|
|
|
|
- #121415 FC2 BLOCKER: Obsoletes boost-python-devel, boost-doc
|
|
|
|
- other cleanups
|
|
|
|
|
|
|
|
* Tue Mar 30 2004 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
- Remove bjam dependency. (via Graydon).
|
|
|
|
- Fix installed library names.
|
|
|
|
- Fix SONAMEs in shared libraries.
|
|
|
|
- Fix installed header location.
|
|
|
|
- Fix installed permissions.
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Feb 09 2004 Benjamin Kosnik <bkoz@redhat.com> 1.31.0-2
|
2004-09-09 03:36:35 +00:00
|
|
|
- Update to boost-1.31.0
|
|
|
|
|
2004-09-09 03:37:14 +00:00
|
|
|
* Thu Jan 22 2004 Benjamin Kosnik <bkoz@redhat.com> 1.31.0-1
|
2004-09-09 03:36:19 +00:00
|
|
|
- Update to boost-1.31.0.rc2
|
|
|
|
- (#109307: Compile Failure with boost libraries)
|
|
|
|
- (#104831: Compile errors in apps using Boost.Python...)
|
|
|
|
- Unify into boost, boost-devel rpms.
|
|
|
|
- Simplify installation using bjam and prefix install.
|
|
|
|
|
2004-09-09 03:37:14 +00:00
|
|
|
* Tue Sep 09 2003 Nalin Dahyabhai <nalin@redhat.com> 1.30.2-2
|
2004-09-09 03:36:00 +00:00
|
|
|
- require boost-devel instead of devel in subpackages which require boost-devel
|
|
|
|
- remove stray Prefix: tag
|
|
|
|
|
2004-09-09 03:37:14 +00:00
|
|
|
* Mon Sep 08 2003 Benjamin Kosnik <bkoz@redhat.com> 1.30.2-1
|
2004-09-09 03:36:00 +00:00
|
|
|
- change license to Freely distributable
|
|
|
|
- verify installation of libboost_thread
|
|
|
|
- more boost-devel removals
|
|
|
|
- deal with lack of _REENTRANT on ia64/s390
|
|
|
|
- (#99458) rpm -e fixed via explict dir additions
|
|
|
|
- (#103293) update to 1.30.2
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue May 13 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- remove packager, change to new Group:
|
|
|
|
|
2004-09-09 03:37:14 +00:00
|
|
|
* Tue May 06 2003 Tim Powers <timp@redhat.com> 1.30.0-3
|
2004-09-09 03:36:00 +00:00
|
|
|
- add deffattr's so we don't have unknown users owning files
|