File mod-authn-otp.spec of Package mod-authn-otp

Name:          mod-authn-otp
Version:       1.1.12
Release:       0
Summary:       Apache web server module for two-factor authentication using one-time passwords (OTP)
License:       Apache-2.0
Group:         Productivity/Networking/Web/Servers
Url:           https://github.com/archiecobbs/mod-authn-otp
Source0:       https://github.com/archiecobbs/mod-authn-otp/archive/refs/tags/%{version}.tar.gz
BuildRequires: automake autoconf make gcc httpd-devel openssl-devel

%global debug_package %{nil}

%description
mod_authn_otp is an Apache web server module for two-factor authentication using one-time passwords (OTP) generated via the HOTP/OATH algorithm defined in RFC 4226. This creates a simple way to protect a web site with one-time passwords, using any RFC 4226-compliant token device, including software tokens that run on cell phones such as Google Authenticator. mod_authn_otp also supports the obsolete Mobile-OTP algorithm.

%prep
%setup -q -n %{name}-%{version}

%build
./autogen.sh -c
%{__make} all

%install
%{__make} install DESTDIR=$RPM_BUILD_ROOT

%files
%{_mandir}/man1/*
%{_bindir}/*
%{_libdir}/httpd/*

%changelog

openSUSE Build Service is sponsored by