python-pam/python-pam.spec

43 lines
1.2 KiB
RPMSpec
Raw Normal View History

2022-07-20 12:02:38 +08:00
Name: python-pam
Version: 1.8.4
Release: 1
Summary: Pure Python interface to the Pluggable Authentication Modules system on Linux
License: MIT
URL: https://github.com/FirefighterBlu3/python-pam
Source0: https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description
This module provides an authenticate function that allows the caller to
authenticate a given username / password against the PAM system on Linux.
%package -n python3-pam
Summary: Pure Python interface to the Pluggable Authentication Modules system on Linux
%{?python_provide:%python_provide python3-pam}
%description -n python3-pam
This module provides an authenticate function that allows the caller to
authenticate a given username / password against the PAM system on Linux.
%prep
%autosetup
%build
%py3_build
%install
%py3_install
%files -n python3-pam
%doc README.md
%license LICENSE
%{python3_sitelib}/pam.py*
%{python3_sitelib}/python_pam*-%{version}-py*.egg-info
%{python3_sitelib}/__pycache__/pam.cpython*
%changelog
* Mon Jun 27 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1.8.4-1
- Initial packaging