%global debug_package %{nil} %global major_version 1 Name: ignition-cmake Version: 1.0.0 Release: 0.1.pre3%{?dist} Summary: CMake modules to be used by the Ignition projects #Most of the sources are Apache, but a couple of the CMake Find* modules are licensed as BSD License: ASL 2.0 and BSD URL: https://ignitionrobotics.org/libs/cmake Source0: http://gazebosim.org/distributions/ign-cmake/releases/%{name}%{major_version}-%{version}~pre3.tar.bz2 BuildRequires: cmake %description This package is required to build ignition projects, as well as to link your own projects against them. It provides modules that are used to find dependencies of ignition projects and generate cmake targets for consumers of ignition projects to link against. %package devel Summary: CMake modules to be used by the Ignition projects BuildArch: noarch %description devel This package is required to build ignition projects, as well as to link your own projects against them. It provides modules that are used to find dependencies of ignition projects and generate cmake targets for consumers of ignition projects to link against. %prep %autosetup -n %{name}-%{version}~pre3 %build mkdir build; pushd build %cmake .. -DBUILD_TESTING=OFF popd %make_build -C build %install %make_install -C build %files devel %{_datadir}/cmake/%{name}%{major_version} %{_datadir}/ignition %changelog * Sun May 13 2018 Rich Mattes - 1.0.0-0.1.pre3 - Initial package