File pam_u2f.spec of Package pam_u2f

# spec file for package pam_u2f
# Copyright (c) 2023 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

%{!?_pam_moduledir: %define _pam_moduledir /%{_lib}/security}

Name:           pam_u2f
Version:        1.3.0
Release:        0
Summary:        U2F authentication integration into PAM
License:        BSD-2-Clause
Group:          Productivity/Networking/Security
Source2:        baselib.conf
Source99:       pam_u2f.keyring
BuildRequires:  pam-devel
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(libcrypto)
BuildRequires:  pkgconfig(libfido2) >= 1.3.0

The PAM U2F module provides a way to integrate the Yubikey
(or other U2F-compliant authenticators) into the existing user
authentication infrastructure.

%setup -q

%configure --with-pam-dir=%{_pam_moduledir} \
make %{?_smp_mflags}

%make_install %{?_smp_mflags}

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

%license COPYING

openSUSE Build Service is sponsored by