%global forgeurl https://github.com/cernops/pam_krb5_cc_move %global tag %{version} Name: pam_krb5_cc_move Version: 1.0.0 %forgemeta Release: %autorelease Summary: Moves a kerberos cache during a pam session phase License: Apache-2.0 URL: %forgeurl Source0: %forgesource BuildRequires: make BuildRequires: gcc BuildRequires: pam-devel BuildRequires: krb5-devel %description Pam module to moves a users credential cache from location to another duraing the session open phase of pam. For instance move a credential cache from KEYRING::persistent:%{uid} to FILE:/run/user/%{uid}/krb5cc. %prep %autosetup %build %make_build EXTRA_CFLAGS="%{optflags}" %install mkdir -p %{buildroot}%{_libdir}/security %make_install INSTALLDIR=%{_libdir}/security %files %license LICENSE %{_libdir}/security/pam_krb5_cc_move.so %{_mandir}/man8/pam_krb5_cc_move.8* %doc README.md %changelog %autochangelog