Name:           hpp-fcl
Version:        2.4.1
Release:        1%{?dist}
Summary:        An extension of the Flexible Collision Library

License:        BSD
URL:            https://github.com/humanoid-path-planner/hpp-fcl
Source:         https://github.com/humanoid-path-planner/hpp-fcl/releases/download/v%{version}/hpp-fcl-%{version}.tar.gz

BuildRequires:  python3-devel boost-devel python3-numpy cmake gcc-c++ python3-EigenPy assimp-devel eigen3-devel octomap-devel qhull-devel python-setuptools

%description
This project is initially a fork from fcl and has evolved since then.

%prep
%setup -q -n hpp-fcl-%{version}

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%{python3_sitelib}/*
%{_includedir}/hpp
%{_libdir}/*.so
%{_libdir}/cmake/hpp-fcl
%{_libdir}/pkgconfig/hpp-fcl.pc
%{_datadir}/hpp-fcl
%{_datadir}/ament_index

%changelog
* Sat Jan 27 2024 Bruno Postle <bruno@postle.net> - 2.4.1-1
- upgrade to latest release

* Fri Jan 26 2024 Bruno Postle <bruno@postle.net> - 1.7.5-5
- rebuild for new boost in f40

* Tue Jul 18 2023 Bruno Postle <bruno@postle.net> - 1.7.5-4
- rebuild for python-setuptools replacing buildutils

* Tue Apr 18 2023 Bruno Postle <bruno@postle.net> - 1.7.5-3
- rebuild for boost

* Fri Aug 20 2021 Bruno Postle <bruno@postle.net> - 1.7.5-2
- rebuild for boost

* Tue Aug 03 2021 Bruno Postle <bruno@postle.net> - 1.7.5-1
- initial package