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 /usr/share/tomcat/.guacamole/extensions cp guacamole-auth-totp-1.0.0.jar /usr/share/tomcat/.guacamole/extensions/ %files %defattr(-,root,root,-) %changelog * Wed Apr 10 2019 kjg - 1.0.0-1 - create version 1.0.0.