SPECS (AC-branch): gsasl.spec - without static_libs bcond - BR: pk...

charles charles at pld-linux.org
Thu Aug 24 17:30:12 CEST 2006


Author: charles                      Date: Thu Aug 24 15:30:12 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- without static_libs bcond
- BR: pkgconfig

---- Files affected:
SPECS:
   gsasl.spec (1.24.2.1 -> 1.24.2.2) 

---- Diffs:

================================================================
Index: SPECS/gsasl.spec
diff -u SPECS/gsasl.spec:1.24.2.1 SPECS/gsasl.spec:1.24.2.2
--- SPECS/gsasl.spec:1.24.2.1	Wed Aug 23 06:33:49 2006
+++ SPECS/gsasl.spec	Thu Aug 24 17:30:07 2006
@@ -1,9 +1,10 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_without	gss	# without GSSAPI mechanism
-%bcond_without	krbv5	# without KERBEROS_V5 mechanism
-%bcond_without	ntlm	# without NTLM mechanism
+%bcond_without	gss		# without GSSAPI mechanism
+%bcond_without	krbv5		# without KERBEROS_V5 mechanism
+%bcond_without	ntlm		# without NTLM mechanism
+%bcond_without	static_libs	# don't build static libraries
 #
 Summary:	GNU SASL - implementation of the Simple Authentication and Security Layer
 Summary(pl):	GNU SASL - implementacja Simple Authentication and Security Layer
@@ -26,6 +27,7 @@
 BuildRequires:	libidn-devel >= 0.1.0
 %{?with_ntlm:BuildRequires:	libntlm-devel >= 0.3.5}
 BuildRequires:	libtool >= 2:1.5
+BuildRequires:	pkgconfig
 # alternatively, krb5 or heimdal could be used for GSSAPI and KERBEROS_V5
 %{?with_krbv5:BuildRequires:	shishi-devel >= 0.0.0}
 BuildRequires:	texinfo
@@ -128,6 +130,7 @@
 	%{!?with_gss:--disable-gssapi} \
 	%{!?with_krbv5:--disable-kerberos_v5} \
 	%{!?with_ntlm:--disable-ntlm} \
+	%{!?with_static_libs:--disable-static} \
 	--with-html-dir=%{_gtkdocdir} \
 	--with-libgcrypt
 
@@ -172,9 +175,11 @@
 %{_mandir}/man3/*.3*
 %{_gtkdocdir}/gsasl
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libgsasl.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -182,6 +187,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24.2.2  2006/08/24 15:30:07  charles
+- without static_libs bcond
+- BR: pkgconfig
+
 Revision 1.24.2.1  2006/08/23 04:33:49  glen
 - merged 0.2.15 update from HEAD (autoconf update ignored as it builds)
 - check-files cleanup
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gsasl.spec?r1=1.24.2.1&r2=1.24.2.2&f=u



More information about the pld-cvs-commit mailing list