summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 07:20:07 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 07:20:07 +0000
commit9e7d7443217abdd4ad11c2aee3751499c2afc612 (patch)
tree4f7572553d2bf60201d0b73534fd06fa6997914e
parent13429725d8ff26229a9a0f80be1b729965d6acd6 (diff)
automatic import of python-nepopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-nep.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6091b78 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nep-0.5.3.9.tar.gz
diff --git a/python-nep.spec b/python-nep.spec
new file mode 100644
index 0000000..873a706
--- /dev/null
+++ b/python-nep.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-nep
+Version: 0.5.3.9
+Release: 1
+Summary: NEP robot programming framework
+License: GNU Library or Lesser General Public License (LGPL)
+URL: http://enriquecoronadozu.github.io
+Source0: https://mirrors.aliyun.com/pypi/web/packages/58/d5/eca106c2bb1a249c588261ba32a89280de4a83a60f9a271d0cd483d934e6/nep-0.5.3.9.tar.gz
+BuildArch: noarch
+
+Requires: python3-pyzmq
+Requires: python3-simplejson
+
+%description
+
+
+%package -n python3-nep
+Summary: NEP robot programming framework
+Provides: python-nep
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-nep
+
+
+%package help
+Summary: Development documents and examples for nep
+Provides: python3-nep-doc
+%description help
+
+
+%prep
+%autosetup -n nep-0.5.3.9
+
+%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-nep -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.3.9-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..2c7c6fd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3d172da2cb10820ca8a865b70fd56ff7 nep-0.5.3.9.tar.gz