From b198d37501ed8026c7c3eead799c8f16994a7d9b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 21:56:54 +0000 Subject: automatic import of python-webexteamssdk --- .gitignore | 1 + python-webexteamssdk.spec | 76 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 78 insertions(+) create mode 100644 python-webexteamssdk.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..5f42ce9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/webexteamssdk-1.6.1.tar.gz diff --git a/python-webexteamssdk.spec b/python-webexteamssdk.spec new file mode 100644 index 0000000..505d56f --- /dev/null +++ b/python-webexteamssdk.spec @@ -0,0 +1,76 @@ +%global _empty_manifest_terminate_build 0 +Name: python-webexteamssdk +Version: 1.6.1 +Release: 1 +Summary: Community-developed Python SDK for the Webex Teams APIs +License: MIT; Copyright (c) 2016-2020 Cisco and/or its affiliates. +URL: https://github.com/CiscoDevNet/webexteamssdk +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ad/5b/f6609eb1f1aeff5952c9c065b6192af2adbb5d10eabab2e9bcef17dbd5dc/webexteamssdk-1.6.1.tar.gz +BuildArch: noarch + +Requires: python3-future +Requires: python3-requests +Requires: python3-requests-toolbelt +Requires: python3-PyJWT + +%description + + +%package -n python3-webexteamssdk +Summary: Community-developed Python SDK for the Webex Teams APIs +Provides: python-webexteamssdk +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-webexteamssdk + + +%package help +Summary: Development documents and examples for webexteamssdk +Provides: python3-webexteamssdk-doc +%description help + + +%prep +%autosetup -n webexteamssdk-1.6.1 + +%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-webexteamssdk -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 1.6.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..3e946fd --- /dev/null +++ b/sources @@ -0,0 +1 @@ +b2cde8af44cd73ed5f6332ca74268a62 webexteamssdk-1.6.1.tar.gz -- cgit v1.2.3