|
|
@ -1,7 +1,7 @@
|
|
|
|
%global __cmake_in_source_build 1
|
|
|
|
%global __cmake_in_source_build 1
|
|
|
|
Name: Box2D
|
|
|
|
Name: Box2D
|
|
|
|
Version: 2.4.1
|
|
|
|
Version: 2.4.1
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: A 2D Physics Engine for Games
|
|
|
|
Summary: A 2D Physics Engine for Games
|
|
|
|
|
|
|
|
|
|
|
|
License: zlib
|
|
|
|
License: zlib
|
|
|
@ -35,7 +35,7 @@ These are the development files.
|
|
|
|
rm -r extern
|
|
|
|
rm -r extern
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%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
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
@ -54,6 +54,11 @@ rm -r extern
|
|
|
|
%{_libdir}/cmake/box2d/*.cmake
|
|
|
|
%{_libdir}/cmake/box2d/*.cmake
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Wed Feb 17 2021 Caolán McNamara <caolanm@redhat.com> - 2.4.1-4
|
|
|
|
- reduce unnecessary dependencies
|
|
|
|
- reduce unnecessary dependencies
|
|
|
|
|
|
|
|
|
|
|
|