SPECS: neon.spec - bcond for krb/gssapi (allow to build on system ...

agaran agaran at pld-linux.org
Sun Feb 19 04:37:10 CET 2006


Author: agaran                       Date: Sun Feb 19 03:37:10 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond for krb/gssapi (allow to build on system where is no krb), 
  not tested if disables krb properly even when krb is present

---- Files affected:
SPECS:
   neon.spec (1.51 -> 1.52) 

---- Diffs:

================================================================
Index: SPECS/neon.spec
diff -u SPECS/neon.spec:1.51 SPECS/neon.spec:1.52
--- SPECS/neon.spec:1.51	Sat Jan 21 22:45:02 2006
+++ SPECS/neon.spec	Sun Feb 19 04:37:04 2006
@@ -2,12 +2,13 @@
 #
 # Conditional build:
 %bcond_without	static_libs	# don't build static libraries
+%bcond_without	krb		# don't build krb support
 #
 Summary:	An HTTP and WebDAV client library
 Summary(pl):	Biblioteka kliencka HTTP i WebDAV
 Name:		neon
 Version:	0.25.5
-Release:	1
+Release:	1.1
 License:	GPL
 Group:		Libraries
 Source0:	http://www.webdav.org/neon/%{name}-%{version}.tar.gz
@@ -15,7 +16,7 @@
 URL:		http://www.webdav.org/neon/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
-BuildRequires:	heimdal-devel >= 0.7
+%{?with_krb:BuildRequires:	heimdal-devel >= 0.7}
 BuildRequires:	libtool
 BuildRequires:	libxml2-devel
 BuildRequires:	openssl-devel >= 0.9.7d
@@ -60,7 +61,7 @@
 Summary(pl):	Pliki nagłówkowe neon
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	heimdal-devel >= 0.6-5
+%{?with_krb:Requires:	heimdal-devel >= 0.6-5}
 Requires:	libxml2-devel
 Requires:	openssl-devel >= 0.9.7c
 
@@ -93,6 +94,7 @@
 	--with-ssl \
 	--enable-shared \
 	%{!?with_static_libs:--enable-static=no} \
+	%{!?with_krb:--disable-gssapi} \
 	--with-libxml2
 
 %{__make}
@@ -139,6 +141,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52  2006/02/19 03:37:04  agaran
+- bcond for krb/gssapi (allow to build on system where is no krb),
+  not tested if disables krb properly even when krb is present
+
 Revision 1.51  2006/01/21 21:45:02  arekm
 - up to 0.25.5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/neon.spec?r1=1.51&r2=1.52&f=u



More information about the pld-cvs-commit mailing list