File ignition-cmake2.spec of Package ign-cmake2

#
# spec file for package ignition-cmake
#
# Copyright (c) 2022 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

%define major 2
Name:           ignition-cmake%{major}
Version:        2.17.1
Release:        0
Summary:        CMake modules to be used by the Ignition projects
License:        Apache-2.0
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group:          Development/Tools/Other
Url:            https://github.com/gazebosim/gz-cmake
Source:         ign-cmake-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  doxygen
BuildRequires:  cppcheck
BuildRequires:  rubygem(%{rb_default_ruby_abi}:ronn)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package is required to build ignition projects, as well as to link your
own projects against them.

%prep
%setup -q -n ign-cmake-%{version}

%build
%cmake
make %{?_smp_mflags}

%install
%cmake_install

%files
%defattr(-,root,root)
%doc README*
%{_libdir}/*
%{_datadir}/*
%{_prefix}/include/*

%changelog

openSUSE Build Service is sponsored by