Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37842512
en ru br
ALT Linux repos
S:0.7.0-alt1.1

Group :: Other
RPM: fcl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name:    fcl
Version: 0.7.0
Release: alt1.1

Summary: Flexible Collision Library
License: BSD-3-Clause
Group:   Other
Url:     https://github.com/flexible-collision-library/fcl

Packager: Andrey Cherepanov <cas at altlinux.org>

Source: %name-%version.tar

BuildRequires(pre): cmake
BuildRequires(pre): rpm-build-ninja
BuildRequires: gcc-c++
BuildRequires: libccd-devel
BuildRequires: eigen3

%description
FCL is a library for performing three types of proximity queries on a pair of
geometric models composed of triangles.

%package -n lib%name
Summary: Library of %name
Group: System/Libraries

%description -n lib%name
%summary

%package -n lib%{name}-devel
Summary: Development files for %name
Group: Development/C++

%description -n lib%{name}-devel
%summary

%prep
%setup
%ifarch %e2k
# LCC bug workaround
sed -i "/extern template/{N;s/.*/#ifndef FCL_SHAPE_CONVEX_CPP\n&\n#endif/}" \
include/fcl/geometry/shape/convex-inl.h
sed -i "1i #define FCL_SHAPE_CONVEX_CPP" src/geometry/shape/convex.cpp
%endif

%build
%cmake -GNinja -Wno-dev
%ninja_build -C "%_cmake__builddir"

%install
%ninja_install -C "%_cmake__builddir"

%files -n lib%name
%doc LICENSE CHANGELOG.md README.md
%_libdir/lib*.so.*
%_datadir/%name

%files -n lib%{name}-devel
%_includedir/*
%_libdir/lib*.so
%_libdir/cmake/*
%_libdir/pkgconfig/*.pc

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin