diff --git a/python-pamela-0.3.0.tar.gz b/python-pamela-0.3.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..8a7e178e7c148c616e4a2770b31ac80871ca797c Binary files /dev/null and b/python-pamela-0.3.0.tar.gz differ diff --git a/python-pamela.spec b/python-pamela.spec new file mode 100644 index 0000000000000000000000000000000000000000..dc56003d45af8cea11b331f7a46307e218f13712 --- /dev/null +++ b/python-pamela.spec @@ -0,0 +1,50 @@ +%global srcname pamela + +Name: python-%{srcname} +Version: 0.3.0 +Release: 1 +Summary: Python PAM interface + +License: MIT +URL: https://github.com/minrk/%{srcname} +Source0: https://github.com/minrk/%{srcname}/archive/%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + + +%description +Yet another Python wrapper for PAM. + +%package -n python%{python3_pkgversion}-%{srcname} +Summary: %{summary} +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-pytest +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} + +%description -n python%{python3_pkgversion}-%{srcname} +Yet another Python wrapper for PAM. + + +%prep +%setup -q -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +py.test-%{python3_version} -v + + +%files -n python%{python3_pkgversion}-%{srcname} +%license COPYING +%doc README.md +%{python3_sitelib}/%{srcname}* +%{python3_sitelib}/__pycache__/%{srcname}* + + +%changelog +* Wed July 7 2021 cuilei - 0.3.0-1 +- Initial package