2004-09-09 03:37:14 +00:00
|
|
|
%define tarball_name boost_1_31_0
|
2004-09-09 03:36:00 +00:00
|
|
|
|
|
|
|
Name: boost
|
|
|
|
Summary: The Boost C++ Libraries
|
2004-09-09 03:37:14 +00:00
|
|
|
Version: 1.31.0
|
2004-09-22 13:48:26 +00:00
|
|
|
Release: 9
|
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
|
|
|
|
Patch0: boost-compiler.patch
|
|
|
|
Patch1: boost-base.patch
|
|
|
|
Patch2: boost-gcc-tools.patch
|
|
|
|
Patch3: boost-lambda.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
|
|
|
|
%patch2 -p0
|
|
|
|
%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`
|
|
|
|
PYTHON_VERSION=`python -V 2>&1 |sed 's,.* \([0-9]\.[0-9]\)\(\.[0-9]\)\?.*,\1,'`
|
2004-09-09 03:36:19 +00:00
|
|
|
PYTHON_FLAGS="-sPYTHON_ROOT=/usr -sPYTHON_VERSION=$PYTHON_VERSION"
|
2004-09-09 03:37:14 +00:00
|
|
|
#$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release <dllversion>1"
|
|
|
|
$BJAM $PYTHON_FLAGS "-sTOOLS=gcc" "-sBUILD=release"
|
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-09-09 03:37:14 +00:00
|
|
|
for i in `find bin -type f -name \*.a`; do
|
|
|
|
NAME=`basename $i | sed 's,-gcc,,' | sed 's,-mt,,' | sed 's,-1_31,,'`;
|
2004-09-22 13:48:26 +00:00
|
|
|
install -m 644 $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
|
2004-09-09 03:37:14 +00:00
|
|
|
done;
|
|
|
|
for i in `find bin -type f -name \*.so.1.31.0`; do
|
|
|
|
NAME=`basename $i | sed 's,-gcc,,' | sed 's,-mt,,' | sed 's,-1_31,,'`;
|
2004-09-22 13:48:26 +00:00
|
|
|
install -m 644 $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
|
2004-09-09 03:37:14 +00:00
|
|
|
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-09-22 13:48:26 +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-09-22 13:48:26 +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
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2004-09-22 13:48:26 +00:00
|
|
|
%files
|
2004-09-09 03:36:00 +00:00
|
|
|
%defattr(-, root, root)
|
2004-09-22 13:48:26 +00:00
|
|
|
%{_libdir}/*.so.*
|
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
|
2004-09-09 03:36:00 +00:00
|
|
|
|
|
|
|
%changelog
|
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
|