create guacamole totp rpm

This commit is contained in:
ungleich team 2019-04-10 09:06:09 +00:00
parent bb81da7897
commit b426941dfc

33
SPECS/guacamole-totp.spec Normal file
View file

@ -0,0 +1,33 @@
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 <jinguek.kwon@ungleich.ch> - 1.0.0-1
- create version 1.0.0.