|
| 1 | + |
| 2 | +Name: python-spnego |
| 3 | +Version: 0.12.0 |
| 4 | +Release: 1%{?dist} |
| 5 | +Summary: Windows Negotiate Authentication Client and Server |
| 6 | +# SPDX License |
| 7 | +License: MIT |
| 8 | +Vendor: Microsoft Corporation |
| 9 | +Distribution: Azure Linux |
| 10 | +URL: https://github.com/jborean93/pyspnego |
| 11 | +Source0: https://github.com/jborean93/pyspnego/archive/refs/tags/v0.12.0.tar.gz#/%{name}-%{version}.tar.gz |
| 12 | +BuildArch: noarch |
| 13 | + |
| 14 | +%global _description %{expand: |
| 15 | +Python SPNEGO Library to handle SPNEGO (Negotiate, NTLM, Kerberos) |
| 16 | +authentication. Also includes a packet parser that can be used to |
| 17 | +decode raw NTLM/SPNEGO/Kerberos tokens into a human readable format.} |
| 18 | + |
| 19 | + |
| 20 | +%description %{_description} |
| 21 | + |
| 22 | + |
| 23 | +%package -n python3-spnego |
| 24 | +Summary: %{summary} |
| 25 | +BuildRequires: python3-devel |
| 26 | +BuildRequires: python3-pytest |
| 27 | +BuildRequires: python3-pytest-mock |
| 28 | +BuildRequires: python3-pip |
| 29 | +BuildRequires: python3-wheel |
| 30 | +BuildRequires: python3-toml |
| 31 | +#for tests |
| 32 | +BuildRequires: python3-cryptography |
| 33 | + |
| 34 | +%description -n python3-spnego %{_description} |
| 35 | + |
| 36 | + |
| 37 | +%pyproject_extras_subpkg -n python3-spnego kerberos |
| 38 | + |
| 39 | + |
| 40 | +%prep |
| 41 | +%autosetup -n pyspnego-%{version} |
| 42 | + |
| 43 | +# Fix license metadata: replace invalid field |
| 44 | +sed -i 's/^license = "MIT"/license = { file = "MIT" }/' pyproject.toml |
| 45 | +sed -i '/^license-files/d' pyproject.toml |
| 46 | + |
| 47 | +%generate_buildrequires |
| 48 | +%pyproject_buildrequires |
| 49 | + |
| 50 | + |
| 51 | +%build |
| 52 | +%pyproject_wheel |
| 53 | + |
| 54 | + |
| 55 | +%install |
| 56 | +%pyproject_install |
| 57 | +%pyproject_save_files spnego |
| 58 | + |
| 59 | + |
| 60 | +%check |
| 61 | +%pytest -v tests |
| 62 | + |
| 63 | + |
| 64 | +%files -n python3-spnego -f %{pyproject_files} |
| 65 | +%doc README.md |
| 66 | +%{_bindir}/pyspnego-parse |
| 67 | + |
| 68 | + |
| 69 | +%changelog |
| 70 | +* Thu Sep 25 2025 Akhila Guruju <[email protected]> - 0.12.0-1 |
| 71 | +- Initial Azure Linux import from Fedora 44 (license: MIT). |
| 72 | +- Upgrade to 0.12.0 |
| 73 | +- License verified. |
| 74 | + |
| 75 | +* Fri Sep 19 2025 Python Maint <[email protected]> - 0.11.2-4 |
| 76 | +- Rebuilt for Python 3.14.0rc3 bytecode |
| 77 | + |
| 78 | +* Fri Aug 15 2025 Python Maint <[email protected]> - 0.11.2-3 |
| 79 | +- Rebuilt for Python 3.14.0rc2 bytecode |
| 80 | + |
| 81 | +* Fri Jul 25 2025 Fedora Release Engineering <[email protected]> - 0.11.2-2 |
| 82 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild |
| 83 | + |
| 84 | +* Tue Jul 08 2025 Carl George <[email protected]> - 0.11.2-1 |
| 85 | +- Update to version 0.11.2 rhbz#2325327 |
| 86 | + |
| 87 | +* Tue Jun 03 2025 Python Maint <[email protected]> - 0.11.1-3 |
| 88 | +- Rebuilt for Python 3.14 |
| 89 | + |
| 90 | +* Sat Jan 18 2025 Fedora Release Engineering <[email protected]> - 0.11.1-2 |
| 91 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild |
| 92 | + |
| 93 | +* Wed Sep 18 2024 Fabian Affolter <[email protected]> - 0.11.1-1 |
| 94 | +- Update to latest upstream release (closes rhbz#2291427) |
| 95 | + |
| 96 | +* Fri Jul 19 2024 Fedora Release Engineering <[email protected]> - 0.10.2-3 |
| 97 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild |
| 98 | + |
| 99 | +* Fri Jun 07 2024 Python Maint <[email protected]> - 0.10.2-2 |
| 100 | +- Rebuilt for Python 3.13 |
| 101 | + |
| 102 | +* Sat Feb 03 2024 Fabian Affolter <[email protected]> - 0.10.2-1 |
| 103 | +- Update to latest upstream release 0.10.2 (closes rhbz#2240855) |
| 104 | + |
| 105 | +* Fri Jan 26 2024 Fedora Release Engineering <[email protected]> - 0.9.2-3 |
| 106 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild |
| 107 | + |
| 108 | +* Mon Jan 22 2024 Fedora Release Engineering <[email protected]> - 0.9.2-2 |
| 109 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild |
| 110 | + |
| 111 | +* Mon Sep 11 2023 Carl George <[email protected]> - 0.9.2-1 |
| 112 | +- Update to version 0.9.2, resolves rhbz#2137695 |
| 113 | + |
| 114 | +* Mon Sep 11 2023 Orion Poplawski <[email protected]> - 0.9.0-1 |
| 115 | +- Update to 0.9.0 |
| 116 | +- Verify SPDX license |
| 117 | + |
| 118 | +* Mon Sep 11 2023 Carl George <[email protected]> - 0.6.0-5 |
| 119 | +- Convert to pyproject macros |
| 120 | + |
| 121 | +* Fri Jul 21 2023 Fedora Release Engineering <[email protected]> - 0.6.0-4 |
| 122 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild |
| 123 | + |
| 124 | +* Wed Jun 14 2023 Python Maint <[email protected]> - 0.6.0-3 |
| 125 | +- Rebuilt for Python 3.12 |
| 126 | + |
| 127 | +* Fri Jan 20 2023 Fedora Release Engineering <[email protected]> - 0.6.0-2 |
| 128 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild |
| 129 | + |
| 130 | +* Fri Aug 19 2022 Fabian Affolter <[email protected]> - 0.6.0-1 |
| 131 | +- Update to latest upstream release 0.6.0 (closes rhbz#2105846, closes #2113657) |
| 132 | + |
| 133 | +* Fri Jul 22 2022 Fedora Release Engineering <[email protected]> - 0.5.0-3 |
| 134 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild |
| 135 | + |
| 136 | +* Tue Jun 14 2022 Python Maint <[email protected]> - 0.5.0-2 |
| 137 | +- Rebuilt for Python 3.11 |
| 138 | + |
| 139 | +* Tue Feb 22 2022 Fabian Affolter <[email protected]> - 0.5.0-1 |
| 140 | +- Update to latest upstream release 0.5.0 |
| 141 | + |
| 142 | +* Wed Jan 26 2022 Fabian Affolter <[email protected]> - 0.3.1-1 |
| 143 | +- Update to latest upstream release 0.3.1 (closes rhbz#2046177) |
| 144 | + |
| 145 | +* Fri Jan 21 2022 Fedora Release Engineering <[email protected]> - 0.1.5-4 |
| 146 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild |
| 147 | + |
| 148 | +* Fri Jul 23 2021 Fedora Release Engineering <[email protected]> - 0.1.5-3 |
| 149 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild |
| 150 | + |
| 151 | +* Fri Jun 04 2021 Python Maint <[email protected]> - 0.1.5-2 |
| 152 | +- Rebuilt for Python 3.10 |
| 153 | + |
| 154 | +* Fri Mar 05 2021 Fabian Affolter <[email protected]> - 0.1.5-1 |
| 155 | +- Update to latest upstream release 0.1.5 |
| 156 | + |
| 157 | +* Wed Jan 27 2021 Fedora Release Engineering <[email protected]> - 0.1.1-3 |
| 158 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild |
| 159 | + |
| 160 | +* Sat Sep 12 2020 Fabian Affolter <[email protected]> - 0.1.1-2 |
| 161 | +- Add missing BR (rhbz#1876588) |
| 162 | + |
| 163 | +* Mon Sep 07 2020 Fabian Affolter <[email protected]> - 0.1.1-1 |
| 164 | +- Initial package for Fedora |
| 165 | + |
0 commit comments