Author: lisu                         Date: Wed Apr  6 08:10:42 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.77
- cmake build system
- BRs: OpenGL-glut, cmake, rpmbuild(macros) >= 1.600
- skip so post checking for broken lib
- pl desc and summary
- no static files
- more verbose files
- general cleanups

---- Files affected:
packages/bullet:
   bullet.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/bullet/bullet.spec
diff -u packages/bullet/bullet.spec:1.5 packages/bullet/bullet.spec:1.6
--- packages/bullet/bullet.spec:1.5     Mon Feb  7 00:45:25 2011
+++ packages/bullet/bullet.spec Wed Apr  6 10:10:37 2011
@@ -1,95 +1,106 @@
 # $Revision$, $Date$
-#
-%define                patch   %{nil}
-
-Summary:       Bullet - Collision Detection and Rigid Body Dynamics Library.
-Summary(pl.UTF-8):     Bullet
+Summary:       Bullet - vollision detection and rigid body dynamics library
+Summary(pl.UTF-8):     Bullet - biblioteka wykrywania kolizji oraz dynamiki 
ciała sztywnego
 Name:          bullet
-Version:       2.74
+Version:       2.77
 Release:       0.99
 License:       Zlib
 Group:         Applications
 Source0:       
http://bullet.googlecode.com/files/%{name}-%{version}%{patch}.tgz
-# Source0-md5: a444e0a5cd528c91356490ed7f25e262
+# Source0-md5: 2f5074a1a29b618c672f1da4748e374b
 URL:           http://www.bulletphysics.com/Bullet/wordpress/
+BuildRequires: OpenGL-glut
+BuildRequires: cmake
+BuildRequires: rpmbuild(macros) >= 1.600
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# better fix by proper linking
+%define                skip_post_check_so      libBulletMultiThreaded.so.*
+
 %description
-Bullet is a Collision Detection and Rigid Body Dynamics Library.
+Bullet is a collision detection and rigid nody dynamics library.
 
 %description -l pl.UTF-8
+Bullet to biblioteka wykrywania kolizji oraz dynamiki ciała sztywnego
 
 %package devel
-Summary:       Header files for ... library
-Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki ...
+Summary:       Header files for bullet library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki bullet
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
 %description devel
-Header files for ... library.
+Header files for bullet library.
 
 %description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki ....
-
-%package static
-Summary:       Static ... library
-Summary(pl.UTF-8):     Statyczna biblioteka ...
-Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}-%{release}
-
-%description static
-Static ... library.
-
-%description static -l pl.UTF-8
-Statyczna biblioteka ....
+Pliki nagłówkowe biblioteki bullet.
 
 %prep
 %setup -q
 
 %build
-./autogen.sh
-%configure
+mkdir build
+cd build
+%cmake \
+       -DBUILD_DEMOS=OFF \
+       -DBUILD_EXTRAS=ON \
+       -DINCLUDE_INSTALL_DIR=%{_includedir}/%{name} \
+       ..
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-cat install-sh | tr -d '\r' > install-sh2
-mv install-sh2 install-sh
-
-%{__make} install \
+%{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%if %{with ldconfig}
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
-%endif
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr (755,root,root) %{_libdir}/lib%{name}*.so.*.*
+%attr(755,root,root) %{_libdir}/libBulletCollision.so.*.*
+%attr(755,root,root) %{_libdir}/libBulletDynamics.so.*.*
+%attr(755,root,root) %{_libdir}/libBulletMultiThreaded.so.*.*
+%attr(755,root,root) %{_libdir}/libBulletSoftBody.so.*.*
+%attr(755,root,root) %{_libdir}/libBulletSoftBodySolvers_CPU.so.*.*
+%attr(755,root,root) %{_libdir}/libLinearMath.so.*.*
+%attr(755,root,root) %{_libdir}/libMiniCL.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib%{name}*.so
-%attr(755,root,root) %{_libdir}/lib%{name}*.so.*
-%attr(644,root,root) %{_libdir}/lib%{name}*.la
-%{_includedir}/%{name}/
+%doc Bullet_User_Manual.pdf
+%attr(755,root,root) %{_libdir}/libBulletCollision.so
+%attr(755,root,root) %{_libdir}/libBulletDynamics.so
+%attr(755,root,root) %{_libdir}/libBulletMultiThreaded.so
+%attr(755,root,root) %{_libdir}/libBulletSoftBody.so
+%attr(755,root,root) %{_libdir}/libBulletSoftBodySolvers_CPU.so
+%attr(755,root,root) %{_libdir}/libLinearMath.so
+%attr(755,root,root) %{_libdir}/libMiniCL.so
+%{_includedir}/%{name}
 %{_pkgconfigdir}/%{name}.pc
 
-%files static
-%{_libdir}/lib%{name}*.a
-
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[email protected]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2011/04/06 08:10:37  lisu
+- up to 2.77
+- cmake build system
+- BRs: OpenGL-glut, cmake, rpmbuild(macros) >= 1.600
+- skip so post checking for broken lib
+- pl desc and summary
+- no static files
+- more verbose files
+- general cleanups
+
 Revision 1.5  2011/02/06 23:45:25  sparky
 - fix misused %defattr
 
@@ -107,9 +118,3 @@
 Revision 1.1  2009/02/18 11:33:01  cieciwa
 - initial,
 - not fullfilled.
-
-Revision 1.71  2008/10/06 06:16:41  glen
-- no need for dot in find
-
-Revision 1.70  2008/10/02 11:04:51  glen
-- user/group fragments
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bullet/bullet.spec?r1=1.5&r2=1.6&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to