File gsignond-plugin-sasl.spec of Package gsignond-plugin-sasl

#
# spec file for package gsignond-plugin-sasl
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#


Name:           gsignond-plugin-sasl
Version:        1.0.0
Release:        0
Summary:        SASL plugin for gSSO
License:        LGPL-2.1+
Group:          Productivity/Networking/Other
Url:            https://gitlab.com/accounts-sso/gsignond-plugin-sasl
Source:         %{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE gsignond-plugin-sasl-fix-build.patch -- Fix build errors.
Patch0:         gsignond-plugin-sasl-fix-build.patch
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gtk-doc
BuildRequires:  libtool
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gsignond)
BuildRequires:  pkgconfig(libgsasl)

%description
SASL plugin for GLib based Single Sign-On.

%prep
%setup -q
%patch0 -p1
sed -i '/configure/d' autogen.sh

%build
./autogen.sh
%configure
make %{?_smp_mflags}

%install
%make_install

find %{buildroot} -type f -name "*.la" -delete -print

%files
%defattr(-,root,root)
%doc COPYING*
%dir %{_libdir}/gsignond/
%dir %{_libdir}/gsignond/gplugins/
%{_libdir}/gsignond/gplugins/libsasl.so

%changelog
openSUSE Build Service is sponsored by