pam_u2f/pam_u2f.spec
Torsten Gruner 0c4675d82d Accepting request 607426 from home:kbabioch:branches:security
- Update to version 1.0.7:
  - Add authpending_file to signal authentication activity
  - Add nodetect to skip to avoid unnecessary cue messages

OBS-URL: https://build.opensuse.org/request/show/607426
OBS-URL: https://build.opensuse.org/package/show/security/pam_u2f?expand=0&rev=12
2018-05-15 19:38:16 +00:00

59 lines
1.9 KiB
RPMSpec

#
# spec file for package pam_u2f
#
# Copyright (c) 2018 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: pam_u2f
Version: 1.0.7
Release: 0
Summary: U2F authentication integration into PAM
License: BSD-2-Clause
Group: Productivity/Networking/Security
Url: https://developers.yubico.com
Source0: https://developers.yubico.com/pam-u2f/Releases/%{name}-%{version}.tar.gz
Source1: https://developers.yubico.com/pam-u2f/Releases/%{name}-%{version}.tar.gz.sig
Source2: baselib.conf
BuildRequires: pam-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig(u2f-host)
BuildRequires: pkgconfig(u2f-server)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The PAM U2F module provides a way to integrate the Yubikey
(or other U2F-compliant authenticators) into the existing user
authentication infrastructure.
%prep
%setup -q
%build
%configure --with-pam-dir=/%{_lib}/security --disable-static --disable-silent-rules
make %{?_smp_mflags}
%install
%make_install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS ChangeLog README
%{_bindir}/pamu2fcfg
%{_mandir}/man?/*
/%{_lib}/security/pam_u2f.so
%changelog