summaryrefslogtreecommitdiff
path: root/python-fiddler-client.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 13:32:33 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 13:32:33 +0000
commit6409ada3507600397a07eb0b634bfd84d1cd69c0 (patch)
tree88c22da0cb1a35726e2bf3d9f7d3f7a7c335a140 /python-fiddler-client.spec
parent276c1a75a9d3cc49264bf1fa128fb3e204e4930d (diff)
automatic import of python-fiddler-client
Diffstat (limited to 'python-fiddler-client.spec')
-rw-r--r--python-fiddler-client.spec93
1 files changed, 93 insertions, 0 deletions
diff --git a/python-fiddler-client.spec b/python-fiddler-client.spec
new file mode 100644
index 0000000..b2f6a20
--- /dev/null
+++ b/python-fiddler-client.spec
@@ -0,0 +1,93 @@
+%global _empty_manifest_terminate_build 0
+Name: python-fiddler-client
+Version: 1.7.0
+Release: 1
+Summary: Python client for Fiddler Service
+License: Apache Software License
+URL: https://fiddler.ai
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7c/86/7912591f37e84bdbd22c9f28a085daf76e2642289666dc913424bcfc8913/fiddler-client-1.7.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-Werkzeug
+Requires: python3-boto3
+Requires: python3-botocore
+Requires: python3-deepdiff
+Requires: python3-deprecated
+Requires: python3-deprecation
+Requires: python3-fastavro
+Requires: python3-importlib-resources
+Requires: python3-packaging
+Requires: python3-pandas
+Requires: python3-pip
+Requires: python3-pyarrow
+Requires: python3-pydantic
+Requires: python3-pyyaml
+Requires: python3-requests-toolbelt
+Requires: python3-requests
+Requires: python3-semver
+Requires: python3-tqdm
+
+%description
+Python client for interacting with Fiddler. Provides a user-friendly interface to our REST API and enables event
+publishing for use with our monitoring features.
+
+%package -n python3-fiddler-client
+Summary: Python client for Fiddler Service
+Provides: python-fiddler-client
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-fiddler-client
+Python client for interacting with Fiddler. Provides a user-friendly interface to our REST API and enables event
+publishing for use with our monitoring features.
+
+%package help
+Summary: Development documents and examples for fiddler-client
+Provides: python3-fiddler-client-doc
+%description help
+Python client for interacting with Fiddler. Provides a user-friendly interface to our REST API and enables event
+publishing for use with our monitoring features.
+
+%prep
+%autosetup -n fiddler-client-1.7.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-fiddler-client -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.7.0-1
+- Package Spec generated