60 lines
1.7 KiB
RPMSpec
60 lines
1.7 KiB
RPMSpec
%global debug_package %{nil}
|
|
%global major_version 2
|
|
|
|
Name: ignition-cmake
|
|
Version: 2.14.0
|
|
Release: 1%{?dist}
|
|
Summary: CMake modules to be used by the Ignition projects
|
|
Epoch: 1
|
|
|
|
#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: https://osrf-distributions.s3.us-east-1.amazonaws.com/ign-cmake/releases/ignition-cmake%{major_version}_%{version}.tar.gz
|
|
|
|
# Install pkgconfig files to /usr/share instead of libdir
|
|
#Patch0: %{name}-2.10.0-noarch.patch
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: cmake
|
|
BuildRequires: doxygen
|
|
BuildRequires: graphviz
|
|
|
|
%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
|
|
# -p0 -S gendiff
|
|
|
|
%build
|
|
%cmake -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files devel
|
|
%{_datadir}/cmake/%{name}%{major_version}
|
|
%{_datadir}/ignition
|
|
%{_libdir}/pkgconfig
|
|
%{_includedir}/ignition/cmake%{major_version}
|
|
|
|
%changelog
|
|
* Thu May 04 2023 flynneva evanflynn.msu@gmail.com - 2.14.0-1
|
|
- Autogenerated by ros-porting-tools
|