rpms/bullet/F-11 bullet.spec, NONE, 1.1 generate-tarball.sh, NONE, 1.1 import.log, NONE, 1.1 lib_suffix.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Thomas Kowaliczek
linuxdonald at fedoraproject.org
Sat Jun 27 21:48:08 UTC 2009
- Previous message: rpms/mach/F-10 .cvsignore, 1.7, 1.8 mach.spec, 1.18, 1.19 sources, 1.8, 1.9
- Next message: rpms/python-stomper/EL-5 python-stomper-uuid.patch, NONE, 1.1 python-stomper.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: linuxdonald
Update of /cvs/pkgs/rpms/bullet/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3117/F-11
Modified Files:
.cvsignore sources
Added Files:
bullet.spec generate-tarball.sh import.log lib_suffix.patch
Log Message:
--- NEW FILE bullet.spec ---
Name: bullet
Version: 2.74
Release: 1%{?dist}
Summary: 3D Collision Detection and Rigid Body Dynamics Library
Group: Development/Libraries
License: zlib and MIT and BSD
URL: http://www.bulletphysics.com
Source0: %{name}-%{version}-free.tar.gz
# bullet contains non-free code that we cannot ship. Therefore we use
# this script to remove the non-free code before shipping it.
# Download the upstream tarball and invoke this script while in the
# tarball's directory:
# ./generate-tarball.sh 2.74
Source1: generate-tarball.sh
# See http://code.google.com/p/bullet/issues/detail?id=174
Patch0: lib_suffix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake, libGL-devel, libGLU-devel, freeglut-devel, libICE-devel
%description
Bullet is a 3D Collision Detection and Rigid Body Dynamics Library for games
and animation.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Development headers and libraries for %{name}.
%prep
%setup -q
%patch0
# Set these files to right permission
chmod 644 src/LinearMath/btPoolAllocator.h
chmod 644 src/BulletDynamics/ConstraintSolver/btSliderConstraint.cpp
chmod 644 src/BulletDynamics/ConstraintSolver/btSliderConstraint.h
iconv -f ISO-8859-1 -t UTF-8 -o ChangeLog.utf8 ChangeLog
mv ChangeLog.utf8 ChangeLog
%build
%cmake -DBUILD_DEMOS=OFF -DBUILD_EXTRAS=OFF -DCMAKE_BUILD_TYPE=NONE .
make VERBOSE=1 %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
pushd $RPM_BUILD_ROOT%{_libdir}
for f in lib*.so.*.*
do
ln -sf $f ${f%\.*}
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc README AUTHORS LICENSE NEWS ChangeLog Bullet_Faq.pdf
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%doc Bullet_User_Manual.pdf
%dir %{_includedir}/BulletCollision
%dir %{_includedir}/BulletCollision/BroadphaseCollision
%dir %{_includedir}/BulletCollision/CollisionDispatch
%dir %{_includedir}/BulletCollision/CollisionShapes
%dir %{_includedir}/BulletCollision/Gimpact
%dir %{_includedir}/BulletCollision/NarrowPhaseCollision
%dir %{_includedir}/LinearMath
%dir %{_includedir}/BulletDynamics
%dir %{_includedir}/BulletDynamics/Character
%dir %{_includedir}/BulletDynamics/ConstraintSolver
%dir %{_includedir}/BulletDynamics/Dynamics
%dir %{_includedir}/BulletDynamics/Vehicle
%dir %{_includedir}/BulletSoftBody
%{_includedir}/*.h
%{_includedir}/BulletCollision/BroadphaseCollision/*.h
%{_includedir}/BulletCollision/CollisionDispatch/*.h
%{_includedir}/BulletCollision/CollisionShapes/*.h
%{_includedir}/BulletCollision/Gimpact/*.h
%{_includedir}/BulletCollision/NarrowPhaseCollision/*.h
%{_includedir}/BulletDynamics/Character/*.h
%{_includedir}/BulletDynamics/ConstraintSolver/*.h
%{_includedir}/BulletDynamics/Dynamics/*.h
%{_includedir}/BulletDynamics/Vehicle/*.h
%{_includedir}/BulletSoftBody/*.h
%{_includedir}/LinearMath/*.h
%{_libdir}/*.so
%changelog
* Thu Jun 25 2009 Thomas Kowaliczek <linuxdonald at linuxdonald.de> - 2.74-1
- Updatet to version 2.74
- Updatet the patch file to work agian
* Sun Feb 22 2009 Bruno Mahé <bruno at gnoll.org> - 2.73-5
- Shortened the description
- Fix directory ownership for directories BulletCollision and BulletDynamics
- Convert ChangeLog to UTF-8
- chmod generate-tarball.sh to 644
* Fri Feb 20 2009 Bruno Mahé <bruno at gnoll.org> - 2.73-4
- Remove gcc-g++ in BuildRequires
- Add option -DCMAKE_BUILD_TYPE=NONE to %%cmake. This will make CMake using default compiler flags
- Use %% instead of single % in %%changelog to prevent macros from being expanded
- Specify we are not shipping pristine source because of some non-free parts
- Change licence to "zlib and MIT and BSD"
- Make include directory being owned by this package
- Remove duplicate documents
- Convert spec file to UTF8
- Set some files permission to 644
* Sun Feb 15 2009 Bruno Mahé <bruno at gnoll.org> - 2.73-3
- Remove non-free directories Demos/, Extras/ and Glut/ from the source
* Sun Jan 18 2009 Bruno Mahé <bruno at gnoll.org> - 2.73-2
- Add "rm -rf $RPM_BUILD_ROOT" to the install target
- Moved unversioned shared libraries (e.g. libfoo.so) to the -devel package
- Update %%post and %%postrun
- Change %%description
- Reduce length of %%summary
- Changed %%group to Development/Libraries
- Changed Zlib licence to lowercase zlib
- %%description kept below 80 characters wide
* Sat Dec 13 2008 Bruno Mahé <bruno at gnoll.org> - 2.73-1
- Initial build.
--- NEW FILE generate-tarball.sh ---
#!/bin/sh
VERSION=$1
NAME=bullet
tar -xzvf $NAME-$VERSION.tgz
rm -rf $NAME-$VERSION/Demos
rm -rf $NAME-$VERSION/Extras
rm -rf $NAME-$VERSION/Glut
tar -czvf $NAME-$VERSION-free.tar.gz $NAME-$VERSION
--- NEW FILE import.log ---
bullet-2_74-1_fc11:F-11:bullet-2.74-1.fc11.src.rpm:1246139185
lib_suffix.patch:
--- NEW FILE lib_suffix.patch ---
--- ./src/BulletCollision/CMakeLists.txt 2009-02-18 23:52:03.000000000 +0100
+++ ./src/BulletCollision/CMakeLists.txt 2009-06-24 23:54:42.899191024 +0200
@@ -216,7 +216,7 @@
#INSTALL of other files requires CMake 2.6
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
- INSTALL(TARGETS BulletCollision DESTINATION lib)
+ INSTALL(TARGETS BulletCollision DESTINATION lib${LIB_SUFFIX})
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.h")
ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
--- ./src/BulletDynamics/CMakeLists.txt 2009-02-18 23:52:03.000000000 +0100
+++ ./src/BulletDynamics/CMakeLists.txt 2009-06-24 23:55:00.587135244 +0200
@@ -76,7 +76,7 @@
ENDIF (BUILD_SHARED_LIBS)
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
- INSTALL(TARGETS BulletDynamics DESTINATION lib)
+ INSTALL(TARGETS BulletDynamics DESTINATION lib${LIB_SUFFIX})
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.h")
ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
--- ./src/BulletSoftBody/CMakeLists.txt 2009-02-18 23:52:03.000000000 +0100
+++ ./src/BulletSoftBody/CMakeLists.txt 2009-06-24 23:54:18.388094145 +0200
@@ -33,7 +33,7 @@
ENDIF (BUILD_SHARED_LIBS)
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
- INSTALL(TARGETS BulletSoftBody DESTINATION lib)
+ INSTALL(TARGETS BulletSoftBody DESTINATION lib${LIB_SUFFIX})
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.h")
ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
--- ./src/LinearMath/CMakeLists.txt 2009-02-18 23:52:03.000000000 +0100
+++ ./src/LinearMath/CMakeLists.txt 2009-06-24 23:53:03.892114830 +0200
@@ -41,7 +41,7 @@
#FILES_MATCHING requires CMake 2.6
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
- INSTALL(TARGETS LinearMath DESTINATION lib)
+ INSTALL(TARGETS LinearMath DESTINATION lib${LIB_SUFFIX})
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.h")
ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/bullet/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 27 Jun 2009 00:44:16 -0000 1.1
+++ .cvsignore 27 Jun 2009 21:47:38 -0000 1.2
@@ -0,0 +1 @@
+bullet-2.74-free.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/bullet/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 27 Jun 2009 00:44:16 -0000 1.1
+++ sources 27 Jun 2009 21:47:38 -0000 1.2
@@ -0,0 +1 @@
+9bb1421961549813216a39de0f9f8649 bullet-2.74-free.tar.gz
- Previous message: rpms/mach/F-10 .cvsignore, 1.7, 1.8 mach.spec, 1.18, 1.19 sources, 1.8, 1.9
- Next message: rpms/python-stomper/EL-5 python-stomper-uuid.patch, NONE, 1.1 python-stomper.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list