summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 04:56:30 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 04:56:30 +0000
commit250fcf4905267064a22e445d18295208e885841f (patch)
tree8492ec6c239d0d88985fdb3945b68121413e2d72
parentefe16783462159c8b3f54ff374de74eb3a2b9501 (diff)
automatic import of python-cloudtoken-plugin-shell-exporter
-rw-r--r--.gitignore1
-rw-r--r--python-cloudtoken-plugin-shell-exporter.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6da574a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cloudtoken-plugin.shell_exporter-0.1.764.tar.gz
diff --git a/python-cloudtoken-plugin-shell-exporter.spec b/python-cloudtoken-plugin-shell-exporter.spec
new file mode 100644
index 0000000..d8cfdaa
--- /dev/null
+++ b/python-cloudtoken-plugin-shell-exporter.spec
@@ -0,0 +1,73 @@
+%global _empty_manifest_terminate_build 0
+Name: python-cloudtoken-plugin.shell-exporter
+Version: 0.1.764
+Release: 1
+Summary: Shell exporter for cloudtoken.
+License: Apache
+URL: https://bitbucket.org/atlassian/cloudtoken
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a4/ff/4dd65adb21f1aca7dc6f0fedc394144ba188f028e9a6f5064dc618322feb/cloudtoken-plugin.shell_exporter-0.1.764.tar.gz
+BuildArch: noarch
+
+Requires: python3-cloudtoken
+
+%description
+
+
+%package -n python3-cloudtoken-plugin.shell-exporter
+Summary: Shell exporter for cloudtoken.
+Provides: python-cloudtoken-plugin.shell-exporter
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-cloudtoken-plugin.shell-exporter
+
+
+%package help
+Summary: Development documents and examples for cloudtoken-plugin.shell-exporter
+Provides: python3-cloudtoken-plugin.shell-exporter-doc
+%description help
+
+
+%prep
+%autosetup -n cloudtoken-plugin.shell-exporter-0.1.764
+
+%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-cloudtoken-plugin.shell-exporter -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.764-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..8cb15ba
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+25794ab2c7dc51582d54e532b12f9067 cloudtoken-plugin.shell_exporter-0.1.764.tar.gz