diff options
Diffstat (limited to 'python-openidc-client.spec')
-rw-r--r-- | python-openidc-client.spec | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/python-openidc-client.spec b/python-openidc-client.spec new file mode 100644 index 0000000..9badba9 --- /dev/null +++ b/python-openidc-client.spec @@ -0,0 +1,49 @@ +%global srcname openidc-client +%global pkgname openidc_client + + +Name: python-%{srcname} +Version: 0.6.0 +Release: 1 +Summary: Python OpenID Connect client with token caching and management + +License: MIT +Source0: %{name}.tar.gz + +BuildArch: noarch + +%description +%{summary}. + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-requests +Requires: python3-requests + +%description -n python3-%{srcname} +%{summary}. + +%prep +%autosetup -n %{name} + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files -n python3-openidc-client +%license COPYING +%doc README.md +%{python3_sitelib}/%{pkgname}-*.egg-info/ +%{python3_sitelib}/%{pkgname}/ + +%changelog +* Thu Jun 30 2021 jinzig <jinzhiguang@kylinos.cn> - 0.6-1 +- Initial packaging of python-openidc-client |