This commit is contained in:
parent
883344a08a
commit
dec5504c24
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 23:35:40 CEST 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- as agreed with maintainer, get rid of static libraries
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 01:11:10 CEST 2009 - ro@suse.de
|
||||||
|
|
||||||
|
- buildfix: fix typo in specfile
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 16 14:39:20 CET 2009 - pth@suse.de
|
Mon Mar 16 14:39:20 CET 2009 - pth@suse.de
|
||||||
|
|
||||||
|
16
boost.spec
16
boost.spec
@ -45,7 +45,7 @@ Group: Development/Libraries/C and C++
|
|||||||
Summary: Boost C++ Libraries
|
Summary: Boost C++ Libraries
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Version: 1.38.0
|
Version: 1.38.0
|
||||||
Release: 5
|
Release: 6
|
||||||
Source0: %{name}_1_38_0.tar.bz2
|
Source0: %{name}_1_38_0.tar.bz2
|
||||||
Source1: boost-rpmlintrc
|
Source1: boost-rpmlintrc
|
||||||
Source2: boost_1_33_1_man.tar.bz2
|
Source2: boost_1_33_1_man.tar.bz2
|
||||||
@ -93,7 +93,7 @@ documentation, see the boost-doc package.
|
|||||||
License: BSD 3-Clause
|
License: BSD 3-Clause
|
||||||
Summary: Development package for Boost C++
|
Summary: Development package for Boost C++
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{all_libs}
|
Requires: %{all_libs} libstdc++-devel
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -361,7 +361,7 @@ using mpi ;
|
|||||||
EOF
|
EOF
|
||||||
# Set PATH, MANPATH and LD_LIBRARY_PATH
|
# Set PATH, MANPATH and LD_LIBRARY_PATH
|
||||||
%if %build_mpi
|
%if %build_mpi
|
||||||
source /var/mpi-selector/data/$(rpm --qf "%{VERSION}" -q openmpi).sh
|
source /var/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh
|
||||||
%endif
|
%endif
|
||||||
%{_bindir}/bjam ${BJAM_CONFIG} --user-config=user-config.jam cflags="%{optflags}" cxxflags="%{optflags}" stage || (echo "Not all Boost libraries built properly."; exit 1)
|
%{_bindir}/bjam ${BJAM_CONFIG} --user-config=user-config.jam cflags="%{optflags}" cxxflags="%{optflags}" stage || (echo "Not all Boost libraries built properly."; exit 1)
|
||||||
|
|
||||||
@ -389,7 +389,7 @@ export EXPAT_INCLUDE=/usr/include EXPAT_LIBPATH=%{_libdir} REGEX_FLAGS="--with-i
|
|||||||
export PYTHON_FLAGS
|
export PYTHON_FLAGS
|
||||||
# Set PATH, MANPATH and LD_LIBRARY_PATH
|
# Set PATH, MANPATH and LD_LIBRARY_PATH
|
||||||
%if %build_mpi
|
%if %build_mpi
|
||||||
source /var/mpi-selector/data/$(rpm --qf "%{VERSION}" -q openmpi).sh
|
source /var/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh
|
||||||
%endif
|
%endif
|
||||||
%{_bindir}/bjam ${BJAM_CONFIG} --user-config=user-config.jam \
|
%{_bindir}/bjam ${BJAM_CONFIG} --user-config=user-config.jam \
|
||||||
--prefix=%{buildroot}%{_prefix} \
|
--prefix=%{buildroot}%{_prefix} \
|
||||||
@ -457,6 +457,7 @@ ln -s /usr/include/boost %{buildroot}%{_docdir}
|
|||||||
ln -s ../LICENSE_1_0.txt %{buildroot}%{_docdir}/libs
|
ln -s ../LICENSE_1_0.txt %{buildroot}%{_docdir}/libs
|
||||||
#only for documentation, doesn't need to be executable
|
#only for documentation, doesn't need to be executable
|
||||||
find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} +
|
find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} +
|
||||||
|
rm -f %{buildroot}%{_libdir}/*.a
|
||||||
#symlink dupes
|
#symlink dupes
|
||||||
%if 0%suse_version > 1020
|
%if 0%suse_version > 1020
|
||||||
%fdupes %buildroot
|
%fdupes %buildroot
|
||||||
@ -599,7 +600,6 @@ find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} +
|
|||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%{_includedir}/boost
|
%{_includedir}/boost
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/*.a
|
|
||||||
%if %build_mpi
|
%if %build_mpi
|
||||||
%exclude %{_libdir}/mpi.so
|
%exclude %{_libdir}/mpi.so
|
||||||
%endif
|
%endif
|
||||||
@ -613,6 +613,10 @@ find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} +
|
|||||||
%doc %{_mandir}/man7/*.7.gz
|
%doc %{_mandir}/man7/*.7.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 16 2009 crrodriguez@suse.de
|
||||||
|
- as agreed with maintainer, get rid of static libraries
|
||||||
|
* Thu Apr 16 2009 ro@suse.de
|
||||||
|
- buildfix: fix typo in specfile
|
||||||
* Mon Mar 16 2009 pth@suse.de
|
* Mon Mar 16 2009 pth@suse.de
|
||||||
- Don't rely on system default mpi implementation being set. This
|
- Don't rely on system default mpi implementation being set. This
|
||||||
fixes building boost on systems before openSUSE 11.0.
|
fixes building boost on systems before openSUSE 11.0.
|
||||||
@ -1185,7 +1189,7 @@ find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} +
|
|||||||
- Fix broken assembler constraints [#148429].
|
- Fix broken assembler constraints [#148429].
|
||||||
* Wed Jan 25 2006 mls@suse.de
|
* Wed Jan 25 2006 mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Tue Jan 17 2006 schwab@suse.de
|
* Wed Jan 18 2006 schwab@suse.de
|
||||||
- Don't strip binaries.
|
- Don't strip binaries.
|
||||||
* Wed Dec 07 2005 pth@suse.de
|
* Wed Dec 07 2005 pth@suse.de
|
||||||
- Fix cases of type-punning in boost::python
|
- Fix cases of type-punning in boost::python
|
||||||
|
@ -104,7 +104,7 @@ see the boost-doc package.
|
|||||||
License: BSD 3-Clause
|
License: BSD 3-Clause
|
||||||
Summary: Development package for Boost C++
|
Summary: Development package for Boost C++
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{all_libs}
|
Requires: %{all_libs} libstdc++-devel
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -376,7 +376,7 @@ EOF
|
|||||||
|
|
||||||
# Set PATH, MANPATH and LD_LIBRARY_PATH
|
# Set PATH, MANPATH and LD_LIBRARY_PATH
|
||||||
%if %build_mpi
|
%if %build_mpi
|
||||||
source /var/mpi-selector/data/$(rpm --qf "%{VERSION}" -q openmpi).sh
|
source /var/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{_bindir}/bjam ${BJAM_CONFIG} --user-config=user-config.jam cflags="%{optflags}" cxxflags="%{optflags}" stage || (echo "Not all Boost libraries built properly."; exit 1)
|
%{_bindir}/bjam ${BJAM_CONFIG} --user-config=user-config.jam cflags="%{optflags}" cxxflags="%{optflags}" stage || (echo "Not all Boost libraries built properly."; exit 1)
|
||||||
@ -409,7 +409,7 @@ export PYTHON_FLAGS
|
|||||||
|
|
||||||
# Set PATH, MANPATH and LD_LIBRARY_PATH
|
# Set PATH, MANPATH and LD_LIBRARY_PATH
|
||||||
%if %build_mpi
|
%if %build_mpi
|
||||||
source /var/mpi-selector/data/$(rpm --qf "%{VERSION}" -q openmpi).sh
|
source /var/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{_bindir}/bjam ${BJAM_CONFIG} --user-config=user-config.jam \
|
%{_bindir}/bjam ${BJAM_CONFIG} --user-config=user-config.jam \
|
||||||
@ -489,7 +489,7 @@ ln -s /usr/include/boost %{buildroot}%{_docdir}
|
|||||||
ln -s ../LICENSE_1_0.txt %{buildroot}%{_docdir}/libs
|
ln -s ../LICENSE_1_0.txt %{buildroot}%{_docdir}/libs
|
||||||
#only for documentation, doesn't need to be executable
|
#only for documentation, doesn't need to be executable
|
||||||
find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} +
|
find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} +
|
||||||
|
rm -f %{buildroot}%{_libdir}/*.a
|
||||||
#symlink dupes
|
#symlink dupes
|
||||||
%if 0%suse_version > 1020
|
%if 0%suse_version > 1020
|
||||||
%fdupes %buildroot
|
%fdupes %buildroot
|
||||||
@ -604,7 +604,6 @@ find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} +
|
|||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%{_includedir}/boost
|
%{_includedir}/boost
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/*.a
|
|
||||||
%if %build_mpi
|
%if %build_mpi
|
||||||
%exclude %{_libdir}/mpi.so
|
%exclude %{_libdir}/mpi.so
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user