summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 17:17:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 17:17:17 +0000
commitc113f7c8e883bdc92af050ac386863192171989a (patch)
tree00f1a49dbac8f8cead1074c1a9924506c0293ce1
parent6435588fef928a081e4f2faac7beedd107bcddf8 (diff)
automatic import of python-stevedore
-rw-r--r--.gitignore1
-rw-r--r--python-stevedore.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9d3c3e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/stevedore-5.0.0.tar.gz
diff --git a/python-stevedore.spec b/python-stevedore.spec
new file mode 100644
index 0000000..bacccf0
--- /dev/null
+++ b/python-stevedore.spec
@@ -0,0 +1,73 @@
+%global _empty_manifest_terminate_build 0
+Name: python-stevedore
+Version: 5.0.0
+Release: 1
+Summary: Manage dynamic plugins for Python applications
+License: Apache Software License
+URL: https://docs.openstack.org/stevedore/latest/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f1/25/993d09dc7be3e7927228853c75324104d734bb784bd766b025ebf9f47b16/stevedore-5.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-pbr
+
+%description
+
+
+%package -n python3-stevedore
+Summary: Manage dynamic plugins for Python applications
+Provides: python-stevedore
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-stevedore
+
+
+%package help
+Summary: Development documents and examples for stevedore
+Provides: python3-stevedore-doc
+%description help
+
+
+%prep
+%autosetup -n stevedore-5.0.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-stevedore -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 5.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ebb21d6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+8dab7a2b5b9e396a388031e50e1ee1dd stevedore-5.0.0.tar.gz