summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 10:05:43 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 10:05:43 +0000
commit19d1a2341f291c42f047698ac4da2d193d03e4e4 (patch)
treef6f6601399677c5b3af6d6efc64dc35f042f0d6f
parentbbb097e55f9147d8de76be2feccbecada9b23f94 (diff)
automatic import of python-ndms2-client
-rw-r--r--.gitignore1
-rw-r--r--python-ndms2-client.spec84
-rw-r--r--sources1
3 files changed, 86 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..281c7df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ndms2_client-0.1.2.tar.gz
diff --git a/python-ndms2-client.spec b/python-ndms2-client.spec
new file mode 100644
index 0000000..4fa152e
--- /dev/null
+++ b/python-ndms2-client.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ndms2-client
+Version: 0.1.2
+Release: 1
+Summary: Keenetic NDMS 2.x and 3.x client
+License: MIT License
+URL: https://github.com/foxel/python_ndms2_client
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c4/4a/6617f98a7cfacc2aeeef736678f4f595e2adbf44e9e24a8b3677b97f0d7f/ndms2_client-0.1.2.tar.gz
+BuildArch: noarch
+
+
+%description
+[![Build Status](https://travis-ci.com/foxel/python_ndms2_client.svg?branch=master)](https://travis-ci.com/foxel/python_ndms2_client)
+
+### Keenetic NDMS v2 client library ###
+
+
+
+%package -n python3-ndms2-client
+Summary: Keenetic NDMS 2.x and 3.x client
+Provides: python-ndms2-client
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ndms2-client
+[![Build Status](https://travis-ci.com/foxel/python_ndms2_client.svg?branch=master)](https://travis-ci.com/foxel/python_ndms2_client)
+
+### Keenetic NDMS v2 client library ###
+
+
+
+%package help
+Summary: Development documents and examples for ndms2-client
+Provides: python3-ndms2-client-doc
+%description help
+[![Build Status](https://travis-ci.com/foxel/python_ndms2_client.svg?branch=master)](https://travis-ci.com/foxel/python_ndms2_client)
+
+### Keenetic NDMS v2 client library ###
+
+
+
+%prep
+%autosetup -n ndms2-client-0.1.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-ndms2-client -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d130b36
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f4d329c0d6e5f4e8198d04fd0ac1088a ndms2_client-0.1.2.tar.gz