Name:           hpp-fcl
Version:        1.7.5
Release:        3%{?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

%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

%changelog
* 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