guacamole-rpmbuild/SPECS/guacamole-totp-1.1.0.spec

38 lines
974 B
Plaintext

Name: guacamole-auth-totp
Version: 1.1.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: %{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-%{version}.jar %{buildroot}/usr/share/tomcat/.guacamole/extensions/
%files
%defattr(-,root,root,-)
/usr/share/tomcat/.guacamole/extensions/guacamole-auth-totp-%{version}.jar
%changelog
* Thu May 2 2019 kjg <jinguek.kwon@ungleich.ch> - 1.1.0-1
- update for version 1.1.0.
* Wed Apr 10 2019 kjg <jinguek.kwon@ungleich.ch> - 1.0.0-1
- create version 1.0.0.