SPECS: crossmingw32-boost.spec - cleanup - separated -static

qboosh qboosh at pld-linux.org
Thu Sep 11 23:09:21 CEST 2008


Author: qboosh                       Date: Thu Sep 11 21:09:21 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleanup
- separated -static

---- Files affected:
SPECS:
   crossmingw32-boost.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/crossmingw32-boost.spec
diff -u SPECS/crossmingw32-boost.spec:1.11 SPECS/crossmingw32-boost.spec:1.12
--- SPECS/crossmingw32-boost.spec:1.11	Fri Sep  5 21:45:02 2008
+++ SPECS/crossmingw32-boost.spec	Thu Sep 11 23:09:16 2008
@@ -18,7 +18,6 @@
 BuildRequires:	crossmingw32-runtime
 BuildRequires:	crossmingw32-w32api
 BuildRequires:	crossmingw32-zlib
-BuildRequires:	libtool >= 2:1.4d
 Requires:	crossmingw32-bzip2
 Requires:	crossmingw32-runtime
 Requires:	crossmingw32-zlib
@@ -60,6 +59,18 @@
 już zostały zgłoszone do komitetu standaryzacyjnego C++ w nadchodzącym
 Raporcie Technicznym Biblioteki Standardowej C++
 
+%package static
+Summary:	Static Boost libraries (cross mingw32 version)
+Summary(pl.UTF-8):	Statyczne biblioteki Boost (wersja skrośna mingw32)
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description static
+Static Boost libraries (cross mingw32 version).
+
+%description static -l pl.UTF-8
+Statyczne biblioteki Boost (wersja skrośna mingw32).
+
 %package dll
 Summary:	Boost - DLL libraries for Windows
 Summary(pl.UTF-8):	Boost - biblioteki DLL dla Windows
@@ -78,19 +89,16 @@
 %setup -q -n %{realname}_%{fver}
 %patch0 -p1
 
-echo 'using gcc : : i386-mingw32-g++ : <cxxflags>"%{rpmcxxflags}" ;' \
+echo 'using gcc : : %{target}-g++ : <cxxflags>"%{rpmcxxflags}" ;' \
 	>tools/build/v2/user-config.jam
 
 %build
-CC=%{__cc} ; export CC
-CXX=%{__cxx} ; export CXX
+CC="%{__cc}" ; export CC
+CXX="%{__cxx}" ; export CXX
 LD=%{target}-ld ; export LD
 AR=%{target}-ar ; export AR
 AS=%{target}-as ; export AS
-CROSS_COMPILE=1 ; export CROSS_COMPILE
 RANLIB=%{target}-ranlib ; export RANLIB
-LDSHARED="%{__cc} -shared" ; export LDSHARED
-TARGET="%{target}" ; export TARGET
 
 bjam \
 	-q -d2 \
@@ -129,12 +137,16 @@
 
 %files
 %defattr(644,root,root,755)
+%{_libdir}/libboost_*-mgw*-mt-1_36.dll.a
 %{_includedir}/boost
-%{_libdir}/*.a
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libboost_*-mgw*-mt-1_36.a
 
 %files dll
 %defattr(644,root,root,755)
-%{_dlldir}/*.dll
+%{_dlldir}/boost_*-mgw*-mt-1_36.dll
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -142,6 +154,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2008/09/11 21:09:16  qboosh
+- cleanup
+- separated -static
+
 Revision 1.11  2008/09/05 19:45:02  lkrotowski
 - rel 1 (builds, seems to work)
 - using boost way for configuration (dropped perl hackery)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/crossmingw32-boost.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list