|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
%global __cmake_in_source_build 1
|
|
|
|
|
Name: Box2D
|
|
|
|
|
Version: 2.4.1
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: A 2D Physics Engine for Games
|
|
|
|
|
|
|
|
|
|
License: zlib
|
|
|
|
@ -35,7 +35,7 @@ These are the development files.
|
|
|
|
|
rm -r extern
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -DBOX2D_BUILD_TESTBED=OFF .
|
|
|
|
|
%cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -DBOX2D_BUILD_TESTBED=OFF -DBOX2D_BUILD_UNIT_TESTS=OFF .
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -54,6 +54,11 @@ rm -r extern
|
|
|
|
|
%{_libdir}/cmake/box2d/*.cmake
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Feb 17 2021 Caolán McNamara <caolanm@redhat.com> - 2.4.1-5
|
|
|
|
|
- disable building BOX2D_BUILD_UNIT_TESTS due to "SIGSTKSZ ... no
|
|
|
|
|
longer constant on Linux ... redefined to sysconf(_SC_SIGSTKSZ)"
|
|
|
|
|
https://github.com/bminor/glibc/blob/master/NEWS causing build failure
|
|
|
|
|
|
|
|
|
|
* Wed Feb 17 2021 Caolán McNamara <caolanm@redhat.com> - 2.4.1-4
|
|
|
|
|
- reduce unnecessary dependencies
|
|
|
|
|
|
|
|
|
|