Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37824118
en ru br
ALT Linux repos
S:7.2.0-alt1

Group :: Development/C++
RPM: gz-math

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name:    gz-math
Version: 7.2.0
Release: alt1

Summary: General purpose math library for robot applications
License: Apache-2.0
Group:   Development/C++
Url:     https://github.com/gazebosim/gz-math

Packager: Andrey Cherepanov <cas at altlinux.org>

Source: %name-%version.tar

BuildRequires(pre): cmake
BuildRequires(pre): rpm-build-ninja
BuildRequires: gcc-c++
BuildRequires: gz-cmake
BuildRequires: libgz-utils-devel >= 2.0.0
BuildRequires: eigen3
BuildRequires: swig
BuildRequires: python3-dev
BuildRequires: python3-module-pybind11

%description
Gazebo Math provides a wide range of functionality, including:
* Type-templated pose, matrix, vector, and quaternion classes.
* Shape representations along with operators to compute volume, density, size
 and other properties.
* Classes for material properties, mass, inertial, temperature, PID, kmeans,
 spherical coordinates, and filtering.
* Optional Eigen component that converts between a few Eigen and Gazebo Math
 types.

%package -n lib%name
Summary: Library of %name
Group: System/Libraries

%description -n lib%name
%summary

%package -n lib%{name}-devel
Summary: Development files for %name
Group: Development/C++

%description -n lib%{name}-devel
%summary

%package -n python3-module-%name
Summary: Python bindings for %name
Group: Development/Python3

%description -n python3-module-%name
%summary

%prep
%setup

%build
%cmake -GNinja -Wno-dev
%ninja_build -C "%_cmake__builddir"

%install
%ninja_install -C "%_cmake__builddir"

%files -n lib%name
%doc AUTHORS README.md
%_libdir/lib*.so.*
%_libdir/lib*.so

%files -n lib%{name}-devel
%_includedir/gz/math*
%_libdir/cmake/gz-math*
%_libdir/pkgconfig/*.pc

%files -n python3-module-%name
%_libdir/python/gz/*.so

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin