guacamole-rpmbuild/SPECS/guacamole-totp.spec

35 lines
963 B
Plaintext

Name: guacamole-auth-totp
Version: 1.0.0
Release: 1%{?dist}
Epoch: 1
Summary: Guacamole supports TOTP as a second authentication factor.
License: MPLv1.1 or GPLv2+
URL: http://guac-dev.org/
Source0: http://apache.org/dyn/closer.cgi?action=download&filename=guacamole/%{version}/binary/%{name}-%{version}.tar.gz
%description
Guacamole authoriztion with TOTP
#%package -n guacamole-totp
Summary: authentication with TOTP
Requires: tomcat%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%prep
%autosetup
%build
%install
mkdir -p %{buildroot}/usr/share/tomcat/.guacamole/extensions
install -m 644 guacamole-auth-totp-1.0.0.jar %{buildroot}/usr/share/tomcat/.guacamole/extensions/
%files
%defattr(-,root,root,-)
/usr/share/tomcat/.guacamole/extensions/guacamole-auth-totp-1.0.0.jar
%changelog
* Wed Apr 10 2019 kjg <jinguek.kwon@ungleich.ch> - 1.0.0-1
- create version 1.0.0.