From 98173b40ad45e5dc2f853b389f24f6b7c91955ae Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 17 2022 11:34:43 +0000 Subject: import Box2D-2.4.1-7.module+el9.0.0+12759+42494858 --- diff --git a/.Box2D.metadata b/.Box2D.metadata new file mode 100644 index 0000000..deafb39 --- /dev/null +++ b/.Box2D.metadata @@ -0,0 +1 @@ +bcf50ce79a21340388894cef522871b14926ad2d SOURCES/Box2D-2.4.1.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ab5b150 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Box2D-2.4.1.tar.gz diff --git a/SPECS/Box2D.spec b/SPECS/Box2D.spec new file mode 100644 index 0000000..e9adf54 --- /dev/null +++ b/SPECS/Box2D.spec @@ -0,0 +1,149 @@ +%global __cmake_in_source_build 1 +Name: Box2D +Version: 2.4.1 +Release: 7%{?dist} +Summary: A 2D Physics Engine for Games + +License: zlib +URL: http://box2d.org/ +Source0: https://github.com/erincatto/box2d/archive/v%{version}/%{name}-%{version}.tar.gz +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: make + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} + +%description +Box2D is an open source C++ engine for simulating rigid bodies in 2D. +Box2D is developed by Erin Catto and has the zlib license. +While the zlib license does not require acknowledgement, +we encourage you to give credit to Box2D in your product. + +%description devel +Box2D is an open source C++ engine for simulating rigid bodies in 2D. +Box2D is developed by Erin Catto and has the zlib license. +While the zlib license does not require acknowledgement, +we encourage you to give credit to Box2D in your product. + +These are the development files. + +%prep +%setup -qn box2d-%{version} +rm -r extern + +%build +%cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -DBOX2D_BUILD_TESTBED=OFF -DBOX2D_BUILD_UNIT_TESTS=OFF . +%cmake_build + +%install +%make_install + +%ldconfig_scriptlets + +%files +%license LICENSE +%{_libdir}/*.so.2* + +%files devel +%doc README.md docs/ +%{_libdir}/*.so +%{_includedir}/box2d +%{_libdir}/cmake/box2d/*.cmake + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 2.4.1-7 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Thu Apr 15 2021 Mohan Boddu - 2.4.1-6 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Feb 17 2021 Caolán McNamara - 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 - 2.4.1-4 +- reduce unnecessary dependencies + +* Wed Feb 10 2021 Timm Bäder - 2.4.1-3 +- Use make macros + +* Mon Jan 25 2021 Fedora Release Engineering - 2.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Oct 19 2020 Gwyn Ciesla - 2.4.1-1 +- 2.4.1 + +* Mon Aug 10 2020 Gwyn Ciesla - 2.4.0-1 +- 2.4.0 with patch for cmake shared libs. + +* Tue Aug 04 2020 Gwyn Ciesla - 2.3.1-15 +- Fix FTBFS. + +* Sat Aug 01 2020 Fedora Release Engineering - 2.3.1-14 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 2.3.1-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Fedora Release Engineering - 2.3.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 2.3.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 2.3.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 2.3.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 2.3.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 2.3.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.3.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 2.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 2.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jun 16 2015 Fedora Release Engineering - 2.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 2.3.1-2 +- Rebuilt for GCC 5 C++11 ABI change + +* Fri Feb 20 2015 Lubomir Rintel - 2.3.1-1 +- Update + +* Fri Aug 15 2014 Fedora Release Engineering - 2.2.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jun 06 2014 Fedora Release Engineering - 2.2.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Aug 02 2013 Fedora Release Engineering - 2.2.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 2.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Aug 06 2012 Jon Ciesla - 2.2.1-3 +- Review fixes from BZ 844090 comment 6. + +* Thu Aug 02 2012 Jon Ciesla - 2.2.1-2 +- Unbundle freeglut and glui. + +* Sat Jul 28 2012 Jon Ciesla - 2.2.1-1 +- create.