]>
Commit | Line | Data |
---|---|---|
823b21b4 | 1 | Summary: Bullet - vollision detection and rigid body dynamics library |
2 | Summary(pl.UTF-8): Bullet - biblioteka wykrywania kolizji oraz dynamiki ciała sztywnego | |
9eac1d3f | 3 | Name: bullet |
823b21b4 | 4 | Version: 2.77 |
821650f7 | 5 | Release: 1 |
f582dc50 | 6 | License: Zlib |
9eac1d3f | 7 | Group: Applications |
821650f7 | 8 | Source0: http://bullet.googlecode.com/files/%{name}-%{version}.tgz |
823b21b4 | 9 | # Source0-md5: 2f5074a1a29b618c672f1da4748e374b |
f582dc50 | 10 | URL: http://www.bulletphysics.com/Bullet/wordpress/ |
823b21b4 | 11 | BuildRequires: OpenGL-glut |
12 | BuildRequires: cmake | |
13 | BuildRequires: rpmbuild(macros) >= 1.600 | |
9eac1d3f | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
823b21b4 | 16 | # better fix by proper linking |
17 | %define skip_post_check_so libBulletMultiThreaded.so.* | |
18 | ||
9eac1d3f | 19 | %description |
823b21b4 | 20 | Bullet is a collision detection and rigid nody dynamics library. |
9eac1d3f | 21 | |
22 | %description -l pl.UTF-8 | |
823b21b4 | 23 | Bullet to biblioteka wykrywania kolizji oraz dynamiki ciała sztywnego |
9eac1d3f | 24 | |
9eac1d3f | 25 | %package devel |
823b21b4 | 26 | Summary: Header files for bullet library |
27 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki bullet | |
9eac1d3f | 28 | Group: Development/Libraries |
7ff7c67f | 29 | Requires: %{name} = %{version}-%{release} |
9eac1d3f | 30 | |
31 | %description devel | |
823b21b4 | 32 | Header files for bullet library. |
9eac1d3f | 33 | |
34 | %description devel -l pl.UTF-8 | |
823b21b4 | 35 | Pliki nagłówkowe biblioteki bullet. |
9eac1d3f | 36 | |
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %build | |
823b21b4 | 41 | mkdir build |
42 | cd build | |
43 | %cmake \ | |
44 | -DBUILD_DEMOS=OFF \ | |
45 | -DBUILD_EXTRAS=ON \ | |
46 | -DINCLUDE_INSTALL_DIR=%{_includedir}/%{name} \ | |
47 | .. | |
48 | ||
9eac1d3f | 49 | %{__make} |
50 | ||
9eac1d3f | 51 | %install |
52 | rm -rf $RPM_BUILD_ROOT | |
7ff7c67f | 53 | |
823b21b4 | 54 | %{__make} -C build install \ |
9eac1d3f | 55 | DESTDIR=$RPM_BUILD_ROOT |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
9eac1d3f | 60 | %post -p /sbin/ldconfig |
61 | %postun -p /sbin/ldconfig | |
9eac1d3f | 62 | |
9eac1d3f | 63 | %files |
64 | %defattr(644,root,root,755) | |
7ff7c67f | 65 | %doc AUTHORS ChangeLog NEWS README |
823b21b4 | 66 | %attr(755,root,root) %{_libdir}/libBulletCollision.so.*.* |
67 | %attr(755,root,root) %{_libdir}/libBulletDynamics.so.*.* | |
68 | %attr(755,root,root) %{_libdir}/libBulletMultiThreaded.so.*.* | |
69 | %attr(755,root,root) %{_libdir}/libBulletSoftBody.so.*.* | |
70 | %attr(755,root,root) %{_libdir}/libBulletSoftBodySolvers_CPU.so.*.* | |
71 | %attr(755,root,root) %{_libdir}/libLinearMath.so.*.* | |
72 | %attr(755,root,root) %{_libdir}/libMiniCL.so.*.* | |
7ff7c67f | 73 | |
74 | %files devel | |
66093014 | 75 | %defattr(644,root,root,755) |
823b21b4 | 76 | %doc Bullet_User_Manual.pdf |
77 | %attr(755,root,root) %{_libdir}/libBulletCollision.so | |
78 | %attr(755,root,root) %{_libdir}/libBulletDynamics.so | |
79 | %attr(755,root,root) %{_libdir}/libBulletMultiThreaded.so | |
80 | %attr(755,root,root) %{_libdir}/libBulletSoftBody.so | |
81 | %attr(755,root,root) %{_libdir}/libBulletSoftBodySolvers_CPU.so | |
82 | %attr(755,root,root) %{_libdir}/libLinearMath.so | |
83 | %attr(755,root,root) %{_libdir}/libMiniCL.so | |
84 | %{_includedir}/%{name} | |
7ff7c67f | 85 | %{_pkgconfigdir}/%{name}.pc |