summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-flask-jwt-oidc.spec154
-rw-r--r--sources1
3 files changed, 156 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..76b4c01 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/flask_jwt_oidc-0.3.0.tar.gz
diff --git a/python-flask-jwt-oidc.spec b/python-flask-jwt-oidc.spec
new file mode 100644
index 0000000..a007097
--- /dev/null
+++ b/python-flask-jwt-oidc.spec
@@ -0,0 +1,154 @@
+%global _empty_manifest_terminate_build 0
+Name: python-flask-jwt-oidc
+Version: 0.3.0
+Release: 1
+Summary: Flask_JWT_OIDC
+License: Copyright 2018 Thor Wolpert
+URL: https://github.com/thorwolpert/flask-jwt-oidc
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/74/9d/73b0203f55f7b8b8f6d128e0357b0c33941174ce1f91b3b3181fddd0fb90/flask_jwt_oidc-0.3.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-flask
+Requires: python3-cachelib
+Requires: python3-jose
+Requires: python3-six
+
+%description
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Description: UNKNOWN
+Keywords: flask extension development
+Platform: any
+Classifier: Development Status :: 0.1.3 - Beta
+Classifier: Environment :: Web API
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: Apache 2.0 License
+Classifier: Operating System :: MacOS :: MacOS X
+Classifier: Operating System :: Microsoft :: Windows
+Classifier: Operating System :: POSIX
+Classifier: Programming Language :: Python
+Classifier: Topic :: Communications :: Email
+Classifier: Topic :: Software Development :: GitHub Issue Tracking
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
+
+
+%package -n python3-flask-jwt-oidc
+Summary: Flask_JWT_OIDC
+Provides: python-flask-jwt-oidc
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-flask-jwt-oidc
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Description: UNKNOWN
+Keywords: flask extension development
+Platform: any
+Classifier: Development Status :: 0.1.3 - Beta
+Classifier: Environment :: Web API
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: Apache 2.0 License
+Classifier: Operating System :: MacOS :: MacOS X
+Classifier: Operating System :: Microsoft :: Windows
+Classifier: Operating System :: POSIX
+Classifier: Programming Language :: Python
+Classifier: Topic :: Communications :: Email
+Classifier: Topic :: Software Development :: GitHub Issue Tracking
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
+
+
+%package help
+Summary: Development documents and examples for flask-jwt-oidc
+Provides: python3-flask-jwt-oidc-doc
+%description help
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Description: UNKNOWN
+Keywords: flask extension development
+Platform: any
+Classifier: Development Status :: 0.1.3 - Beta
+Classifier: Environment :: Web API
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: Apache 2.0 License
+Classifier: Operating System :: MacOS :: MacOS X
+Classifier: Operating System :: Microsoft :: Windows
+Classifier: Operating System :: POSIX
+Classifier: Programming Language :: Python
+Classifier: Topic :: Communications :: Email
+Classifier: Topic :: Software Development :: GitHub Issue Tracking
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
+
+
+%prep
+%autosetup -n flask-jwt-oidc-0.3.0
+
+%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-flask-jwt-oidc -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4a069cb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0b851d614cb0fd7119712d9269a5d53c flask_jwt_oidc-0.3.0.tar.gz