Summary:	Noninteractive ssh password provider 
Name:		sshpass
Version:	1.06
Release:	1%{?dist}
License:	GPLv2+
URL:		http://sourceforge.net/projects/sshpass/
Source0:	http://downloads.sourceforge.net/project/sshpass/%{name}/%{version}/%{name}-%{version}.tar.gz
%define sha1 sshpass=633652e2160819ac7c7e1a351327027d2faa4fd6
Group:		Applications/Networking
Vendor:		VMware, Inc.
Distribution:	Photon
Requires:       openssh

%description
sshpass is a utility designed for running ssh using the mode referred to as "keyboard-interactive" password authentication, but in non-interactive mode. 
%prep
%setup -q

%build
./configure --prefix=%{_prefix} 
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make prefix=%{_prefix}	DESTDIR=%{buildroot} install

%clean 
rm -rf %{buildroot}/*

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog NEWS
%{_bindir}
%{_mandir}/man1

%changelog
*       Wed Apr 12 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.06-1
-       Update to version 1.06
*       Mon Oct 04 2016 ChangLee <changlee@vmware.com> 1.05-4
-       Modified %check
*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.05-3
-	GA - Bump release of all rpms
*	Thu Apr 28 2016 Anish Swaminathan <anishs@vmware.com> 1.05-2
-	Add requires for openssh
*	Fri Sep 11 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.05-1
-	Initial version