diff --git a/.python-ntlm-auth.metadata b/.python-ntlm-auth.metadata new file mode 100644 index 0000000..0c07f95 --- /dev/null +++ b/.python-ntlm-auth.metadata @@ -0,0 +1 @@ +9e0c37561ea0c3d81c4570dfe7970954b250026a SOURCES/ntlm-auth-1.5.0.tar.gz diff --git a/SPECS/python-ntlm-auth.spec b/SPECS/python-ntlm-auth.spec new file mode 100644 index 0000000..20d5276 --- /dev/null +++ b/SPECS/python-ntlm-auth.spec @@ -0,0 +1,93 @@ +%global srcname ntlm-auth + +Name: python-%{srcname} +Version: 1.5.0 +Release: 2%{?dist} +Summary: Python 3 compatible NTLM library + +License: LGPLv3+ +URL: https://pypi.python.org/pypi/ntlm-auth +Source: https://github.com/jborean93/ntlm-auth/archive/v%{version}/%{srcname}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) +# For tests +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(requests) +BuildRequires: python3dist(cryptography) + +%global _description %{expand: +This package allows Python clients running on any operating system to provide +NTLM authentication to a supporting server.} + +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} +Obsoletes: python3-ntlm3 < 1.0.3-1 +Provides: python3-ntlm3 = %{version}-%{release} +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} %{_description} + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +%python3 -m pytest -vv + +%files -n python3-%{srcname} +%doc CHANGES.md README.md +%license LICENSE +%{python3_sitelib}/ntlm_auth-*.egg-info/ +%{python3_sitelib}/ntlm_auth/ + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Sep 14 2020 Joel Capitao - 1.5.0-1 +- Update to 1.5.0 + +* Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 1.1.0-10 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1.1.0-8 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1.1.0-7 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Apr 11 2019 Miro Hrončok - 1.1.0-5 +- Subpackage python2-ntlm-auth has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 1.1.0-2 +- Rebuilt for Python 3.7 + +* Tue Apr 17 2018 James Hogarth = 1.1.0-1 +* Upstream update to 1.1.0 +* Mon Oct 10 2016 James Hogarth - 1.0.2-1 +- Initial package.