1Summary: checkpassword-style PAM authentication program 2Name: @PACKAGE@ 3Version: @VERSION@ 4Release: 1 5Copyright: GPL 6Group: System/Utilities 7Source: %{name}-%{version}.tgz 8BuildRoot: /var/tmp/%{name}-buildroot 9URL: http://checkpasswd-pam.sourceforge.net/ 10 11Requires: libpam >= 0.59 12BuildRequires: libpam-devel >= 0.59 13 14%description 15This program, when given a username and password through the 16checkpassword interface (http://cr.yp.to/checkpwd/interface.html), 17checks that username and password, and executes a program that has to 18be authenticated. 19 20%prep 21%setup 22 23%build 24./configure --prefix=/usr 25make 26 27%install 28rm -rf $RPM_BUILD_ROOT 29make install DESTDIR=$RPM_BUILD_ROOT 30 31%files 32/usr/bin/checkpassword-pam 33%doc /usr/man/man8/checkpassword-pam.8.gz 34