Blame SPECS/Box2D.spec

98173b
%global __cmake_in_source_build 1
98173b
Name: Box2D
98173b
Version:  2.4.1
98173b
Release:  7%{?dist}
98173b
Summary: A 2D Physics Engine for Games
98173b
98173b
License: zlib
98173b
URL: http://box2d.org/
98173b
Source0: https://github.com/erincatto/box2d/archive/v%{version}/%{name}-%{version}.tar.gz
98173b
BuildRequires:  gcc
98173b
BuildRequires:  gcc-c++
98173b
BuildRequires: cmake
98173b
BuildRequires: make
98173b
98173b
%package devel
98173b
Summary: Development files for %{name}
98173b
Requires: %{name} = %{version}-%{release}
98173b
98173b
%description
98173b
Box2D is an open source C++ engine for simulating rigid bodies in 2D. 
98173b
Box2D is developed by Erin Catto and has the zlib license. 
98173b
While the zlib license does not require acknowledgement, 
98173b
we encourage you to give credit to Box2D in your product. 
98173b
98173b
%description devel
98173b
Box2D is an open source C++ engine for simulating rigid bodies in 2D. 
98173b
Box2D is developed by Erin Catto and has the zlib license. 
98173b
While the zlib license does not require acknowledgement, 
98173b
we encourage you to give credit to Box2D in your product. 
98173b
98173b
These are the development files.
98173b
98173b
%prep
98173b
%setup -qn box2d-%{version}
98173b
rm -r extern
98173b
98173b
%build
98173b
%cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -DBOX2D_BUILD_TESTBED=OFF -DBOX2D_BUILD_UNIT_TESTS=OFF .
98173b
%cmake_build
98173b
98173b
%install
98173b
%make_install
98173b
98173b
%ldconfig_scriptlets
98173b
98173b
%files
98173b
%license LICENSE
98173b
%{_libdir}/*.so.2*
98173b
98173b
%files devel
98173b
%doc README.md docs/
98173b
%{_libdir}/*.so
98173b
%{_includedir}/box2d
98173b
%{_libdir}/cmake/box2d/*.cmake
98173b
98173b
%changelog
98173b
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.1-7
98173b
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
98173b
  Related: rhbz#1991688
98173b
98173b
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.1-6
98173b
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
98173b
98173b
* Wed Feb 17 2021 Caolán McNamara <caolanm@redhat.com> - 2.4.1-5
98173b
- disable building BOX2D_BUILD_UNIT_TESTS due to "SIGSTKSZ ... no
98173b
  longer constant on Linux ... redefined to sysconf(_SC_SIGSTKSZ)"
98173b
  https://github.com/bminor/glibc/blob/master/NEWS causing build failure
98173b
98173b
* Wed Feb 17 2021 Caolán McNamara <caolanm@redhat.com> - 2.4.1-4
98173b
- reduce unnecessary dependencies
98173b
98173b
* Wed Feb 10 2021 Timm Bäder <tbaeder@redhat.com> - 2.4.1-3
98173b
- Use make macros
98173b
98173b
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-2
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
98173b
98173b
* Mon Oct 19 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.4.1-1
98173b
- 2.4.1
98173b
98173b
* Mon Aug 10 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.4.0-1
98173b
- 2.4.0 with patch for cmake shared libs.
98173b
98173b
* Tue Aug 04 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.3.1-15
98173b
- Fix FTBFS.
98173b
98173b
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-14
98173b
- Second attempt - Rebuilt for
98173b
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
98173b
98173b
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-13
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
98173b
98173b
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-12
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
98173b
98173b
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-11
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
98173b
98173b
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-10
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
98173b
98173b
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-9
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
98173b
98173b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-8
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
98173b
98173b
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-7
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
98173b
98173b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-6
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
98173b
98173b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-5
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
98173b
98173b
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-4
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
98173b
98173b
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-3
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
98173b
98173b
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.3.1-2
98173b
- Rebuilt for GCC 5 C++11 ABI change
98173b
98173b
* Fri Feb 20 2015 Lubomir Rintel <lkundrak@v3.sk> - 2.3.1-1
98173b
- Update
98173b
98173b
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-7
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
98173b
98173b
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-6
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
98173b
98173b
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-5
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
98173b
98173b
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-4
98173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
98173b
98173b
* Mon Aug 06 2012 Jon Ciesla <limburgher@gmail.com> - 2.2.1-3
98173b
- Review fixes from BZ 844090 comment 6.
98173b
98173b
* Thu Aug 02 2012 Jon Ciesla <limburgher@gmail.com> - 2.2.1-2
98173b
- Unbundle freeglut and glui.
98173b
98173b
* Sat Jul 28 2012 Jon Ciesla <limburgher@gmail.com> - 2.2.1-1
98173b
- create.