summaryrefslogtreecommitdiff
path: root/python-okta-jwt-verifier.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 17:41:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 17:41:41 +0000
commitb3fd8be4b3bed7b9740c4e3be9a47d3809b3bd68 (patch)
treea41dc4af2fcbd3a2ed7327a1092a5f8c01e1a160 /python-okta-jwt-verifier.spec
parenta386da6d313933571867b02f9182611615617ef4 (diff)
automatic import of python-okta-jwt-verifier
Diffstat (limited to 'python-okta-jwt-verifier.spec')
-rw-r--r--python-okta-jwt-verifier.spec76
1 files changed, 76 insertions, 0 deletions
diff --git a/python-okta-jwt-verifier.spec b/python-okta-jwt-verifier.spec
new file mode 100644
index 0000000..f9c67a9
--- /dev/null
+++ b/python-okta-jwt-verifier.spec
@@ -0,0 +1,76 @@
+%global _empty_manifest_terminate_build 0
+Name: python-okta-jwt-verifier
+Version: 0.2.3
+Release: 1
+Summary: Okta JWT Verifier
+License: Apache License 2.0
+URL: https://github.com/okta/okta-jwt-verifier-python
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/48/15/1480879cc8a891a89fc66844fdc23536a60569b734cd6c45a8fe27303c69/okta_jwt_verifier-0.2.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-acachecontrol
+Requires: python3-aiohttp
+Requires: python3-jose
+Requires: python3-retry
+
+%description
+A Python library for OKTA JWT tokens validation
+
+%package -n python3-okta-jwt-verifier
+Summary: Okta JWT Verifier
+Provides: python-okta-jwt-verifier
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-okta-jwt-verifier
+A Python library for OKTA JWT tokens validation
+
+%package help
+Summary: Development documents and examples for okta-jwt-verifier
+Provides: python3-okta-jwt-verifier-doc
+%description help
+A Python library for OKTA JWT tokens validation
+
+%prep
+%autosetup -n okta-jwt-verifier-0.2.3
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-okta-jwt-verifier -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.3-1
+- Package Spec generated