head	1.23;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.12
	OPENPKG_E1_MP:1.12
	OPENPKG_E1_MP_2_STABLE:1.11.2.2
	OPENPKG_E1_FP:1.11.2.2
	OPENPKG_2_STABLE_MP:1.11
	OPENPKG_2_STABLE_20061018:1.11.2.2
	OPENPKG_2_STABLE:1.11.0.2
	OPENPKG_CW_FP:1.3;
locks; strict;
comment	@-- @;


1.23
date	2009.11.18.21.28.14;	author rse;	state Exp;
branches;
next	1.22;
commitid	G1IKf4bI5mMmV2cu;

1.22
date	2009.08.29.09.47.14;	author rse;	state Exp;
branches;
next	1.21;
commitid	U5aCNhFPIdmiEz1u;

1.21
date	2009.06.30.20.20.09;	author rse;	state Exp;
branches;
next	1.20;
commitid	mW7f5wxeUG4f4VTt;

1.20
date	2009.06.08.11.20.25;	author rse;	state Exp;
branches;
next	1.19;
commitid	qNvU7ep1cxvGN2Rt;

1.19
date	2009.04.18.13.09.03;	author rse;	state Exp;
branches;
next	1.18;
commitid	4pHXU27WTIGCZuKt;

1.18
date	2009.03.27.10.11.10;	author rse;	state Exp;
branches;
next	1.17;
commitid	lZUM0oBSszlpLEHt;

1.17
date	2008.12.20.16.52.34;	author rse;	state Exp;
branches;
next	1.16;
commitid	UG2GmzDmFAoq6evt;

1.16
date	2008.01.01.14.51.27;	author rse;	state Exp;
branches;
next	1.15;
commitid	B8esaHJHoduuKILs;

1.15
date	2007.07.25.05.54.54;	author cs;	state Exp;
branches;
next	1.14;
commitid	o3M91vnxlwW9Z6rs;

1.14
date	2007.06.18.21.28.30;	author thl;	state Exp;
branches;
next	1.13;
commitid	BWt0mimIs7Malrms;

1.13
date	2007.06.17.19.18.32;	author thl;	state Exp;
branches;
next	1.12;
commitid	4qWh8OQiFU4AEims;

1.12
date	2007.01.01.17.36.53;	author rse;	state Exp;
branches;
next	1.11;
commitid	BicZD6VUl7GuqP0s;

1.11
date	2006.10.13.17.27.05;	author thl;	state Exp;
branches
	1.11.2.1;
next	1.10;
commitid	q5GSxzsSDX29XxQr;

1.10
date	2006.07.02.17.07.42;	author thl;	state Exp;
branches;
next	1.9;
commitid	7UIEAMLeP1ScbjDr;

1.9
date	2006.05.24.18.50.52;	author rse;	state Exp;
branches;
next	1.8;
commitid	2sKuWvpXDlTeZiyr;

1.8
date	2006.01.01.13.12.22;	author rse;	state Exp;
branches;
next	1.7;
commitid	otZG8yKMCw1JFTfr;

1.7
date	2005.11.10.07.09.07;	author rse;	state Exp;
branches;
next	1.6;
commitid	m7lXnbVNhsxcob9r;

1.6
date	2005.10.06.18.49.38;	author rse;	state Exp;
branches;
next	1.5;

1.5
date	2005.08.23.07.28.45;	author rse;	state Exp;
branches;
next	1.4;

1.4
date	2005.03.24.11.18.30;	author rse;	state Exp;
branches;
next	1.3;

1.3
date	2005.03.04.16.17.56;	author ms;	state Exp;
branches;
next	1.2;

1.2
date	2005.03.03.20.47.43;	author ms;	state Exp;
branches;
next	1.1;

1.1
date	2005.03.02.19.56.06;	author ms;	state Exp;
branches;
next	;

1.11.2.1
date	2006.10.13.17.27.05;	author rse;	state dead;
branches;
next	1.11.2.2;
commitid	iZxwRSmmWscPXUQr;

1.11.2.2
date	2006.10.16.14.48.41;	author rse;	state Exp;
branches;
next	;
commitid	iZxwRSmmWscPXUQr;


desc
@@


1.23
log
@upgrading package: boost 1.40.0 -> 1.41.0
@
text
@##
##  boost.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_openpkg    1.41.0
%define       V_dist       1_41_0

#   package information
Name:         boost
Summary:      Peer-Reviewed Portable C++ Libraries
URL:          http://www.boost.org/
Vendor:       Boost Community
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Language
License:      Boost Software License
Version:      %{V_openpkg}
Release:      20091118

#   package options
%option       with_debug     yes
%option       with_optimize  yes
%option       with_threads   yes
%option       with_zlib      yes
%option       with_bzip2     yes

#   list of sources
Source0:      http://switch.dl.sourceforge.net/boost/boost_%{V_dist}.tar.bz2
Patch0:       boost.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20040130, gcc, gcc::with_cxx = yes
PreReq:       OpenPKG, openpkg >= 20040130
%if "%{with_zlib}" == "yes"
BuildPreReq:  zlib
PreReq:       zlib
%endif
%if "%{with_bzip2}" == "yes"
BuildPreReq:  bzip2
PreReq:       bzip2
%endif
AutoReq:      no
AutoReqProv:  no

%description
    Boost provides peer-reviewed portable C++ class libraries, placing
    emphasis on libraries which work well with the C++ Standard
    Library. The libraries are intended to be widely useful, and are in
    regular use by thousands of programmers across a broad spectrum of
    applications.

    Aiming to provide missing functionality in current standards,
    Boost was begun by members of the C++ Standards Committee Library
    Working Group. Today, logic from a subset of the boost collection is
    under review by the ISO C++ Standards Committee and considered for
    inclusion in its future standards documents.

%track
    prog boost = {
        version   = %{V_dist}
        url       = http://sourceforge.net/projects/boost/files/
        regex     = boost_(\d+_\d+\_\d+)\.tar\.bz2
    }

%prep
    %setup -q -n boost_%{V_dist}
    %patch -p0
    rm -rf \
        libs/python \
        boost/python* \
        tools/build/v2/tools/python.jam

%build
    #   bootstrap bjam(1), the boost build system
    ( cd tools/jam/src
      ./build.sh gcc
    ) || exit $?

    #   create build subdirectory, prepare to build
    ln -sf tools/jam/src/bin.*/bjam bjam
    %{l_shtool} mkdir -p obj

    #   configure build options for bjam(1) -sBUILD parameter
    debugopts="release"
    optimizeopts="<optimization>off"
    threadopts="<threading>single"
%if "%{with_debug}" == "yes"
    debugopts="$debugopts debug"
%endif
%if "%{with_optimize}" == "yes"
    optimizeopts="<optimization>speed <inlining>full"
%endif
%if "%{with_threads}" == "yes"
    threadopts="<threading>single/multi"
%endif

    #   build all libraries
    ./bjam --toolset=gcc --layout=system --builddir=obj "-sBUILD=$debugopts $optimizeopts $threadopts" \
%if "%{with_zlib}" == "yes"
        "-sNO_COMPRESSION=0" "-sZLIB_INCLUDE=%{l_prefix}/include" "-sZLIB_LIBPATH=%{l_prefix}/lib" \
%else
        "-sNOZLIB=1" \
%endif
%if "%{with_bzip2}" == "yes"
        "-sNO_COMPRESSION=0" "-sBZIP2_INCLUDE=%{l_prefix}/include" "-sBZIP2_LIBPATH=%{l_prefix}/lib" \
%else
        "-sNOBZIP2=1" \
%endif
        stage

%install
    rm -rf $RPM_BUILD_ROOT
    ./bjam --toolset=gcc --layout=system --prefix=$RPM_BUILD_ROOT%{l_prefix} \
%if "%{with_zlib}" == "yes"
        "-sNO_COMPRESSION=0" "-sZLIB_INCLUDE=%{l_prefix}/include" "-sZLIB_LIBPATH=%{l_prefix}/lib" \
%else
        "-sNOZLIB=1" \
%endif
%if "%{with_bzip2}" == "yes"
        "-sNO_COMPRESSION=0" "-sBZIP2_INCLUDE=%{l_prefix}/include" "-sBZIP2_LIBPATH=%{l_prefix}/lib" \
%else
        "-sNOBZIP2=1" \
%endif
        install
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/include/boost-*
    find $RPM_BUILD_ROOT%{l_prefix}/lib/ \
        -name "*.so" -print -o \
        -name "libboost_*.so.%{V_openpkg}" \
        -print | xargs rm -f
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/bin
    %{l_shtool} install -c -m 755 \
        tools/jam/src/bin.*/bjam \
        $RPM_BUILD_ROOT%{l_prefix}/bin/
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.22
log
@upgrading package: boost 1.39.0 -> 1.40.0
@
text
@d25 2
a26 2
%define       V_openpkg    1.40.0
%define       V_dist       1_40_0
d39 1
a39 1
Release:      20090829
@


1.21
log
@switch to the new SourceForge.net website functionality where we can find all files (again)
@
text
@d25 2
a26 2
%define       V_openpkg    1.39.0
%define       V_dist       1_39_0
d39 1
a39 1
Release:      20090608
@


1.20
log
@upgrading package: boost 1.38.0 -> 1.39.0
@
text
@d84 1
a84 1
        url       = http://prdownloads.sourceforge.net/boost/
@


1.19
log
@bump years in copyright messages
@
text
@d25 2
a26 2
%define       V_openpkg    1.38.0
%define       V_dist       1_38_0
d39 1
a39 1
Release:      20090327
@


1.18
log
@upgrading package: boost 1.37.0 -> 1.38.0
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.17
log
@upgrading package: boost 1.34.1 -> 1.37.0
@
text
@d25 2
a26 2
%define       V_openpkg    1.37.0
%define       V_dist       1_37_0
d39 1
a39 1
Release:      20081220
@


1.16
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d25 2
a26 2
%define       V_openpkg    1.34.1
%define       V_dist       1_34_1
d39 1
a39 1
Release:      20080101
@


1.15
log
@upgrading package: boost 1.34.0 -> 1.34.1
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d39 1
a39 1
Release:      20070725
@


1.14
log
@make compression optional and make sure the OpenPKG headers and libraries are picked up
@
text
@d26 2
a27 2
%define       V_openpkg    1.34.0
%define       V_dist       1_34_0
d40 1
a40 1
Release:      20070618
d56 1
a56 1
BuildPreReq:  OpenPKG, openpkg >= 20040130, gcc
@


1.13
log
@upgrading package: boost 1.33.1 -> 1.34.0
@
text
@d40 1
a40 1
Release:      20070617
d46 2
d58 8
d104 2
a105 2
    ln -s tools/jam/src/bin.*/bjam bjam
    mkdir obj
d122 12
a133 1
    ./bjam --toolset=gcc --layout=system --builddir=obj -sBUILD="$debugopts $optimizeopts $threadopts" stage
d137 12
a148 1
    ./bjam --toolset=gcc --layout=system --prefix=$RPM_BUILD_ROOT%{l_prefix} install
@


1.12
log
@Welcome Year 2007!
@
text
@d26 2
a27 2
%define       V_openpkg    1.33.1
%define       V_dist       1_33_1
d40 1
a40 1
Release:      20061013
d85 1
a85 10
        tools/build/v1/python.jam

    #   accommodate platforms missing wide character support
    case "%{l_platform -t}" in
        *-freebsd4* )
            %{l_shtool} subst \
                -e 's;.*<lib>boost_wserialization.*;;' \
                libs/serialization/build/Jamfile
            ;;
    esac
d89 1
a89 1
    ( cd tools/build/jam_src
d94 1
a94 1
    ln -s tools/build/jam_src/bin.*/bjam bjam
d112 1
a112 1
    ./bjam --builddir=obj -sBUILD="$debugopts $optimizeopts $threadopts" stage
d116 1
a116 2
    ./bjam --prefix=$RPM_BUILD_ROOT%{l_prefix} install
    mv $RPM_BUILD_ROOT%{l_prefix}/include/boost-*/boost $RPM_BUILD_ROOT%{l_prefix}/include
d125 1
a125 1
        tools/build/jam_src/bin.*/bjam \
@


1.11
log
@new world order for "Packager" and "Distribution" headers
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
@


1.11.2.1
log
@file boost.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:48:41 +0000
@
text
@d1 143
@


1.11.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 143
##
##  boost.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_openpkg    1.33.1
%define       V_dist       1_33_1

#   package information
Name:         boost
Summary:      Peer-Reviewed Portable C++ Libraries
URL:          http://www.boost.org/
Vendor:       Boost Community
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Language
License:      Boost Software License
Version:      %{V_openpkg}
Release:      2.20061018

#   package options
%option       with_debug     yes
%option       with_optimize  yes
%option       with_threads   yes

#   list of sources
Source0:      http://switch.dl.sourceforge.net/boost/boost_%{V_dist}.tar.bz2
Patch0:       boost.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, gcc
PreReq:       OpenPKG, openpkg >= 2.20061018
AutoReq:      no
AutoReqProv:  no

%description
    Boost provides peer-reviewed portable C++ class libraries, placing
    emphasis on libraries which work well with the C++ Standard
    Library. The libraries are intended to be widely useful, and are in
    regular use by thousands of programmers across a broad spectrum of
    applications.

    Aiming to provide missing functionality in current standards,
    Boost was begun by members of the C++ Standards Committee Library
    Working Group. Today, logic from a subset of the boost collection is
    under review by the ISO C++ Standards Committee and considered for
    inclusion in its future standards documents.

%track
    prog boost = {
        version   = %{V_dist}
        url       = http://prdownloads.sourceforge.net/boost/
        regex     = boost_(\d+_\d+\_\d+)\.tar\.bz2
    }

%prep
    %setup -q -n boost_%{V_dist}
    %patch -p0
    rm -rf \
        libs/python \
        boost/python* \
        tools/build/v1/python.jam

    #   accommodate platforms missing wide character support
    case "%{l_platform -t}" in
        *-freebsd4* )
            %{l_shtool} subst \
                -e 's;.*<lib>boost_wserialization.*;;' \
                libs/serialization/build/Jamfile
            ;;
    esac

%build
    #   bootstrap bjam(1), the boost build system
    ( cd tools/build/jam_src
      ./build.sh gcc
    ) || exit $?

    #   create build subdirectory, prepare to build
    ln -s tools/build/jam_src/bin.*/bjam bjam
    mkdir obj

    #   configure build options for bjam(1) -sBUILD parameter
    debugopts="release"
    optimizeopts="<optimization>off"
    threadopts="<threading>single"
%if "%{with_debug}" == "yes"
    debugopts="$debugopts debug"
%endif
%if "%{with_optimize}" == "yes"
    optimizeopts="<optimization>speed <inlining>full"
%endif
%if "%{with_threads}" == "yes"
    threadopts="<threading>single/multi"
%endif

    #   build all libraries
    ./bjam --builddir=obj -sBUILD="$debugopts $optimizeopts $threadopts" stage

%install
    rm -rf $RPM_BUILD_ROOT
    ./bjam --prefix=$RPM_BUILD_ROOT%{l_prefix} install
    mv $RPM_BUILD_ROOT%{l_prefix}/include/boost-*/boost $RPM_BUILD_ROOT%{l_prefix}/include
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/include/boost-*
    find $RPM_BUILD_ROOT%{l_prefix}/lib/ \
        -name "*.so" -print -o \
        -name "libboost_*.so.%{V_openpkg}" \
        -print | xargs rm -f
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/bin
    %{l_shtool} install -c -m 755 \
        tools/build/jam_src/bin.*/bjam \
        $RPM_BUILD_ROOT%{l_prefix}/bin/
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.10
log
@upgrading package: boost 1.33.0 -> 1.33.1
@
text
@d34 2
a35 2
Packager:     OpenPKG
Distribution: OpenPKG
d40 1
a40 1
Release:      20060702
@


1.9
log
@SourceForge switched their URLs again and the canonical osdn.dl.sf.net no longer is available, hence switch to switch.dl.sf.net, one of the longest available and hopefully still long available mirrors
@
text
@d26 2
a27 2
%define       V_openpkg    1.33.0
%define       V_dist       1_33_0
d40 1
a40 1
Release:      20060524
@


1.8
log
@adjust copyrights for new year 2006
@
text
@d40 1
a40 1
Release:      20051110
d48 1
a48 1
Source0:      http://osdn.dl.sourceforge.net/boost/boost_%{V_dist}.tar.bz2
@


1.7
log
@track only releases
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2005 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <http://engelschall.com/>
@


1.6
log
@cleanup packaging somewhat although it still doesn't build for me correctly
@
text
@d40 1
a40 1
Release:      20051006
d76 1
a76 1
        regex     = boost_(__VER__)\.tar\.bz2
@


1.5
log
@upgrading package: boost 1.32.0 -> 1.33.0
@
text
@d31 1
a31 1
Summary:      Peer Reviewed Portable C++ Libraries
d33 1
a33 1
Vendor:       Boost community
d40 1
a40 1
Release:      20050823
a45 1
%option       with_python    no
a49 1
Patch1:       boost.patch.nopython
d55 1
a55 5
PreReq:       OpenPKG, openpkg >= 20040130, gcc
%if "%{with_python}" == "yes"
BuildPreReq:  python
PreReq:       python
%endif
d60 11
a70 10
    Boost provides peer reviewed portable C++ source libraries, placing
    emphasis on libraries which work well with the C++ Standard Library.
    The libraries are intended to be widely useful, and are in regular
    use by thousands of programmers across a broad spectrum of applications.

    Aiming to provide missing functionality in current standards, Boost was
    begun by members of the C++ Standards Committee Library Working Group.
    Today, logic from a subset of the boost collection is under review by
    the ISO C++ Standards Committee and considered for inclusion in its
    future standards documents.
d82 4
d87 1
a87 1
    #   acommodate platforms missing wide character support
d89 1
a89 1
        *-freebsd* )
a95 11
    #   acommodate python conditional stupid logic
%if "%{with_python}" == "yes"
    :
%else
    %patch -p0 -P 1
    rm -rf \
        libs/python \
        boost/python* \
        tools/build/v1/python.jam
%endif

d120 2
a121 3
    #   build all libraries with python bindings if so configured
    PYTHON_ROOT=%{l_prefix} PYTHON_VERSION= \
        ./bjam --builddir=obj -sBUILD="$debugopts $optimizeopts $threadopts" stage
@


1.4
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d26 2
a27 2
%define       V_openpkg    1.32.0
%define       V_dist       1_32_0
d40 1
a40 1
Release:      20050304
@


1.3
log
@finally clean up, abstract python patch code, improve description, and remove redundant environment variables and conditional constructs
@
text
@d2 3
a4 4
##  boost.spec -- OpenPKG RPM Specification
##  Copyright (c) 2000-2005 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2005 Cable & Wireless <http://www.cw.com/>
d34 1
a34 1
Packager:     The OpenPKG Project
@


1.2
log
@more work on strange bjam constructs and repair buildconf to allow FreeBSD building
@
text
@d41 1
a41 1
Release:      20050303
d52 1
d67 10
a76 5
    The boost collection provides peer reviewed portable C++ source
    libraries. The emphasis is on libraries which work well with the C++
    Standard Library. The libraries are intended to be widely useful, and
    are in regular use by thousands of programmers across a broad spectrum
    of applications.
d87 1
d100 1
d102 5
a106 2
    %patch -p0
    rm -rf libs/python boost/python* tools/build/v1/python.jam
d110 1
a110 1
    #   bootstrap bjam, the boost build system
d116 1
a117 1
    ln -s tools/build/jam_src/bin.*/bjam bjam
d119 1
a119 4
    #   build all libraries, maybe with python bindings
%if "%{with_debug}" == "yes"
    debugopts="debug release"
%else
a120 4
%endif
%if "%{with_optimize}" == "yes"
    optimizeopts="<optimization>speed <inlining>full"
%else
a121 4
%endif
%if "%{with_threads}" == "yes"
    threadopts="<threading>single/multi"
%else
a122 12
%endif
%if "%{with_python}" == "yes"
    PYTHON_ROOT=%{l_prefix} PYTHON_VERSION= \
        ./bjam --builddir=obj -sBUILD="$debugopts $optimizeopts $threadopts -d2 <runtime-link>static" stage
%else
    ./bjam --builddir=obj -sBUILD="$debugopts $optimizeopts $threadopts -d2 <runtime-link>static" stage
%endif

%install
    rm -rf $RPM_BUILD_ROOT

    #   install headers and libs the bjam way
d124 1
a124 3
    debugopts="debug release"
%else
    debugopts="release"
a127 2
%else
    optimizeopts="<optimization>off"
a130 2
%else
    threadopts="<threading>single"
d132 2
a133 1
%if "%{with_python}" == "yes"
d135 1
a135 4
        ./bjam --prefix=$RPM_BUILD_ROOT%{l_prefix} -sBUILD="$debugopts $optimizeopts $threadopts -d2 <runtime-link>static" install
%else
    ./bjam --prefix=$RPM_BUILD_ROOT%{l_prefix} -sBUILD="$debugopts $optimizeopts $threadopts -d2 <runtime-link>static" install
%endif
d137 3
a139 1
    #   clean up stray version numbers, dynamic libs, and install bjam
@


1.1
log
@new package: boost 1.32.0 (Collection of Useful C++ Libraries)
@
text
@a25 2
#   FIXME: MSvB: Completely untested, and therefore JUNK

d32 1
a32 1
Summary:      Collection of Useful C++ Libraries
d37 1
a37 1
Class:        JUNK
d41 1
a41 1
Release:      20050302
d44 4
a47 2
%option       with_debug   no
%option       with_python  no
d82 9
d95 1
a95 1
    rm -rf libs/python tools/build/v1/python.jam
d110 11
a120 1
    libtypes="debug release"
d122 1
a122 1
    libtypes="release"
d126 1
a126 1
        ./bjam --builddir=obj -sBUILD="$libtypes <runtime-link>static <threading>single/multi"
d128 1
a128 1
    ./bjam --builddir=obj -sBUILD="$libtypes <runtime-link>static <threading>single/multi"
d133 26
a158 2
    ./bjam --prefix=$RPM_BUILD_ROOT%{l_prefix} install InstallMan
    mv RPM_BUILD_ROOT%{l_prefix}/include/boost-*/boost RPM_BUILD_ROOT%{l_prefix}/include
d160 4
@

