File pam_ccreds.spec of Package pam_ccreds

# spec file for package pam_ccreds (Version 10)
# Copyright (c) 2010 SUSE LINUX Products 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

# norootforbuild

Name:           pam_ccreds
BuildRequires:  db-devel openssl-devel pam-devel
License:        GPLv2+
Group:          Productivity/Security
AutoReqProv:    on
Version:        10
Release:        2
Summary:        Pam module to cache login credentials
Source:         pam_ccreds-%{version}.tar.bz2
Source2:        baselibs.conf
Patch1:         pam_ccreds-readme-fix.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       pam, db

The pam_ccreds module provides the means for Linux workstations to
locally authenticate using an enterprise identity when the network is
unavailable. Used in conjunction with the nss_updatedb utility, it
provides a mechanism for disconnected use of network directories.

    Luke Howard

%setup -q -n pam_ccreds-%{version}

# This package failed when testing with -Wl,-as-needed being default.
# So we disable it here, if you want to retest, just delete this comment and the line below.
%{suse_update_config -f}
autoreconf --verbose --force --install
./configure --libdir=/%{_lib} --with-pamdir=/%{_lib}/security \

install -d 755 $RPM_BUILD_ROOT/%{_lib}/security
install -m 755 $RPM_BUILD_ROOT/%{_lib}/security


%doc README COPYING pam.conf
%attr(555,root,root) /%{_lib}/security/

openSUSE Build Service is sponsored by