diff options
Diffstat (limited to 'gz.spec')
| -rw-r--r-- | gz.spec | 61 |
1 files changed, 61 insertions, 0 deletions
@@ -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 |
