SPECS: gsasl.spec - added apidocs bcond (disable gtk-doc)

gotar gotar at pld-linux.org
Thu Jul 3 13:17:53 CEST 2008


Author: gotar                        Date: Thu Jul  3 11:17:53 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added apidocs bcond (disable gtk-doc)

---- Files affected:
SPECS:
   gsasl.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: SPECS/gsasl.spec
diff -u SPECS/gsasl.spec:1.49 SPECS/gsasl.spec:1.50
--- SPECS/gsasl.spec:1.49	Tue May 13 19:30:34 2008
+++ SPECS/gsasl.spec	Thu Jul  3 13:17:48 2008
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_without	apidocs		# disable gtk-doc
 %bcond_with	gss		# use gss instead of MIT as GSSAPI implementation
 %bcond_with	kerberos5	# with KERBEROS_V5 mechanism (based on shishi, currently broken)
 %bcond_without	ntlm		# without NTLM mechanism
@@ -23,7 +24,7 @@
 BuildRequires:	gettext-devel >= 0.16.1
 BuildRequires:	gnutls-devel >= 1.2.0
 %{?with_gss:BuildRequires:	gss-devel >= 0.0.0}
-BuildRequires:	gtk-doc >= 1.1
+%{?with_apidocs:BuildRequires:	gtk-doc >= 1.1}
 BuildRequires:	libgcrypt-devel >= 1.3.0
 BuildRequires:	libidn-devel >= 0.1.0
 %{?with_ntlm:BuildRequires:	libntlm-devel >= 0.3.5}
@@ -135,7 +136,7 @@
 %{__automake}
 cd -
 %configure \
-	--enable-gtk-doc \
+	%{?with_apidocs:--enable-gtk-doc} \
 	%{!?with_ntlm:--disable-ntlm} \
 	%{!?with_static_libs:--disable-static} \
 	%{?with_kerberos5:--enable-kerberos_v5} \
@@ -183,7 +184,7 @@
 %{_includedir}/gsasl*.h
 %{_pkgconfigdir}/libgsasl.pc
 %{_mandir}/man3/gsasl_*.3*
-%{_gtkdocdir}/gsasl
+%{?with_apidocs:%{_gtkdocdir}/gsasl}
 
 %if %{with static_libs}
 %files static
@@ -197,6 +198,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2008/07/03 11:17:48  gotar
+- added apidocs bcond (disable gtk-doc)
+
 Revision 1.49  2008/05/13 17:30:34  qboosh
 - readded pl.po-update patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gsasl.spec?r1=1.49&r2=1.50&f=u



More information about the pld-cvs-commit mailing list