diff --git a/python-pam-1.8.4.tar.gz b/python-pam-1.8.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..27d0d7b09a40cfb8db0d29f49b5ddd5772b6e23a Binary files /dev/null and b/python-pam-1.8.4.tar.gz differ diff --git a/python-pam.spec b/python-pam.spec new file mode 100644 index 0000000000000000000000000000000000000000..ba0ceb8effb533d8eaf24e8a477e42683fb78acc --- /dev/null +++ b/python-pam.spec @@ -0,0 +1,42 @@ +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 - 1.8.4-1 +- Initial packaging diff --git a/python-pam.yaml b/python-pam.yaml new file mode 100644 index 0000000000000000000000000000000000000000..decc6ef8d08a2265580644c2fe9faf71ca1db2eb --- /dev/null +++ b/python-pam.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: python-pam +tag_prefix: ^ +seperator: .