%global __strip %{_mingw32_strip} %global __objdump %{_mingw32_objdump} %global _use_internal_dependency_generator 0 %global __find_requires %{_mingw32_findrequires} %global __find_provides %{_mingw32_findprovides} %define __debug_install_post %{_mingw32_debug_install_post} %global name1 boost Name: mingw32-%{name1} Version: 1.41.0 Release: 1%{?dist} Summary: MinGW Windows port of Boost C++ Libraries License: Boost Group: Development/Libraries URL: http://sodium.resophonic.com/boost-cmake/%{version}.cmake0/ %global full_version %{name1}-%{version}.cmake0 Source: %{full_version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: boost-cmake-soname.patch Patch1: boost-graph-compile.patch %if 0%{?fedora} >= 13 %global sonamever %{version} %else %global sonamever 5 %endif BuildArch: noarch BuildRequires: cmake BuildRequires: file BuildRequires: mingw32-filesystem >= 52 BuildRequires: mingw32-gcc BuildRequires: mingw32-gcc-c++ BuildRequires: mingw32-binutils BuildRequires: mingw32-bzip2 BuildRequires: mingw32-zlib BuildRequires: mingw32-expat BuildRequires: mingw32-pthreads BuildRequires: perl # These are required by the native package: #BuildRequires: mingw32-python #BuildRequires: mingw32-libicu %description Boost provides free peer-reviewed portable C++ source libraries. The emphasis is on libraries which work well with the C++ Standard 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.) %package static Summary: Static version of the MinGW Windows Boost C++ library Requires: %{name} = %{version}-%{release} Group: Development/Libraries %description static Static version of the MinGW Windows Boost C++ library. %{_mingw32_debug_package} %prep %setup -q -n %{full_version} sed 's/_FEDORA_SONAME/%{sonamever}/' %{PATCH0} | %{__patch} -p0 --fuzz=0 %patch1 -p0 %build %{__mkdir_p} build cd build # Support for building tests. %define boost_testflags -DBUILD_TESTS="NONE" %_mingw32_cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo %{boost_testflags} \ -DENABLE_SINGLE_THREADED=YES -DINSTALL_VERSIONED=OFF .. make VERBOSE=1 %{?_smp_mflags} cd %{_builddir}/%{full_version} %install %{__rm} -rf $RPM_BUILD_ROOT cd %{_builddir}/%{full_version}/build DESTDIR=$RPM_BUILD_ROOT make VERBOSE=1 install cd %{_builddir}/%{full_version} # Remove scripts used to generate include files find $RPM_BUILD_ROOT%{_mingw32_includedir}/ \( -name '*.pl' -o -name '*.sh' \) -exec %{__rm} -f {} \; # Remove cmake configuration files used to build the Boost libraries find $RPM_BUILD_ROOT%{_mingw32_libdir}/ -name '*.cmake' -exec %{__rm} -f {} \; # Move DLL's to bindir %{__install} -d $RPM_BUILD_ROOT $RPM_BUILD_ROOT%{_mingw32_bindir} mv $RPM_BUILD_ROOT%{_mingw32_libdir}/boost*.dll $RPM_BUILD_ROOT%{_mingw32_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE_1_0.txt %{_mingw32_includedir}/boost %{_mingw32_bindir}/boost_date_time-gcc44-1_41.dll %{_mingw32_libdir}/libboost_date_time-gcc44-1_41.dll.a %{_mingw32_bindir}/boost_date_time-gcc44-d-1_41.dll %{_mingw32_libdir}/libboost_date_time-gcc44-d-1_41.dll.a %{_mingw32_bindir}/boost_date_time-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_date_time-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_date_time-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_date_time-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_filesystem-gcc44-1_41.dll %{_mingw32_libdir}/libboost_filesystem-gcc44-1_41.dll.a %{_mingw32_bindir}/boost_filesystem-gcc44-d-1_41.dll %{_mingw32_libdir}/libboost_filesystem-gcc44-d-1_41.dll.a %{_mingw32_bindir}/boost_filesystem-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_filesystem-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_filesystem-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_filesystem-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_graph-gcc44-1_41.dll %{_mingw32_libdir}/libboost_graph-gcc44-1_41.dll.a %{_mingw32_bindir}/boost_graph-gcc44-d-1_41.dll %{_mingw32_libdir}/libboost_graph-gcc44-d-1_41.dll.a %{_mingw32_bindir}/boost_graph-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_graph-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_graph-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_graph-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_iostreams-gcc44-1_41.dll %{_mingw32_libdir}/libboost_iostreams-gcc44-1_41.dll.a %{_mingw32_bindir}/boost_iostreams-gcc44-d-1_41.dll %{_mingw32_libdir}/libboost_iostreams-gcc44-d-1_41.dll.a %{_mingw32_bindir}/boost_iostreams-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_iostreams-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_iostreams-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_iostreams-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_prg_exec_monitor-gcc44-1_41.dll %{_mingw32_libdir}/libboost_prg_exec_monitor-gcc44-1_41.dll.a %{_mingw32_bindir}/boost_prg_exec_monitor-gcc44-d-1_41.dll %{_mingw32_libdir}/libboost_prg_exec_monitor-gcc44-d-1_41.dll.a %{_mingw32_bindir}/boost_prg_exec_monitor-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_prg_exec_monitor-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_prg_exec_monitor-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_prg_exec_monitor-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_program_options-gcc44-1_41.dll %{_mingw32_libdir}/libboost_program_options-gcc44-1_41.dll.a %{_mingw32_bindir}/boost_program_options-gcc44-d-1_41.dll %{_mingw32_libdir}/libboost_program_options-gcc44-d-1_41.dll.a %{_mingw32_bindir}/boost_program_options-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_program_options-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_program_options-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_program_options-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_regex-gcc44-1_41.dll %{_mingw32_libdir}/libboost_regex-gcc44-1_41.dll.a %{_mingw32_bindir}/boost_regex-gcc44-d-1_41.dll %{_mingw32_libdir}/libboost_regex-gcc44-d-1_41.dll.a %{_mingw32_bindir}/boost_regex-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_regex-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_regex-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_regex-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_serialization-gcc44-1_41.dll %{_mingw32_libdir}/libboost_serialization-gcc44-1_41.dll.a %{_mingw32_bindir}/boost_serialization-gcc44-d-1_41.dll %{_mingw32_libdir}/libboost_serialization-gcc44-d-1_41.dll.a %{_mingw32_bindir}/boost_serialization-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_serialization-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_serialization-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_serialization-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_signals-gcc44-1_41.dll %{_mingw32_libdir}/libboost_signals-gcc44-1_41.dll.a %{_mingw32_bindir}/boost_signals-gcc44-d-1_41.dll %{_mingw32_libdir}/libboost_signals-gcc44-d-1_41.dll.a %{_mingw32_bindir}/boost_signals-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_signals-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_signals-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_signals-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_system-gcc44-1_41.dll %{_mingw32_libdir}/libboost_system-gcc44-1_41.dll.a %{_mingw32_bindir}/boost_system-gcc44-d-1_41.dll %{_mingw32_libdir}/libboost_system-gcc44-d-1_41.dll.a %{_mingw32_bindir}/boost_system-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_system-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_system-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_system-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_thread-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_thread-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_thread-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_thread-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_unit_test_framework-gcc44-1_41.dll %{_mingw32_libdir}/libboost_unit_test_framework-gcc44-1_41.dll.a %{_mingw32_bindir}/boost_unit_test_framework-gcc44-d-1_41.dll %{_mingw32_libdir}/libboost_unit_test_framework-gcc44-d-1_41.dll.a %{_mingw32_bindir}/boost_unit_test_framework-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_unit_test_framework-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_unit_test_framework-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_unit_test_framework-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_wave-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_wave-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_wave-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_wave-gcc44-mt-d-1_41.dll.a %{_mingw32_bindir}/boost_wserialization-gcc44-1_41.dll %{_mingw32_libdir}/libboost_wserialization-gcc44-1_41.dll.a %{_mingw32_bindir}/boost_wserialization-gcc44-d-1_41.dll %{_mingw32_libdir}/libboost_wserialization-gcc44-d-1_41.dll.a %{_mingw32_bindir}/boost_wserialization-gcc44-mt-1_41.dll %{_mingw32_libdir}/libboost_wserialization-gcc44-mt-1_41.dll.a %{_mingw32_bindir}/boost_wserialization-gcc44-mt-d-1_41.dll %{_mingw32_libdir}/libboost_wserialization-gcc44-mt-d-1_41.dll.a %{_mingw32_datadir}/%{name1}-%{version} %{_mingw32_datadir}/cmake/%{name1}/BoostConfig*.cmake %files static %defattr(-,root,root,-) %{_mingw32_libdir}/libboost_date_time-gcc44-1_41.a %{_mingw32_libdir}/libboost_date_time-gcc44-d-1_41.a %{_mingw32_libdir}/libboost_date_time-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_date_time-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_filesystem-gcc44-1_41.a %{_mingw32_libdir}/libboost_filesystem-gcc44-d-1_41.a %{_mingw32_libdir}/libboost_filesystem-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_filesystem-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_iostreams-gcc44-1_41.a %{_mingw32_libdir}/libboost_iostreams-gcc44-d-1_41.a %{_mingw32_libdir}/libboost_iostreams-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_iostreams-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_prg_exec_monitor-gcc44-1_41.a %{_mingw32_libdir}/libboost_prg_exec_monitor-gcc44-d-1_41.a %{_mingw32_libdir}/libboost_prg_exec_monitor-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_prg_exec_monitor-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_program_options-gcc44-1_41.a %{_mingw32_libdir}/libboost_program_options-gcc44-d-1_41.a %{_mingw32_libdir}/libboost_program_options-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_program_options-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_regex-gcc44-1_41.a %{_mingw32_libdir}/libboost_regex-gcc44-d-1_41.a %{_mingw32_libdir}/libboost_regex-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_regex-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_serialization-gcc44-1_41.a %{_mingw32_libdir}/libboost_serialization-gcc44-d-1_41.a %{_mingw32_libdir}/libboost_serialization-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_serialization-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_signals-gcc44-1_41.a %{_mingw32_libdir}/libboost_signals-gcc44-d-1_41.a %{_mingw32_libdir}/libboost_signals-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_signals-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_system-gcc44-1_41.a %{_mingw32_libdir}/libboost_system-gcc44-d-1_41.a %{_mingw32_libdir}/libboost_system-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_system-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_test_exec_monitor-gcc44-1_41.a %{_mingw32_libdir}/libboost_test_exec_monitor-gcc44-d-1_41.a %{_mingw32_libdir}/libboost_test_exec_monitor-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_test_exec_monitor-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_thread-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_thread-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_unit_test_framework-gcc44-1_41.a %{_mingw32_libdir}/libboost_unit_test_framework-gcc44-d-1_41.a %{_mingw32_libdir}/libboost_unit_test_framework-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_unit_test_framework-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_wave-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_wave-gcc44-mt-d-1_41.a %{_mingw32_libdir}/libboost_wserialization-gcc44-1_41.a %{_mingw32_libdir}/libboost_wserialization-gcc44-d-1_41.a %{_mingw32_libdir}/libboost_wserialization-gcc44-mt-1_41.a %{_mingw32_libdir}/libboost_wserialization-gcc44-mt-d-1_41.a %changelog * Wed Jan 20 2010 Thomas Sailer - 1.41.0-1 - update to 1.41.0 * Sat Jul 25 2009 Fedora Release Engineering - 1.39.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Jun 22 2009 Thomas Sailer - 1.39.0-2 - add debuginfo packages * Thu Jun 18 2009 Thomas Sailer - 1.39.0-1 - update to 1.39.0 * Thu May 28 2009 Thomas Sailer - 1.37.0-4 - use boost buildsystem to build DLLs * Wed May 27 2009 Thomas Sailer - 1.37.0-3 - use mingw32 ar * Tue May 26 2009 Thomas Sailer - 1.37.0-2 - fix %%defattr - fix description of static package - add comments that detail the failures linking the test framework / exec monitor DLL's * Sun May 24 2009 Thomas Sailer - 1.37.0-1 - update to 1.37.0 - actually tell the build system about the target os - build also boost DLL's that depend on other boost DLL's * Fri Jan 23 2009 Richard W.M. Jones - 1.34.1-4 - Include license file. * Fri Jan 23 2009 Richard W.M. Jones - 1.34.1-3 - Use _smp_mflags. * Sat Oct 24 2008 Richard W.M. Jones - 1.34.1-2 - Initial RPM release.