# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) # SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors # SPDX-FileContributor: misaka00251 # # SPDX-License-Identifier: MulanPSL-2.0 %global srcname python-pam Name: python-%{srcname} Version: 2.0.2 Release: %autorelease Summary: Python PAM module using ctypes, py3 License: MIT URL: https://github.com/FirefighterBlu3/python-pam #!RemoteAsset Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildSystem: pyproject BuildOption(install): -l pam BuildRequires: pyproject-rpm-macros BuildRequires: pkgconfig(python3) Provides: python3-%{srcname} %python_provide python3-%{srcname} %description This module provides an authenticate function that allows the caller to authenticate a given username / password against the PAM system on Linux. %generate_buildrequires %pyproject_buildrequires # No check for this %check %files -f %{pyproject_files} %doc README.md %license LICENSE %changelog %{?autochangelog}