diff --git a/python-ntlm-auth-1.4.0.tar.gz b/python-ntlm-auth-1.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c49a3f2e8d94d6465d5de50dd801af3151415467 Binary files /dev/null and b/python-ntlm-auth-1.4.0.tar.gz differ diff --git a/python-ntlm-auth.spec b/python-ntlm-auth.spec new file mode 100644 index 0000000000000000000000000000000000000000..68371267f94b03ad7727341b5220c4eb57ff92a6 --- /dev/null +++ b/python-ntlm-auth.spec @@ -0,0 +1,47 @@ +%bcond_with bootstrap + +Name: python-ntlm-auth +Version: 1.4.0 +Release: 1 +Summary: Calculates NTLM Authentication codes +License: MIT +URL: https://github.com/jborean93/ntlm-auth +Source0: https://github.com/jborean93/ntlm-auth/archive/%{name}-%{version}.tar.gz + +BuildArch: noarch + +%description +This library handles the low-level details of NTLM authentication for use in authenticating with a service that uses NTLM. It will create and parse the 3 different message types in the order required and produce a base64 encoded value that can be attached to the HTTP header. + +The goal of this library is to offer full NTLM support including signing and sealing of messages as well as supporting MIC for message integrity and the ability to customise and set limits on the messages sent. Please see Features and Backlog for a list of what is and is not currently supported. + +%package -n python3-ntlm-auth +Summary: Calculates NTLM Authentication codes +BuildRequires: python3-pytest + +%description -n python3-ntlm-auth +This library handles the low-level details of NTLM authentication for use in authenticating with a service that uses NTLM. It will create and parse the 3 different message types in the order required and produce a base64 encoded value that can be attached to the HTTP header. + +The goal of this library is to offer full NTLM support including signing and sealing of messages as well as supporting MIC for message integrity and the ability to customise and set limits on the messages sent. Please see Features and Backlog for a list of what is and is not currently supported. + +%prep +%autosetup -n ntlm-auth-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} -m pytest tests/ + +%files -n python3-ntlm-auth +%doc LICENSE +%{python3_sitelib}/ntlm_auth/ +%{python3_sitelib}/*info + + +%changelog +* Tue Apr 28 2020 Wei Xiong +- init package