SHA256
1
0
forked from pool/ode

Accepting request 398197 from home:DarkSS

Project should have the same name as upstream & pkgconfig.

OBS-URL: https://build.opensuse.org/request/show/398197
OBS-URL: https://build.opensuse.org/package/show/games/ode?expand=0&rev=2
This commit is contained in:
Matthias Mailänder 2016-05-26 18:21:50 +00:00 committed by Git OBS Bridge
parent 7eb963a8d0
commit defbea480b
5 changed files with 236 additions and 62 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:502646f07db09e5c9b1a259d616d843218104cd7dce0333c21b488f6ed59dadb
size 1805765

3
ode-0.13.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:34ce3e236e313bf109a0cb5546d2fca462aed99f29a42e62bc1463b803c31ef9
size 2008288

25
ode-config.1 Normal file
View File

@ -0,0 +1,25 @@
.TH "ode-config" "1" "0.13" "Dmitriy A. Perlow aka DAP-DarkneSS" ""
.SH "NAME"
Open Dynamics Engine library configuration tool.
.br
.SH "SYNTAX"
ode-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]
.br
.SH "OPTIONS"
\fB--version\fR
.br
Output version information and exit.
.br
\fB--cflags\fR
.br
Output compiler flags and exit.
.br
\fB--libs\fR
.br
Output linker flags and exit.
.br
.SH "AUTHORS"
http://ode.org
.br

View File

@ -1,9 +1,137 @@
-------------------------------------------------------------------
Tue Sep 25 18:53:47 UTC 2012 - asterios.dramis@gmail.com
Thu May 26 10:26:03 UTC 2016 - dap.darkness@gmail.com
- Use pkgconfig(...) for Mesa and xorg-x11 build requirements.
- Update to 0.13:
* Stable, implicit gyroscopic forces.
* New joint: transmission joint.
* Contacts now have rolling friction.
* Removed the need for defining dSINGLE/dDOUBLE.
* New joint: Double Ball (AKA "distance joint").
* New joint: Double Hinge.
* Threaded execution support interface added (experimental).
* Many bugs were fixed.
- General clean-up via `spec-cleaner`.
- Source tag was fixed up to use the upstream download URL.
- License tag was fixed. Thanks to @AndreasStieger.
- BuildRequires tags were fixed up.
- Project should have the same name as upstream & pkgconfig.
- Added simple man page for ode-config.
- Added `make check` section (fails for i586).
-------------------------------------------------------------------
Sat Mar 31 22:07:00 UTC 2012 - asterios.dramis@gmail.com
Sun Feb 19 23:22:59 UTC 2012 - jengelh@medozas.de
- Use proper LIBS variable for slipping in X11
(Libs in LDFLAGS may not have any effect due to importance of
linking order)
-------------------------------------------------------------------
Mon Nov 21 13:19:06 UTC 2011 - jengelh@medozas.de
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
- Call configure properly to put libs where they are supposed to be
- Use %_smp_mflags for parallel building
- Produce shared libraries
-------------------------------------------------------------------
Sat Nov 19 20:28:13 UTC 2011 - seife+obs@b1-systems.com
- update to 0.11.1
* lots of new functions and bugfixes, see CHANGELOG.txt
* add pkgconfig file
- fix build for > 11.4 (add -lX11 explicitly)
- use $RPM_OPT_FLAGS for building
-------------------------------------------------------------------
Mon Aug 11 10:49:17 CEST 2008 - sndirsch@suse.de
- update to 0.10.1
* New function: dJointSetPistonAnchorOffset
* Add new function dJointSetHingeAxisDelta
* Fix problem with dJointGetPistonPosition and
dJointGetPistonPositionRate when the joint is attached to only
a body 2. The sign was inversed.
* Update the slider joint to have the same behavior as the other
joint when there is only a body2 attached to it.
* Rename the new function dJointSetHingeAxisDelta to
dJointSetHingeAxisOffset. This will remove confusion with the
old function dJointSetHingeAnchorDelta.
* Bug fix: Max Correcting Vel behavior is now the same as before
0.10.
-------------------------------------------------------------------
Sun Jul 20 00:36:23 CEST 2008 - sndirsch@suse.de
- update to 0.10
* current stable release
-------------------------------------------------------------------
Wed Nov 21 04:59:18 CET 2007 - sndirsch@suse.de
- update to 0.9
* latest stable release
-------------------------------------------------------------------
Thu May 24 12:17:31 CEST 2007 - sndirsch@suse.de
- added -devel package to make rpmlint happy
-------------------------------------------------------------------
Thu May 10 23:25:03 CEST 2007 - sndirsch@suse.de
- updated to 0.8
-------------------------------------------------------------------
Thu Mar 29 14:25:36 CEST 2007 - coolo@suse.de
- fix BuildRequires (unzip)
-------------------------------------------------------------------
Fri Oct 20 04:18:54 CEST 2006 - sndirsch@suse.de
- updated to 0.7
-------------------------------------------------------------------
Mon Jun 5 11:02:58 CEST 2006 - sndirsch@suse.de
- updated to 0.6-rc3
* Added Convex primitive collision code,
currently only convex-sphere and convex-plane work
* Added program to test trimesh vs sphere: ode/test/test_basket
* Added new autogenerated Visual Studio projects, with Premake scripts
* Added plane/cyl intersection test
* Renamed CCylinder to Capsule
* Added support for geom offsets.
* Removed LIBTOOL from autotools since it was not really required.
* Added a target to build ODE as a shared library, this shared
library gets build alongside the static one, no flags required.
* dRandInt changed for a non-double all-int version.
* mics minor fixes and improvements.
* Fixed segmentation fault with OPCODE on 64 bits systems.
* Fixed timer.cpp compiler error on x86-64 using GCC.
* Added trimesh preprocessing to mark unneeded edges and verts. Also
added support for preprocessed info to the ccylinder-trimesh
collider.
* Important AMotors bugfix
* Assorted small bugfixes and tweaks for
trimesh_{box,ccylinder,trimesh} collisions
* added functions to joint.cpp to allow joint attachment to moving
geoms.
* added malloc-based memory allocation in step.cpp & lcp.cpp (turned
on with a #define switch in common.h)
-------------------------------------------------------------------
Wed Jan 25 21:37:36 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Nov 25 14:33:50 CET 2005 - sndirsch@suse.de
- added -fno-strict-aliasing to fix build
-------------------------------------------------------------------
Thu Nov 10 17:55:26 CET 2005 - sndirsch@suse.de
- created package
- Initial release (version 0.12).

131
ode.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package ode
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,81 +15,102 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define so_ver 3
%define so_maj 3
%define lname libode%{so_maj}
Name: ode
Summary: Open Dynamics Engine
License: LGPL-2.1+ or BSD-3-Clause
Group: System/Libraries
Version: 0.12
Url: http://ode.org/
Summary: Open Dynamics Engine Library
License: LGPL-2.1+ or BSD-3-Clause or Zlib
Group: Development/Libraries/C and C++
Version: 0.13
Release: 0
Url: http://www.ode.org/
Source0: http://downloads.sourceforge.net/opende/%{name}-%{version}.tar.bz2
Source0: https://sourceforge.net/projects/opende/files/ODE/%{version}/ode-%{version}.tar.bz2
Source9: ode-config.1
BuildRequires: Mesa-devel
BuildRequires: freeglut-devel
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(x11)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig
%description
ODE is a free, industrial quality library for simulating articulated
rigid body dynamics - for example ground vehicles, legged creatures,
and moving objects in VR environments. It is fast, flexible, robust
and platform independent, with advanced joints, contact with friction,
and built-in collision detection.
ODE is an open source, high performance library for simulating rigid
body dynamics. It is fully featured, stable, mature and platform
independent with an easy to use C/C++ API. It has advanced joint types
and integrated collision detection with friction. ODE is useful for
simulating vehicles, objects in virtual reality environments and
virtual creatures. It is currently used in many computer games, 3D
authoring tools and simulation tools.
%package devel
Summary: Development Files for ODE
Group: Development/Libraries/C and C++
Requires: libode%{so_ver} = %{version}
%description devel
This package provides development libraries and headers needed to build
software using ODE.
%package -n libode%{so_ver}
Summary: Open Dynamics Engine
%package -n %{lname}
Summary: Open Dynamics Engine Library development files
Group: System/Libraries
%description -n libode%{so_ver}
ODE is a free, industrial quality library for simulating articulated
rigid body dynamics - for example ground vehicles, legged creatures,
and moving objects in VR environments. It is fast, flexible, robust
and platform independent, with advanced joints, contact with friction,
and built-in collision detection.
%description -n %{lname}
ODE is an open source, high performance library for simulating rigid
body dynamics. It is fully featured, stable, mature and platform
independent with an easy to use C/C++ API. It has advanced joint types
and integrated collision detection with friction. ODE is useful for
simulating vehicles, objects in virtual reality environments and
virtual creatures. It is currently used in many computer games, 3D
authoring tools and simulation tools.
%package devel
Summary: Open Dynamics Engine Library development files
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
Provides: libode-devel = %{version}
%description devel
ODE is an open source, high performance library for simulating rigid
body dynamics. It is fully featured, stable, mature and platform
independent with an easy to use C/C++ API. It has advanced joint types
and integrated collision detection with friction. ODE is useful for
simulating vehicles, objects in virtual reality environments and
virtual creatures. It is currently used in many computer games, 3D
authoring tools and simulation tools.
%prep
%setup -q
%setup -q -n ode-%{version}
%build
%configure \
--enable-shared \
--disable-static \
--disable-demos
make %{?_smp_mflags}
#autoreconf -fi
CFLAGS="%{optflags} -fno-strict-aliasing"
CXXFLAGS="$CFLAGS"
export CFLAGS CXXFLAGS
export X_LIBS="-lX11"
%configure --enable-shared --disable-static
make V=1 %{?_smp_mflags}
%install
%make_install
make V=1 %{?_smp_mflags} DESTDIR=%{buildroot} install
mkdir -p %{buildroot}%{_mandir}/man1
gzip -c9 %{SOURCE9} | tee -a %{buildroot}%{_mandir}/man1/ode-config.1.gz
find %{buildroot} -type f -name "*.la" -delete -print
# Remove unneeded files
rm -f %{buildroot}%{_libdir}/*.la
%ifarch %{ix86}
# Fail.
%else
%check
make V=1 %{?_smp_mflags} check
%endif
%post -n libode%{so_ver} -p /sbin/ldconfig
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%postun -n libode%{so_ver} -p /sbin/ldconfig
%files -n %{lname}
%defattr(-,root,root)
%doc LICENSE.TXT README.txt CHANGELOG.txt COPYING
%{_libdir}/libode.so.%{so_maj}.*
%files devel
%defattr(-,root,root,-)
%doc CHANGELOG.txt LICENSE.TXT README.txt
%defattr(-,root,root)
%{_bindir}/ode-config
%{_includedir}/ode/
%{_libdir}/pkgconfig/ode.pc
%{_mandir}/man1/ode-config.1.gz
%{_includedir}/ode
%{_libdir}/libode.so
%files -n libode%{so_ver}
%defattr(-,root,root,-)
%{_libdir}/libode.so.3*
%{_libdir}/libode.so.%{so_maj}
%{_libdir}/pkgconfig/*.pc
%changelog