5 Summary: The Boost C++ Libraries
9 URL: http://www.boost.org/
10 Group: System Environment/Libraries
11 Source: boost_1_37_0.tar.bz2
12 Obsoletes: boost-doc <= 1.30.2
13 Obsoletes: boost-python <= 1.30.2
14 Provides: boost-python = %{version}-%{release}
15 Provides: boost-doc = %{version}-%{release}
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17 BuildRequires: libstdc++-devel
18 BuildRequires: bzip2-libs
19 BuildRequires: bzip2-devel
20 BuildRequires: zlib-devel
21 BuildRequires: python-devel
22 BuildRequires: libicu-devel
23 BuildRequires: chrpath
24 Patch0: boost-configure.patch
25 Patch1: boost-use-rpm-optflags.patch
26 Patch2: boost-run-tests.patch
27 Patch3: boost-gcc43.patch
28 Patch4: boost-gcc-soname.patch
29 Patch5: boost-function_template.patch
30 Patch6: boost-unneccessary_iostreams.patch
31 Patch7: boost-1_37_0-smp.patch
32 Patch8: boost-bitset.patch
35 Boost provides free peer-reviewed portable C++ source libraries. The
36 emphasis is on libraries which work well with the C++ Standard
37 Library, in the hopes of establishing "existing practice" for
38 extensions and providing reference implementations so that the Boost
39 libraries are suitable for eventual standardization. (Some of the
40 libraries have already been proposed for inclusion in the C++
41 Standards Committee's upcoming C++ Standard Library Technical Report.)
44 Summary: The Boost C++ headers and shared development libraries
45 Group: Development/Libraries
46 Requires: boost = %{version}-%{release}
47 Provides: boost-python-devel = %{version}-%{release}
50 Headers and shared object symlinks for the Boost C++ libraries.
53 Summary: The Boost C++ static development libraries
54 Group: Development/Libraries
55 Requires: boost-devel = %{version}-%{release}
56 Obsoletes: boost-devel-static < 1.34.1-14
57 Provides: boost-devel-static = %{version}-%{release}
60 Static Boost C++ libraries.
63 Summary: The Boost C++ html docs
65 Provides: boost-python-docs = %{version}-%{release}
68 HTML documentation files for Boost C++ libraries.
71 %setup -q -n %{name}_1_37_0
76 sed 's/!!!SONAME!!!/%{sonamever}/' %{PATCH4} | %{__patch} -p1 --fuzz=0
79 sed 's/!!!SMP_FLAGS!!!/%{?_smp_mflags}/' %{PATCH7} | %{__patch} -p1 --fuzz=0
87 # build make tools, ie bjam, necessary for building libs, docs, and testing
88 (cd tools/jam/src && ./build.sh)
89 BJAM=`find tools/jam/src/ -name bjam -a -type f`
91 BUILD_FLAGS="--with-toolset=gcc"
92 PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
93 PYTHON_FLAGS="--with-python-root=/usr --with-python-version=$PYTHON_VERSION"
94 REGEX_FLAGS="--with-icu"
95 ./configure $BUILD_FLAGS $PYTHON_FLAGS $REGEX_FLAGS
98 # build docs, requires a network connection for docbook XSLT stylesheets
100 #chmod +x ../tools/boostbook/setup_boostbook.sh
101 #../tools/boostbook/setup_boostbook.sh
102 #$BOOST_ROOT/$BJAM --v2 -sICU_PATH=/usr --user-config=../user-config.jam html
107 echo "<p>" `uname -a` "</p>" > status/regression_comment.html
108 echo "" >> status/regression_comment.html
109 echo "<p>" `g++ --version` "</p>" >> status/regression_comment.html
110 echo "" >> status/regression_comment.html
112 chmod +x tools/regression/run_tests.sh
113 ./tools/regression/run_tests.sh
115 results1=status/cs-`uname`.html
116 results2=status/cs-`uname`-links.html
117 email=benjamin.kosnik@gmail.com
118 if [ -f $results1 ] && [ -f $results2 ]; then
119 echo "sending results starting"
120 testdate=`date +%Y%m%d`
122 results=boost-results-$testdate-$testarch.tar.bz2
123 tar -cvf boost-results-$testdate-$testarch.tar $results1 $results2
124 bzip2 -f boost-results-$testdate-$testarch.tar
125 echo | mutt -s "$testdate boost regression $testarch" -a $results $email
126 echo "sending results finished"
128 echo "error sending results"
133 rm -rf $RPM_BUILD_ROOT
134 mkdir -p $RPM_BUILD_ROOT%{_libdir}
135 mkdir -p $RPM_BUILD_ROOT%{_includedir}
136 mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
139 for i in `find stage -type f -name \*.a`; do
141 install -p -m 0644 $i $RPM_BUILD_ROOT%{_libdir}/$NAME;
143 for i in `find stage -type f -name \*.so`; do
145 SONAME=$i.%{sonamever};
149 SONAMEbase=$base.%{sonamever};
150 VNAMEbase=$base.%{version};
154 chrpath --delete $VNAME;
156 ln -s $VNAMEbase $SONAME;
157 ln -s $VNAMEbase $NAME;
158 install -p -m 755 $VNAME $RPM_BUILD_ROOT%{_libdir}/$VNAMEbase;
160 mv $SONAME $RPM_BUILD_ROOT%{_libdir}/$SONAMEbase;
161 mv $NAME $RPM_BUILD_ROOT%{_libdir}/$NAMEbase;
164 # install include files
165 find %{name} -type d | while read a; do
166 mkdir -p $RPM_BUILD_ROOT%{_includedir}/$a
167 find $a -mindepth 1 -maxdepth 1 -type f \
168 | xargs -r install -m 644 -p -t $RPM_BUILD_ROOT%{_includedir}/$a
172 DOCPATH=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
173 find libs doc more -type f \( -name \*.htm -o -name \*.html \) \
174 | sed -n '/\//{s,/[^/]*$,,;p}' \
175 | sort -u > tmp-doc-directories
176 sed "s:^:$DOCPATH:" tmp-doc-directories | xargs -r mkdir -p
177 cat tmp-doc-directories | while read a; do
178 find $a -mindepth 1 -maxdepth 1 -name \*.htm\* \
179 | xargs install -m 644 -p -t $DOCPATH$a
181 rm tmp-doc-directories
182 install -p -m 644 -t $DOCPATH LICENSE_1_0.txt index.htm
184 # remove scripts used to generate include files
185 find $RPM_BUILD_ROOT%{_includedir}/ \( -name '*.pl' -o -name '*.sh' \) -exec rm {} \;
188 rm -rf $RPM_BUILD_ROOT
190 %post -p /sbin/ldconfig
192 %postun -p /sbin/ldconfig
195 %defattr(-, root, root, -)
196 %{_libdir}/*.so.%{version}
197 %{_libdir}/*.so.%{sonamever}
200 %defattr(-, root, root, -)
205 %defattr(-, root, root, -)
209 %defattr(-, root, root, -)
210 %doc %{_docdir}/%{name}-%{version}
213 * Mon Mar 23 2009 Petr Machata <pmachata@redhat.com> - 1.37.0-6
214 - Apply a SMP patch from Stefan Ring
215 - Apply a workaround for "cannot appear in a constant-expression" in
216 dynamic_bitset library.
219 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37.0-4
220 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
222 * Mon Jan 12 2009 Petr Machata <pmachata@redhat.com> - 1.37.0-3
223 - Apply a unneccessary_iostreams patch from Caolan McNamara
224 - Fix soname patch so that it applies with fuzz=0. Use fuzz=0 option
225 in spec file just like ordinary patches do.
228 * Fri Dec 19 2008 Petr Machata <pmachata@redhat.com> - 1.37.0-2
229 - Apply a function_template patch from Caolan McNamara
232 * Tue Dec 16 2008 Benjamin Kosnik <bkoz@redhat.com> - 1.37.0-1
233 - Fix rpmlint rpath errors.
234 - Fix rpmlint warnings on tabs and spaces.
237 * Tue Nov 17 2008 Benjamin Kosnik <bkoz@redhat.com> - 1.37.0-0.1
240 * Tue Oct 21 2008 Benjamin Kosnik <bkoz@redhat.com> - 1.36.0-1
243 * Mon Oct 6 2008 Petr Machata <pmachata@redhat.com> - 1.34.1-17
244 - Fix gcc43 patch to apply cleanly under --fuzz=0
247 * Mon Aug 11 2008 Petr Machata <pmachata@redhat.com> - 1.36.0-0.1.beta1
248 - Rebase to 1.36.0.beta1
249 - Drop boost-regex.patch and portions of boost-gcc43.patch, port the rest
250 - Automate SONAME tracking and bump SONAME to 4
251 - Adjust boost-configure.patch to include threading=single,multi explicitly
253 * Thu Jun 12 2008 Petr Machata <pmachata@redhat.com> - 1.34.1-16
254 - Fix "changes meaning of keywords" in boost date_time
257 * Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.34.1-15
260 * Thu Mar 27 2008 Petr Machata <pmachata@redhat.com> - 1.34.1-14
261 - Change devel-static back to static.
264 * Wed Mar 26 2008 Petr Machata <pmachata@redhat.com> - 1.34.1-13
265 - Install library doc files
266 - Revamp %%install phase to speed up overall build time
267 - Some cleanups per merge review
270 * Thu Feb 14 2008 Petr Machata <pmachata@redhat.com> - 1.34.1-12
271 - Fix "changes meaning of keywords" in boost python
274 * Wed Feb 13 2008 Petr Machata <pmachata@redhat.com> - 1.34.1-11
275 - Fix "changes meaning of special_values_parser" in boost date_time
278 * Wed Feb 6 2008 Petr Machata <pmachata@redhat.com> - 1.34.1-10
282 * Mon Jan 14 2008 Benjamin Kosnik <bkoz@redhat.com> 1.34.1-7
283 - Fixes for boost.regex (rev 42674).
285 * Wed Sep 19 2007 Benjamin Kosnik <bkoz@redhat.com> 1.34.1-5
286 - (#283771: Linking against boost libraries fails).
288 * Tue Aug 21 2007 Benjamin Kosnik <bkoz@redhat.com> 1.34.1-4
291 * Wed Aug 08 2007 Benjamin Kosnik <bkoz@redhat.com> 1.34.1-3
292 - Rebuild for icu 3.8 bump.
294 * Thu Aug 02 2007 Benjamin Kosnik <bkoz@redhat.com> 1.34.1-2
297 * Tue Jul 31 2007 Benjamin Kosnik <bkoz@redhat.com> 1.34.1-1
298 - Update to boost_1_34_1.
300 - Philipp Thomas <pth.suse.de> fix for RPM_OPT_FLAGS
301 - Philipp Thomas <pth.suse.de> fix for .so sym links.
302 - (#225622) Patrice Dumas review comments.
304 * Tue Jun 26 2007 Benjamin Kosnik <bkoz@redhat.com> 1.34.1.rc1-0.1
305 - Update to boost_1_34_1_RC1.
307 * Mon Apr 02 2007 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-13
308 - (#225622: Merge Review: boost)
309 Change static to devel-static.
311 * Mon Mar 26 2007 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-12
312 - (#233523: libboost_python needs rebuild against python 2.5)
315 * Mon Mar 26 2007 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-11
316 - (#225622: Merge Review: boost)
318 BuildRoot to preferred value.
319 PreReq to post/postun -p
320 Clarified BSL as GPL-Compatible, Free Software License.
322 Add Provides boost-python.
323 Remove mkdir -p $RPM_BUILD_ROOT%%{_docdir}
324 Added periods for decription text.
326 Remove doc Requires boost.
327 Preserve timestamps on install.
328 Use %%defattr(-, root, root, -)
329 Added static package for .a libs.
330 Install static libs with 0644 permissions.
331 Use %%doc for doc files.
333 * Mon Jan 22 2007 Benjamin Kosnik <bkoz@redhat.com> 1.34.0-0.5
334 - Update to boost.RC_1_34_0 snapshot as of 2007-01-19.
335 - Modify build procedures for boost build v2.
336 - Add *-mt variants for libraries, or at least variants that use
337 threads (regex and thread).
339 * Thu Nov 23 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-10
340 - (#182414: boost: put tests in %%check section) via Rex Dieter
341 - Fix EVR with %%{?dist} tag via Gianluca Sforna
343 * Wed Nov 15 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-9
344 - (#154784: boost-debuginfo package is empty)
346 * Tue Nov 14 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-8
347 - (#205866: Revert scanner.hpp change.)
349 * Mon Nov 13 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-7
350 - (#205866: boost::spirit generates warnings with -Wshadow)
351 - (#205863: serialization lib generates warnings)
352 - (#204326: boost RPM missing dependencies)
353 - (#193465: [SIGNAL/BIND] Regressions with GCC 4.1)
354 - BUILD_FLAGS, add, to see actual compile line.
355 - REGEX_FLAGS, add, to compile regex with ICU support.
357 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.33.1-6.1
360 * Tue May 16 2006 Karsten Hopp <karsten@redhat.de> 1.33.1-6
361 - buildrequire python-devel for Python.h
363 * Thu Feb 16 2006 Florian La Roche <laroche@redhat.com> - 1.33.1-5
364 - use the real version number to point to the shared libs
366 * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.33.1-4.2
367 - bump again for double-long bug on ppc(64)
369 * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.33.1-4.1
370 - rebuilt for new gcc4.1 snapshot and glibc changes
372 * Thu Jan 05 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-4
373 - Fix symbolic links.
375 * Wed Jan 04 2006 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-3
376 - Update to boost-1.33.1.
377 - (#176485: Missing BuildRequires)
378 - (#169271: /usr/lib/libboost*.so.? links missing in package)
380 * Thu Dec 22 2005 Jesse Keating <jkeating@redhat.com> 1.33.1-2
383 * Mon Nov 14 2005 Benjamin Kosnik <bkoz@redhat.com> 1.33.1-1
384 - Update to boost-1.33.1 beta.
385 - Run testsuite, gather results.
387 * Tue Oct 11 2005 Nils Philippsen <nphilipp@redhat.com> 1.33.0-4
388 - build require bzip2-devel and zlib-devel
390 * Tue Aug 23 2005 Benjamin Kosnik <bkoz@redhat.com> 1.33.0-3
391 - Create doc package again.
392 - Parts of the above by Neal Becker <ndbecker2@gmail.com>.
394 * Fri Aug 12 2005 Benjamin Kosnik <bkoz@redhat.com> 1.33.0-1
395 - Update to boost-1.33.0, update SONAME to 2 due to ABI changes.
396 - Simplified PYTHON_VERSION by Philipp Thomas <pth@suse.de>
398 * Tue May 24 2005 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-6
399 - (#153093: boost warns that gcc 4.0.0 is an unknown compiler)
400 - (#152205: development .so symlinks should be in -devel subpackage)
401 - (#154783: linker .so symlinks missing from boost-devel package)
403 * Fri Mar 18 2005 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-5
404 - Revert boost-base.patch to old behavior.
405 - Use SONAMEVERSION instead of dllversion.
407 * Wed Mar 16 2005 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-4
408 - (#142612: Compiling Boost 1.32.0 Failed in RHEL 3.0 on Itanium2)
409 - (#150069: libboost_python.so is missing)
410 - (#141617: bad patch boost-base.patch)
411 - (#122817: libboost_*.so symlinks missing)
412 - Re-add boost-thread.patch.
413 - Change boost-base.patch to show thread tags.
414 - Change boost-gcc-tools.patch to use SOTAG, compile with dllversion.
415 - Add symbolic links to files.
416 - Sanity check can compile with gcc-3.3.x, gcc-3.4.2, gcc-4.0.x., gcc-4.1.x.
418 * Thu Dec 02 2004 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-3
419 - (#122817: libboost_*.so symlinks missing)
420 - (#141574: half of the package is missing)
421 - (#141617: bad patch boost-base.patch)
423 * Wed Dec 01 2004 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-2
424 - Remove bogus Obsoletes.
426 * Mon Nov 29 2004 Benjamin Kosnik <bkoz@redhat.com> 1.32.0-1
429 * Wed Sep 22 2004 Than Ngo <than@redhat.com> 1.31.0-9
431 - fix multiarch problem
433 * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
436 * Wed May 05 2004 Warren Togami <wtogami@redhat.com> 1.31.0-7
437 - missing Obsoletes boost-python
439 * Mon May 03 2004 Benjamin Kosnik <bkoz@redhat.com>
440 - (#121630: gcc34 patch needed)
442 * Wed Apr 21 2004 Warren Togami <wtogami@redhat.com>
443 - #121415 FC2 BLOCKER: Obsoletes boost-python-devel, boost-doc
446 * Tue Mar 30 2004 Benjamin Kosnik <bkoz@redhat.com>
447 - Remove bjam dependency. (via Graydon).
448 - Fix installed library names.
449 - Fix SONAMEs in shared libraries.
450 - Fix installed header location.
451 - Fix installed permissions.
453 * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
456 * Mon Feb 09 2004 Benjamin Kosnik <bkoz@redhat.com> 1.31.0-2
457 - Update to boost-1.31.0
459 * Thu Jan 22 2004 Benjamin Kosnik <bkoz@redhat.com> 1.31.0-1
460 - Update to boost-1.31.0.rc2
461 - (#109307: Compile Failure with boost libraries)
462 - (#104831: Compile errors in apps using Boost.Python...)
463 - Unify into boost, boost-devel rpms.
464 - Simplify installation using bjam and prefix install.
466 * Tue Sep 09 2003 Nalin Dahyabhai <nalin@redhat.com> 1.30.2-2
467 - require boost-devel instead of devel in subpackages which require boost-devel
468 - remove stray Prefix: tag
470 * Mon Sep 08 2003 Benjamin Kosnik <bkoz@redhat.com> 1.30.2-1
471 - change license to Freely distributable
472 - verify installation of libboost_thread
473 - more boost-devel removals
474 - deal with lack of _REENTRANT on ia64/s390
475 - (#99458) rpm -e fixed via explict dir additions
476 - (#103293) update to 1.30.2
478 * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
481 * Tue May 13 2003 Florian La Roche <Florian.LaRoche@redhat.de>
482 - remove packager, change to new Group:
484 * Tue May 06 2003 Tim Powers <timp@redhat.com> 1.30.0-3
485 - add deffattr's so we don't have unknown users owning files