Name: sftpgo-plugin-auth Version: 1.0.9a Release: 1%{?dist} Summary: SFTPGo auth plugin License:        AGPLv3 Packager: Nicola Murino Vendor: SFTPGo URL: https://github.com/sftpgo Source0: %{name}-%{version}.tar.gz BuildRequires: golang >= 1.22.2 Requires: sftpgo >= 2.6.2 Provides: %{name} = %{version} %description This plugin enables LDAP/Active Directory authentication for SFTPGo. %global debug_package %{nil} %prep %autosetup %build go get github.com/GehirnInc/crypt go get github.com/alexedwards/argon2id go get github.com/amoghe/go-crypt go build -v -o %{name} %install install -Dpm 0755 %{name} %{buildroot}%{_bindir}/%{name}+ %check # go test should be here... :) %files %{_bindir}/%{name}+ %changelog * Wed May 19 2021 John Doe - 1.0.9a-1 - First release