File gssntlmssp.spec of Package gssntlmssp

# spec file for package gssntlmssp
# Copyright (c) 2020 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           gssntlmssp
Version:        0.8.0
Release:        0
Summary:        GSSAPI NTLMSSP Mechanism
License:        LGPL-3.0-or-later
Group:          Development/Languages/C and C++
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  docbook-xsl-stylesheets
BuildRequires:  doxygen
BuildRequires:  gettext-devel
BuildRequires:  libtool
BuildRequires:  libunistring-devel
BuildRequires:  libxml2-tools
BuildRequires:  libxslt-tools
BuildRequires:  openssl-devel
BuildRequires:  pkgconfig
BuildRequires:  sgml-skel
BuildRequires:  pkgconfig(krb5-gssapi) >= 1.11.2
BuildRequires:  pkgconfig(wbclient)
BuildRequires:  pkgconfig(zlib)
Requires:       krb5 >= 1.11.2

A GSSAPI Mechanism that implements NTLMSSP.

%package devel
Summary:        Development header for GSSAPI NTLMSSP
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}

%description devel
A header file with definitions for custom GSSAPI extensions for NTLMSSP.

%setup -q -n %{name}-v%{version}

autoreconf -fiv
%configure \
    --with-wbclient \
    --disable-static \

%make_build all

rm -f %{buildroot}%{_libdir}/gssntlmssp/
rm -rf %{buildroot}%{_datadir}/doc/gssntlmssp/
install -D -p -m0644 examples/mech.ntlmssp %{buildroot}%{_sysconfdir}/gss/mech.d/ntlmssp.conf
%find_lang %{name}

%make_build test_gssntlmssp

%files -f %{name}.lang
%license COPYING
%doc doc/
%config(noreplace) %{_sysconfdir}/gss/mech.d/ntlmssp.conf

%files devel

openSUSE Build Service is sponsored by