SPECS: OpenSceneGraph.spec - more verbose files - avoid CMAKE_BUILD_TYPE=Re...

qboosh qboosh at pld-linux.org
Sat Apr 11 09:17:19 CEST 2009


Author: qboosh                       Date: Sat Apr 11 07:17:19 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more verbose files
- avoid CMAKE_BUILD_TYPE=Release, it overrides our optflags

---- Files affected:
SPECS:
   OpenSceneGraph.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/OpenSceneGraph.spec
diff -u SPECS/OpenSceneGraph.spec:1.22 SPECS/OpenSceneGraph.spec:1.23
--- SPECS/OpenSceneGraph.spec:1.22	Sat Apr 11 08:12:41 2009
+++ SPECS/OpenSceneGraph.spec	Sat Apr 11 09:17:14 2009
@@ -69,9 +69,12 @@
 %setup -q
 
 %build
-#mkdir build
+install -d build
 cd build
-cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+%cmake .. \
+	-DCMAKE_BUILD_TYPE=None \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+	-DCMAKE_VERBOSE_MAKEFILE=ON
 %{__make}
 
 %install
@@ -91,9 +94,38 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*.so.*.*.*
-%{_libdir}/*.so.11
-%{_libdir}/*.so.55
+%attr(755,root,root) %{_libdir}/libOpenThreads.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libOpenThreads.so.11
+%attr(755,root,root) %{_libdir}/libosg.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosg.so.55
+%attr(755,root,root) %{_libdir}/libosgAnimation.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgAnimation.so.55
+%attr(755,root,root) %{_libdir}/libosgDB.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgDB.so.55
+%attr(755,root,root) %{_libdir}/libosgFX.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgFX.so.55
+%attr(755,root,root) %{_libdir}/libosgGA.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgGA.so.55
+%attr(755,root,root) %{_libdir}/libosgManipulator.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgManipulator.so.55
+%attr(755,root,root) %{_libdir}/libosgParticle.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgParticle.so.55
+%attr(755,root,root) %{_libdir}/libosgShadow.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgShadow.so.55
+%attr(755,root,root) %{_libdir}/libosgSim.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgSim.so.55
+%attr(755,root,root) %{_libdir}/libosgTerrain.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgTerrain.so.55
+%attr(755,root,root) %{_libdir}/libosgText.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgText.so.55
+%attr(755,root,root) %{_libdir}/libosgUtil.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgUtil.so.55
+%attr(755,root,root) %{_libdir}/libosgViewer.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgViewer.so.55
+%attr(755,root,root) %{_libdir}/libosgVolume.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgVolume.so.55
+%attr(755,root,root) %{_libdir}/libosgWidget.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosgWidget.so.55
 
 %files plugins
 %defattr(644,root,root,755)
@@ -102,10 +134,26 @@
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libOpenThreads.so
+%attr(755,root,root) %{_libdir}/libosg.so
+%attr(755,root,root) %{_libdir}/libosgAnimation.so
+%attr(755,root,root) %{_libdir}/libosgDB.so
+%attr(755,root,root) %{_libdir}/libosgFX.so
+%attr(755,root,root) %{_libdir}/libosgGA.so
+%attr(755,root,root) %{_libdir}/libosgManipulator.so
+%attr(755,root,root) %{_libdir}/libosgParticle.so
+%attr(755,root,root) %{_libdir}/libosgShadow.so
+%attr(755,root,root) %{_libdir}/libosgSim.so
+%attr(755,root,root) %{_libdir}/libosgTerrain.so
+%attr(755,root,root) %{_libdir}/libosgText.so
+%attr(755,root,root) %{_libdir}/libosgUtil.so
+%attr(755,root,root) %{_libdir}/libosgViewer.so
+%attr(755,root,root) %{_libdir}/libosgVolume.so
+%attr(755,root,root) %{_libdir}/libosgWidget.so
+%{_includedir}/OpenThreads
 %{_includedir}/osg*
-%{_includedir}/Open*
-%attr(755,root,root) %{_libdir}/*.so
-%{_pkgconfigdir}/*.pc
+%{_pkgconfigdir}/openscenegraph.pc
+%{_pkgconfigdir}/openthreads.pc
 
 %files examples
 %defattr(644,root,root,755)
@@ -118,6 +166,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2009/04/11 07:17:14  qboosh
+- more verbose files
+- avoid CMAKE_BUILD_TYPE=Release, it overrides our optflags
+
 Revision 1.22  2009/04/11 06:12:41  qboosh
 - proper pkgconfig package name
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/OpenSceneGraph.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list