SPECS: xorg-lib-libX11.spec - added bcond_without static_libs

witekfl witekfl at pld-linux.org
Mon Jul 23 18:05:52 CEST 2007


Author: witekfl                      Date: Mon Jul 23 16:05:52 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   xorg-lib-libX11.spec (1.36 -> 1.37) 

---- Diffs:

================================================================
Index: SPECS/xorg-lib-libX11.spec
diff -u SPECS/xorg-lib-libX11.spec:1.36 SPECS/xorg-lib-libX11.spec:1.37
--- SPECS/xorg-lib-libX11.spec:1.36	Mon Jun 11 10:13:02 2007
+++ SPECS/xorg-lib-libX11.spec	Mon Jul 23 18:05:46 2007
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_without	xcb	# XCB for low-level protocol implementation
+%bcond_without	static_libs	# don't build static library
+%bcond_without	xcb		# XCB for low-level protocol implementation
 #
 Summary:	X11 Base library
 Summary(pl.UTF-8):	Podstawowa biblioteka X11
@@ -94,6 +95,7 @@
 %{__autoheader}
 %{__automake}
 %configure \
+	%{!?with_static_libs:--disable-static} \
 	%{!?with_xcb:--without-xcb}
 
 %{__make}
@@ -139,12 +141,14 @@
 %endif
 %{_mandir}/man3/*.3x*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libX11.a
 %if %{with xcb}
 %{_libdir}/libX11-xcb.a
 %endif
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -152,6 +156,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.37  2007/07/23 16:05:46  witekfl
+- added bcond_without static_libs
+
 Revision 1.36  2007/06/11 08:13:02  arekm
 - rel 2; fix bug that causes gimp (and others) crash
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xorg-lib-libX11.spec?r1=1.36&r2=1.37&f=u



More information about the pld-cvs-commit mailing list