Projects
Eulaceura:Factory
Box2D
_service:obs_scm:Box2D.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:Box2D.spec of Package Box2D
%global __cmake_in_source_build 1 Name: Box2D Version: 2.4.1 Release: 1 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 gcc-c++ cmake 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 . %make_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 * Wed Sep 06 2023 Darssin <2020303249@mail.nwpu.edu.cn> - 2.4.1-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2