summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 13:43:58 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 13:43:58 +0000
commitfd5e283f3e2a02c4919ddd280448ba01ae57d4bf (patch)
tree8593531c20076f556edd2241d6dcb44397a062f9
parent2965ae4cdbbc70b78bfa12f24bc65def0eeb3be7 (diff)
automatic import of python-fast-trace
-rw-r--r--.gitignore1
-rw-r--r--python-fast-trace.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e18ccd3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fast-trace-3.1.30.tar.gz
diff --git a/python-fast-trace.spec b/python-fast-trace.spec
new file mode 100644
index 0000000..ceb0e4a
--- /dev/null
+++ b/python-fast-trace.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-fast-trace
+Version: 3.1.30
+Release: 1
+Summary: FAST Python Agent
+License: Apache-2.0
+URL: http://doc.mypaas.com.cn/fast/03_%E6%9C%8D%E5%8A%A1%E7%AB%AF%E6%8E%A2%E9%92%88%E9%9B%86%E6%88%90/%E7%AE%80%E4%BB%8B.html
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c8/82/f9ae5ee6d1e6e4b35bf6973c29891114ee53b03c1377f54ec92654a3c3ba/fast-trace-3.1.30.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-fast-trace
+Summary: FAST Python Agent
+Provides: python-fast-trace
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-fast-trace
+
+
+%package help
+Summary: Development documents and examples for fast-trace
+Provides: python3-fast-trace-doc
+%description help
+
+
+%prep
+%autosetup -n fast-trace-3.1.30
+
+%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-fast-trace -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 3.1.30-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..27def67
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1cf71d11f58cf4cef51d903927ad47fb fast-trace-3.1.30.tar.gz