summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 05:46:22 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 05:46:22 +0000
commita3df924b63aba0295174335b37093ebb2c2a6041 (patch)
tree133879ed813164584759a00f1f7f981ee1a9467d
parent755cf2d586d082c359efc9db4ea402e1c0dcdf0b (diff)
automatic import of python-airbornerf-sdk
-rw-r--r--.gitignore1
-rw-r--r--python-airbornerf-sdk.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c989762 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/airbornerf-sdk-1.4.8.tar.gz
diff --git a/python-airbornerf-sdk.spec b/python-airbornerf-sdk.spec
new file mode 100644
index 0000000..c27dceb
--- /dev/null
+++ b/python-airbornerf-sdk.spec
@@ -0,0 +1,73 @@
+%global _empty_manifest_terminate_build 0
+Name: python-airbornerf-sdk
+Version: 1.4.8
+Release: 1
+Summary: AirborneRF SDK
+License: Proprietary
+URL: https://www.airbornerf.com/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8d/34/2b4cc390b583c10042ac255ecc172412e7294d34aaa690d45a65e79ef86e/airbornerf-sdk-1.4.8.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+
+%description
+
+
+%package -n python3-airbornerf-sdk
+Summary: AirborneRF SDK
+Provides: python-airbornerf-sdk
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-airbornerf-sdk
+
+
+%package help
+Summary: Development documents and examples for airbornerf-sdk
+Provides: python3-airbornerf-sdk-doc
+%description help
+
+
+%prep
+%autosetup -n airbornerf-sdk-1.4.8
+
+%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-airbornerf-sdk -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.8-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..2039e0e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1092de2fa9f4430e378566f8d8a4da53 airbornerf-sdk-1.4.8.tar.gz