summaryrefslogtreecommitdiff
path: root/python-mavproxy.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 12:58:29 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 12:58:29 +0000
commitd94ee50dea7b1c1baedc81bfdbb54da015a63d2b (patch)
treea5557f1564039343134c2bfd2a295f962ce183db /python-mavproxy.spec
parent3ce726712407c3846bdb1a4a42e640b59e48f95d (diff)
automatic import of python-mavproxy
Diffstat (limited to 'python-mavproxy.spec')
-rw-r--r--python-mavproxy.spec108
1 files changed, 108 insertions, 0 deletions
diff --git a/python-mavproxy.spec b/python-mavproxy.spec
new file mode 100644
index 0000000..f97baaa
--- /dev/null
+++ b/python-mavproxy.spec
@@ -0,0 +1,108 @@
+%global _empty_manifest_terminate_build 0
+Name: python-MAVProxy
+Version: 1.8.59
+Release: 1
+Summary: MAVProxy MAVLink ground station
+License: GPLv3
+URL: https://github.com/ArduPilot/MAVProxy
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/41/05/a4b87be3912b66ae4c54128b193e39464485525fcc11ddface3b20a6c5f6/MAVProxy-1.8.59.tar.gz
+BuildArch: noarch
+
+
+%description
+A MAVLink protocol proxy and ground station. MAVProxy
+is oriented towards command line operation, and is suitable for embedding in
+small autonomous vehicles or for using on ground control stations. It also
+features a number of graphical tools such as a slipmap for satellite mapping
+view of the vehicles location, and status console and several useful vehicle
+control modules. MAVProxy is extensible via a modules system - see the modules
+subdirectory for some example modules. MAVProxy was developed by CanberraUAV
+for use in the 2012 Outback Challenge, and includes a module for the
+CanberraUAV search and rescue system. See
+https://ardupilot.org/mavproxy/index.html for more information
+on how to use MAVProxy.
+
+
+
+%package -n python3-MAVProxy
+Summary: MAVProxy MAVLink ground station
+Provides: python-MAVProxy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-MAVProxy
+A MAVLink protocol proxy and ground station. MAVProxy
+is oriented towards command line operation, and is suitable for embedding in
+small autonomous vehicles or for using on ground control stations. It also
+features a number of graphical tools such as a slipmap for satellite mapping
+view of the vehicles location, and status console and several useful vehicle
+control modules. MAVProxy is extensible via a modules system - see the modules
+subdirectory for some example modules. MAVProxy was developed by CanberraUAV
+for use in the 2012 Outback Challenge, and includes a module for the
+CanberraUAV search and rescue system. See
+https://ardupilot.org/mavproxy/index.html for more information
+on how to use MAVProxy.
+
+
+
+%package help
+Summary: Development documents and examples for MAVProxy
+Provides: python3-MAVProxy-doc
+%description help
+A MAVLink protocol proxy and ground station. MAVProxy
+is oriented towards command line operation, and is suitable for embedding in
+small autonomous vehicles or for using on ground control stations. It also
+features a number of graphical tools such as a slipmap for satellite mapping
+view of the vehicles location, and status console and several useful vehicle
+control modules. MAVProxy is extensible via a modules system - see the modules
+subdirectory for some example modules. MAVProxy was developed by CanberraUAV
+for use in the 2012 Outback Challenge, and includes a module for the
+CanberraUAV search and rescue system. See
+https://ardupilot.org/mavproxy/index.html for more information
+on how to use MAVProxy.
+
+
+
+%prep
+%autosetup -n MAVProxy-1.8.59
+
+%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-MAVProxy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.8.59-1
+- Package Spec generated