summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-06 15:03:30 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-06 15:03:30 +0000
commitdb8f76829af77f81b8896a5d521796ff715b8c7a (patch)
treea07bd321ca896fff4aaa3006350201aeb7479c19
parent1c7e9378b4e0d3b743ea06d81b177f58b6bc3233 (diff)
automatic import of python-openidc-clientopeneuler23.03
-rw-r--r--.gitignore1
-rw-r--r--python-openidc-client.spec49
-rw-r--r--sources1
3 files changed, 51 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..1b30901 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-openidc-client.tar.gz
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
diff --git a/sources b/sources
new file mode 100644
index 0000000..672aa08
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7b714be1e5251776a7aca13de5ca1728 python-openidc-client.tar.gz