SPECS: gss.spec - without static_libs bcond

charles charles at pld-linux.org
Tue May 13 15:02:22 CEST 2008


Author: charles                      Date: Tue May 13 13:02:22 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- without static_libs bcond

---- Files affected:
SPECS:
   gss.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: SPECS/gss.spec
diff -u SPECS/gss.spec:1.35 SPECS/gss.spec:1.36
--- SPECS/gss.spec:1.35	Thu Jan 24 02:36:32 2008
+++ SPECS/gss.spec	Tue May 13 15:02:17 2008
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	static_libs	# don't build static libraries
+#
 Summary:	Implementation of General Security Service API
 Summary(pl.UTF-8):	Implementacja GSS API (General Security Service API)
 Name:		gss
@@ -77,6 +81,7 @@
 %{__autoheader}
 %{__automake}
 %configure \
+	%{!?with_static_libs:--disable-static} \
 	--enable-gtk-doc \
 	--with-html-dir=%{_gtkdocdir}
 
@@ -121,9 +126,11 @@
 %{_mandir}/man3/gss*.3*
 %{_gtkdocdir}/gss
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libgss.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -131,6 +138,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2008-05-13 13:02:17  charles
+- without static_libs bcond
+
 Revision 1.35  2008-01-24 01:36:32  glen
 - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gss.spec?r1=1.35&r2=1.36&f=u



More information about the pld-cvs-commit mailing list