SPECS (DEVEL): xfce4-session.spec - without static_libs bcond

charles charles at pld-linux.org
Wed May 17 06:52:00 CEST 2006


Author: charles                      Date: Wed May 17 04:52:00 2006 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- without static_libs bcond

---- Files affected:
SPECS:
   xfce4-session.spec (1.25.2.2 -> 1.25.2.3) 

---- Diffs:

================================================================
Index: SPECS/xfce4-session.spec
diff -u SPECS/xfce4-session.spec:1.25.2.2 SPECS/xfce4-session.spec:1.25.2.3
--- SPECS/xfce4-session.spec:1.25.2.2	Wed May 17 06:40:49 2006
+++ SPECS/xfce4-session.spec	Wed May 17 06:51:55 2006
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_without	static_libs	# don't build static library
+#
 Summary:	Xfce Session manager
 Summary(pl):	Zarządca sesji Xfce
 Name:		xfce4-session
@@ -84,6 +87,7 @@
 %{__automake}
 %{__autoconf}
 %configure \
+	%{!?with_static_libs:--disable-static} \
 	ICEAUTH=/usr/bin/iceauth
 # why libxfsm_4_2_la_LIBADD on Cygwin only???
 %{__make} \
@@ -141,9 +145,11 @@
 %{_includedir}/xfce4/xfce4-session-*
 %{_pkgconfigdir}/xfce4-session-*.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libxfsm-*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -151,6 +157,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25.2.3  2006/05/17 04:51:55  charles
+- without static_libs bcond
+
 Revision 1.25.2.2  2006/05/17 04:40:49  charles
 - BR: intltool
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xfce4-session.spec?r1=1.25.2.2&r2=1.25.2.3&f=u



More information about the pld-cvs-commit mailing list