Initial packaging, Add source files.
This commit is contained in:
parent
05719f61cc
commit
e8b4512ad2
BIN
python-pam-1.8.4.tar.gz
Normal file
BIN
python-pam-1.8.4.tar.gz
Normal file
Binary file not shown.
42
python-pam.spec
Normal file
42
python-pam.spec
Normal file
@ -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 <lin.zhang@turbolinux.com.cn> - 1.8.4-1
|
||||
- Initial packaging
|
||||
4
python-pam.yaml
Normal file
4
python-pam.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: python-pam
|
||||
tag_prefix: ^
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user