diff options
author | François Andriot <albator78@libertysurf.fr> | 2019-03-18 20:57:03 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2019-03-28 19:45:23 +0100 |
commit | 5fdf097f42dfeacda1d81387933ef20acedb1fc7 (patch) | |
tree | 5ae69373db075eee458f37e658e8f66f1b880344 /redhat/applications/kcmldap | |
parent | 9011dcc5b79c6f60170fad0315ed914f3796ea03 (diff) | |
download | tde-packaging-5fdf097f42dfeacda1d81387933ef20acedb1fc7.tar.gz tde-packaging-5fdf097f42dfeacda1d81387933ef20acedb1fc7.zip |
RPM: update build scripts for TDE R14.0.6
Diffstat (limited to 'redhat/applications/kcmldap')
-rw-r--r-- | redhat/applications/kcmldap/kcmldap.spec | 28 |
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 |