summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-20 11:30:02 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-20 11:30:02 +0000
commit5b4ceb341ff893d9af44664f13f880d40d14af08 (patch)
treee554f7f294cb9edd8ec5759003ce43a2d32c0c01
parentac4357f61d18f081902c425445254fcbc332b7d3 (diff)
automatic import of gzopeneuler24.03_LTS_SP3
-rw-r--r--.gitignore1
-rw-r--r--gz.spec61
-rw-r--r--sources1
3 files changed, 63 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b2b8e1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gz-3.0.0~pre1.tar.gz
diff --git a/gz.spec b/gz.spec
new file mode 100644
index 0000000..a35dca3
--- /dev/null
+++ b/gz.spec
@@ -0,0 +1,61 @@
+Name: gz
+Version: 3.0.0~pre1
+Release: 1%{?dist}
+Summary: Entrypoint to Gazebo command line interface
+
+License: Apache-2.0
+URL: https://github.com/gazebosim/gz-tools
+Source0: https://github.com/gazebosim/gz-tools/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+Group: Development/Libraries
+Packager: openEuler Builder <builder@openeuler.org>
+
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: gz-cmake
+
+Requires: ruby
+
+%description
+Gazebo Tools provides the gz command line tool that accepts multiple
+sub-commands. Each sub-command is implemented in a plugin that belongs
+to a specific Gazebo project. For example, all the commands that start
+with gz topic are implemented by the Gazebo Transport library.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Packager: openEuler Builder <builder@openeuler.org>
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files and CMake integration files for %{name}.
+
+%prep
+%autosetup -n %{name}-%{version}
+
+%build
+%cmake \
+ -DBUILD_TESTING=OFF \
+ -DUSE_SYSTEM_BACKWARDCPP=OFF
+%cmake_build
+
+%install
+%cmake_install
+
+%files
+%license LICENSE
+%doc README.md
+%{_bindir}/gz
+%{_libdir}/libgz-tools*-backward*.so.*
+%{_datadir}/gz/
+%{_datadir}/bash-completion/completions/gz
+
+%files devel
+%{_libdir}/libgz-tools*-backward*.so
+%{_libdir}/cmake/gz-tools*/
+%{_libdir}/pkgconfig/gz-tools*.pc
+
+%changelog
+* Sun Sep 20 2026 openEuler Builder <builder@openeuler.org> - 3.0.0~pre1-1
+- Initial package for gz-tools 3.0.0~pre1
diff --git a/sources b/sources
new file mode 100644
index 0000000..8bb2758
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3bfaf89d10f5ae93045ced3347659667 gz-3.0.0~pre1.tar.gz