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-18 20:57:03 +0100 |
commit | 23f87f90105b71ac0afecee979fae295779d3bb5 (patch) | |
tree | 2a8368c0bd5660c3edffd1ffa5bba8c627aadb8f /redhat/applications/kcmldap | |
parent | c50beef08d80ff3caaf68951f1d0b3843182a4f1 (diff) | |
download | tde-packaging-23f87f90105b71ac0afecee979fae295779d3bb5.tar.gz tde-packaging-23f87f90105b71ac0afecee979fae295779d3bb5.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 |