Author: charles                      Date: Thu Aug 24 15:28:49 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- without static_libs bcond
- BR: pkgconfig

---- Files affected:
SPECS:
   gsasl.spec (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: SPECS/gsasl.spec
diff -u SPECS/gsasl.spec:1.31 SPECS/gsasl.spec:1.32
--- SPECS/gsasl.spec:1.31       Wed Aug 23 06:35:31 2006
+++ SPECS/gsasl.spec    Thu Aug 24 17:28:44 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.32  2006/08/24 15:28:44  charles
+- without static_libs bcond
+- BR: pkgconfig
+
 Revision 1.31  2006/08/23 04:35:31  glen
 - check-files cleanup
 
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to