]>
Commit | Line | Data |
---|---|---|
cc00dfef | 1 | Summary: ODE is a library for simulating articulated rigid body dynamics |
2aa52682 | 2 | Summary(pl.UTF-8): ODE jest biblioteką służącą do symulacji dynamiki bryły sztywnej |
cc00dfef | 3 | Name: ode |
e8bff069 | 4 | Version: 0.10.1 |
5 | Release: 1 | |
88ddbc93 | 6 | Epoch: 1 |
7bfb5633 | 7 | License: LGPL v2.1+ |
cc00dfef | 8 | Group: Libraries |
5cae0dca | 9 | Source0: http://dl.sourceforge.net/opende/%{name}-%{version}.tar.bz2 |
e8bff069 | 10 | # Source0-md5: 91c396b915539a760617437d56eb1681 |
d25c5771 | 11 | URL: http://ode.org/ |
606c508e | 12 | BuildRequires: OpenGL-GLU-devel |
cc00dfef | 13 | BuildRequires: OpenGL-devel |
91ffb7f1 JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
d6f36f4b | 16 | BuildRequires: libstdc++-devel |
606c508e | 17 | BuildRequires: libtool |
326c87b1 | 18 | BuildRequires: xorg-lib-libX11-devel |
cc00dfef | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
d6f36f4b JB |
21 | %define _noautoreqdep libGL.so.1 libGLU.so.1 |
22 | ||
cc00dfef | 23 | %description |
24 | The Open Dynamics Engine (ODE) is a free software library for the | |
25 | simulation of Rigid Body Dynamics. ODE is useful for simulating things | |
26 | like vehicles, objects in virtual reality environments, and virtual | |
27 | creatures. | |
28 | ||
b7c0a82c | 29 | %description -l pl.UTF-8 |
7bfb5633 | 30 | Open Dynamics Engine (ODE) jest wolną biblioteką służącą do |
31 | symulacji dynamiki bryły sztywnej. ODE jest użyteczne przy symulacji | |
32 | pojazdów, obiektów w przestrzeni wirtualnej i wirtualnych stworzeń. | |
cc00dfef | 33 | |
34 | %package devel | |
d6f36f4b | 35 | Summary: Header files for ODE libraries |
2aa52682 | 36 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek ODE |
cc00dfef | 37 | Group: Development/Libraries |
88ddbc93 | 38 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d6f36f4b | 39 | Requires: libstdc++-devel |
cc00dfef | 40 | |
41 | %description devel | |
d6f36f4b | 42 | Header files for ODE libraries. |
cc00dfef | 43 | |
b7c0a82c JR |
44 | %description devel -l pl.UTF-8 |
45 | Pliki nagłówkowe bibliotek ODE. | |
d6f36f4b JB |
46 | |
47 | %package static | |
48 | Summary: Static ODE libraries | |
2aa52682 | 49 | Summary(pl.UTF-8): Statyczne biblioteki ODE |
d6f36f4b | 50 | Group: Development/Libraries |
88ddbc93 | 51 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
d6f36f4b JB |
52 | |
53 | %description static | |
54 | Static ODE libraries. | |
55 | ||
b7c0a82c | 56 | %description static -l pl.UTF-8 |
d6f36f4b | 57 | Statyczne biblioteki ODE. |
cc00dfef | 58 | |
59 | %prep | |
60 | %setup -q | |
61 | ||
62 | %build | |
606c508e | 63 | %{__libtoolize} |
1f3ac6cc | 64 | %{__aclocal} |
65 | %{__autoconf} | |
66 | %{__autoheader} | |
67 | %{__automake} | |
91ffb7f1 | 68 | %configure \ |
5cae0dca | 69 | --enable-shared |
69d0b5e7 | 70 | %{__make} |
cc00dfef | 71 | |
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
cc00dfef | 74 | |
69d0b5e7 | 75 | %{__make} install \ |
76 | DESTDIR=$RPM_BUILD_ROOT | |
cc00dfef | 77 | |
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
d6f36f4b JB |
81 | %post -p /sbin/ldconfig |
82 | %postun -p /sbin/ldconfig | |
83 | ||
cc00dfef | 84 | %files |
85 | %defattr(644,root,root,755) | |
69d0b5e7 | 86 | %doc CHANGELOG.txt README.txt |
e8bff069 | 87 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
cc00dfef | 88 | |
89 | %files devel | |
90 | %defattr(644,root,root,755) | |
69d0b5e7 | 91 | %doc ode/{README,TODO} ode/doc/{main.dox,pix} |
76bacbd5 JB |
92 | %attr(755,root,root) %{_bindir}/ode-config |
93 | %attr(755,root,root) %{_libdir}/libode.so | |
5cae0dca | 94 | %{_libdir}/libode.la |
76bacbd5 | 95 | %{_includedir}/ode |
d6f36f4b JB |
96 | |
97 | %files static | |
98 | %defattr(644,root,root,755) | |
76bacbd5 | 99 | %{_libdir}/libode.a |