]> git.pld-linux.org Git - packages/evolution-data-server.git/commitdiff
- added kerberos5 and ldap bconds
authoraverne <averne@pld-linux.org>
Sun, 27 Mar 2005 08:44:23 +0000 (08:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- changes by Mariusz Krynski <mrk@sed.pl>

Changed files:
    evolution-data-server.spec -> 1.41

evolution-data-server.spec

index 00ee4350e688cd0aba95f0939e987d1934944b27..a764372814550876cecaf53b2e2540dc8d6632af 100644 (file)
@@ -3,12 +3,14 @@
 # - system libical
 #
 %define                mver            1.2
+%bcond_without kerberos5       # build without kerberos5 support
+%bcond_without ldap            # build without ldap support
 
 Summary:       Evolution data server
 Summary(pl):   Serwer danych Evolution
 Name:          evolution-data-server
 Version:       1.2.1
-Release:       2
+Release:       2.1
 License:       GPL
 Group:         Libraries
 Source0:       http://ftp.gnome.org/pub/gnome/sources/evolution-data-server/1.2/%{name}-%{version}.tar.bz2
@@ -32,8 +34,9 @@ BuildRequires:        libstdc++-devel
 BuildRequires: libtool
 BuildRequires: nspr-devel
 Buildrequires: nss-devel
-BuildRequires: openldap-devel
 BuildRequires: pkgconfig
+%{?with_kerberos5:BuildRequires:       heimdal-devel}
+%{?with_ldap:BuildRequires:    openldap-devel >= 2.0.0}
 Requires(post,postun): /sbin/ldconfig
 Requires(post,postun): /usr/bin/scrollkeeper-update
 Requires(post):                GConf2
@@ -108,9 +111,12 @@ cd calendar/libical
 cd ../..
 
 %configure \
+       %{?with_kerberos5:--with-krb5=%{_prefix}} \
+       %{!?with_kerberos5:--with-krb5=no} \
+       %{?with_ldap:--with-openldap=yes} \
+       %{!?with_ldap:--with-openldap=no} \
        --enable-gtk-doc \
        --enable-static \
-       --with-openldap=yes \
        --with-nspr-includes=%{_includedir}/nspr \
        --with-nspr-libs=%{_libdir} \
        --with-nss-includes=%{_includedir}/nss \
This page took 0.140955 seconds and 4 git commands to generate.