summaryrefslogtreecommitdiff
path: root/gz.spec
blob: a35dca3f315e87c91ba9e9e1c4f831598bc20977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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