summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 12:21:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 12:21:14 +0000
commit812c59e2b4e824e61e3cdfdee29770a0a974c4ba (patch)
tree09875b7a91ea8c78d4b20ef38f66fe2daf66e522
parentacb4c96b9d9bf01da1851ef854724f04c96e47e8 (diff)
automatic import of python-acc-provisionopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-acc-provision.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..1a06aa2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/acc_provision-5.2.3.6.post1.tar.gz
diff --git a/python-acc-provision.spec b/python-acc-provision.spec
new file mode 100644
index 0000000..1355284
--- /dev/null
+++ b/python-acc-provision.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-acc_provision
+Version: 5.2.3.6.post1
+Release: 1
+Summary: Tool to provision ACI for ACI Containers Controller Build info: Git commit ID: e187da207ce9d3b914e7ae83421879e1190bb713 Build time: 05-02-2023.05:34:32.UTC
+License: http://www.apache.org/licenses/LICENSE-2.0
+URL: http://github.com/noironetworks/acc-provision/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/40/8d/322fff4d3459d97a1be5f7f3f0367058e33f486a3f8bf051c2b785a66647/acc_provision-5.2.3.6.post1.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-acc_provision
+Summary: Tool to provision ACI for ACI Containers Controller Build info: Git commit ID: e187da207ce9d3b914e7ae83421879e1190bb713 Build time: 05-02-2023.05:34:32.UTC
+Provides: python-acc_provision
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-acc_provision
+
+
+%package help
+Summary: Development documents and examples for acc_provision
+Provides: python3-acc_provision-doc
+%description help
+
+
+%prep
+%autosetup -n acc_provision-5.2.3.6.post1
+
+%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-acc_provision -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 5.2.3.6.post1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d9ac30e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6921b1449237395612c973294f46c68f acc_provision-5.2.3.6.post1.tar.gz