Accepting request 149599 from home:adra
Request to add the ode library to games OBS-URL: https://build.opensuse.org/request/show/149599 OBS-URL: https://build.opensuse.org/package/show/games/ode?expand=0&rev=1
This commit is contained in:
commit
7eb963a8d0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
ode-0.12.tar.bz2
Normal file
3
ode-0.12.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:502646f07db09e5c9b1a259d616d843218104cd7dce0333c21b488f6ed59dadb
|
||||
size 1805765
|
9
ode.changes
Normal file
9
ode.changes
Normal file
@ -0,0 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 25 18:53:47 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
- Use pkgconfig(...) for Mesa and xorg-x11 build requirements.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 31 22:07:00 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
- Initial release (version 0.12).
|
95
ode.spec
Normal file
95
ode.spec
Normal file
@ -0,0 +1,95 @@
|
||||
#
|
||||
# spec file for package ode
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define so_ver 3
|
||||
|
||||
Name: ode
|
||||
Summary: Open Dynamics Engine
|
||||
License: LGPL-2.1+ or BSD-3-Clause
|
||||
Group: System/Libraries
|
||||
Version: 0.12
|
||||
Release: 0
|
||||
Url: http://www.ode.org/
|
||||
Source0: http://downloads.sourceforge.net/opende/%{name}-%{version}.tar.bz2
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(gl)
|
||||
BuildRequires: pkgconfig(glu)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%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.
|
||||
|
||||
%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
|
||||
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.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--disable-demos
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
# Remove unneeded files
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -n libode%{so_ver} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libode%{so_ver} -p /sbin/ldconfig
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG.txt LICENSE.TXT README.txt
|
||||
%{_bindir}/ode-config
|
||||
%{_includedir}/ode/
|
||||
%{_libdir}/pkgconfig/ode.pc
|
||||
%{_libdir}/libode.so
|
||||
|
||||
%files -n libode%{so_ver}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libode.so.3*
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user