2005-08-19 16:06:47 +00:00
|
|
|
%define tarball_name boost_1_33_0
|
2004-09-09 03:36:00 +00:00
|
|
|
|
|
|
|
Name: boost
|
|
|
|
Summary: The Boost C++ Libraries
|
2005-08-19 16:06:47 +00:00
|
|
|
Version: 1.33.0
|
|
|
|
Release: 1
|
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
|
|
|
|
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
|
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
|
|
|
|
Library. One goal is to establish "existing practice" and provide
|
|
|
|
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
|
2004-09-09 03:36:19 +00:00
|
|
|
Summary: The Boost C++ Headers
|
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
|
2004-09-09 03:36:19 +00:00
|
|
|
Headers for the 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
|
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)
|
|
|
|
#build boost with bjam
|
|
|
|
BJAM=`find tools/build/jam_src/ -name bjam -a -type f`
|
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"
|
2005-03-18 16:35:21 +00:00
|
|
|
#$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release <dllversion>1" stage
|
|
|
|
$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release" stage
|
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}
|
|
|
|
|
|
|
|
# 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;
|
2004-11-30 02:24:44 +00:00
|
|
|
for i in `find stage -type f -name \*.so.*`; do
|
|
|
|
NAME=`basename $i`;
|
|
|
|
install -m 755 $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
|
2004-09-09 03:37:14 +00:00
|
|
|
done;
|
2005-03-17 01:12:29 +00:00
|
|
|
for i in `find stage -type l -name \*.so`; do
|
|
|
|
NAME=`basename $i`;
|
|
|
|
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
|
|
|
|
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}
|
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
|
|
|
|
|
|
|
%changelog
|
2005-08-19 16:06:47 +00:00
|
|
|
* Fri Aug 12 2005 Benjamin Kosnik <bkoz@redhat.com> 1.33.0-1
|
|
|
|
- Update to boost-1.33.0
|
|
|
|
- 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
|