summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kcmldap/kcmldap.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/kcmldap/kcmldap.spec')
-rw-r--r--redhat/applications/kcmldap/kcmldap.spec28
1 files changed, 15 insertions, 13 deletions
diff --git a/redhat/applications/kcmldap/kcmldap.spec b/redhat/applications/kcmldap/kcmldap.spec
index cd637b617..5fcf25a9b 100644
--- a/redhat/applications/kcmldap/kcmldap.spec
+++ b/redhat/applications/kcmldap/kcmldap.spec
@@ -71,6 +71,15 @@ BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
+# ACL support
+BuildRequires: libacl-devel
+
+# IDN support
+BuildRequires: libidn-devel
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
# SUSE desktop files utility
%if 0%{?suse_version}
BuildRequires: update-desktop-files
@@ -170,19 +179,6 @@ This is a small daemon which keeps the LDAP root certificate up to date with the
%build
-extra_includes="%{_includedir}"
-extra_libs="%{_libdir}"
-
-if [ -d "%{_includedir}/openldap24" ]; then
- extra_includes="%{_includedir}/openldap24:${extra_includes}"
- extra_libs="%{_libdir}/openldap24:${extra_libs}"
-fi
-
-if [ -d "%{_includedir}/heimdal" ]; then
- extra_includes="%{_includedir}/heimdal:${extra_includes}"
- extra_libs="%{_libdir}/heimdal:${extra_libs}"
-fi
-
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
@@ -211,6 +207,12 @@ fi
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=ON \
+ \
+%if 0%{?suse_version}
+ -DKRB5_FOUND=1 \
+ -DKRB5_LIBRARIES="-lkrb5" \
+ -DKRB5_INCLUDE_DIRS="/usr/include" \
+%endif
..
%__make %{?_smp_mflags} || %__make