Marcus Meissner
40f002c0f6
OBS-URL: https://build.opensuse.org/request/show/317249 OBS-URL: https://build.opensuse.org/package/show/security/pam_u2f?expand=0&rev=1
61 lines
2.0 KiB
RPMSpec
61 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package
|
|
#
|
|
# Copyright (c) 2015 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: pam_u2f
|
|
Version: 1.0.1
|
|
Release: 0
|
|
Summary: Allows you to use U2F to authenticate against PAM
|
|
Group: Productivity/Networking/Security
|
|
License: BSD-2-Clause
|
|
URL: https://developers.yubico.com
|
|
Source0: https://developers.yubico.com/pam-u2f/Releases/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: pkg-config
|
|
BuildRequires: pam-devel
|
|
BuildRequires: pkgconfig(u2f-host)
|
|
BuildRequires: pkgconfig(u2f-server)
|
|
|
|
%description
|
|
The PAM U2F module provides an easy way to integrate the Yubikey
|
|
(or other U2F-compliant authenticators) into your existing user
|
|
authentication infrastructure. PAM is used by GNU/Linux, Solaris
|
|
and Mac OS X for user authentication.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --enable-static=no --with-pic --with-pam-dir=/%{_lib}/security --bindir=%{_bindir}
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
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
|