summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 04:50:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 04:50:17 +0000
commita60648cea6a239243769f9a38024436338677cad (patch)
treedaea6359c2325a7b886c565cae30d3ec9bc3d070
parentc15f22f4194dd0b9128dd903c7617e2aa0338cbe (diff)
automatic import of python-fds.protobuf.stach.v2openeuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-fds-protobuf-stach-v2.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9ac86d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fds.protobuf.stach.v2-1.0.2.tar.gz
diff --git a/python-fds-protobuf-stach-v2.spec b/python-fds-protobuf-stach-v2.spec
new file mode 100644
index 0000000..bc9f303
--- /dev/null
+++ b/python-fds-protobuf-stach-v2.spec
@@ -0,0 +1,73 @@
+%global _empty_manifest_terminate_build 0
+Name: python-fds.protobuf.stach.v2
+Version: 1.0.2
+Release: 1
+Summary: Stach library in python
+License: Apache License 2.0
+URL: https://pypi.org/project/fds.protobuf.stach.v2/
+Source0: https://mirrors.aliyun.com/pypi/web/packages/22/4f/c1b85b11822008cad76c247da36de335850f2c1a1c385f4fdee3d833eba2/fds.protobuf.stach.v2-1.0.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-protobuf
+
+%description
+
+
+%package -n python3-fds.protobuf.stach.v2
+Summary: Stach library in python
+Provides: python-fds.protobuf.stach.v2
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-fds.protobuf.stach.v2
+
+
+%package help
+Summary: Development documents and examples for fds.protobuf.stach.v2
+Provides: python3-fds.protobuf.stach.v2-doc
+%description help
+
+
+%prep
+%autosetup -n fds.protobuf.stach.v2-1.0.2
+
+%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-fds.protobuf.stach.v2 -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e87cb2e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e52eb395f9b993d0a1f3c44ce454653b fds.protobuf.stach.v2-1.0.2.tar.gz