packages: OpenSceneGraph/OpenSceneGraph.spec - updated to 2.8.4 - drop cmak...

lisu lisu at pld-linux.org
Thu Apr 21 13:42:13 CEST 2011


Author: lisu                         Date: Thu Apr 21 11:42:13 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 2.8.4
- drop cmake options provided by cmake macro
- add -link.patch which fixes linking

---- Files affected:
packages/OpenSceneGraph:
   OpenSceneGraph.spec (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: packages/OpenSceneGraph/OpenSceneGraph.spec
diff -u packages/OpenSceneGraph/OpenSceneGraph.spec:1.31 packages/OpenSceneGraph/OpenSceneGraph.spec:1.32
--- packages/OpenSceneGraph/OpenSceneGraph.spec:1.31	Sat Feb  5 02:16:48 2011
+++ packages/OpenSceneGraph/OpenSceneGraph.spec	Thu Apr 21 13:42:07 2011
@@ -2,14 +2,15 @@
 Summary:	Open Scene Graph - real-time visualization library
 Summary(pl.UTF-8):	Open Scene Graph - biblioteka do wizualizacji
 Name:		OpenSceneGraph
-Version:	2.8.3
+Version:	2.8.4
 Release:	0.1
 License:	OpenSceneGraph Public Licence (based on LGPL with exceptions)
 Group:		X11/Libraries
 Source0:	http://www.openscenegraph.org/downloads/developer_releases/%{name}-%{version}.zip
-# Source0-md5:	29f548b816bdd3bda484cc3d163784f5
+# Source0-md5:	283215b4040f7c5b85d30862a8eba97c
 #Source1:	osg-doxygen-0.9.1.tar.gz
 ## Source1-md5:	7e6d785d1b763aaeae03c2dc4c148805
+Patch0:		%{name}-link.patch
 URL:		http://www.openscenegraph.org/projects/osg/
 BuildRequires:	cairo-devel
 BuildRequires:	cmake
@@ -23,6 +24,7 @@
 BuildRequires:	libtiff-devel
 BuildRequires:	pkgconfig
 BuildRequires:	poppler-glib-devel
+BuildRequires:	rpmbuild(macros) >= 1.600
 BuildRequires:	unzip
 #BuildRequires:	xulrunner-devel
 BuildRequires:	zlib-devel
@@ -74,21 +76,19 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
 cd build
-%cmake .. \
-	-DCMAKE_BUILD_TYPE=None \
-	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-	-DCMAKE_VERBOSE_MAKEFILE=ON
+%cmake ..
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-cp -r examples/osg* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/osg* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -173,6 +173,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32  2011/04/21 11:42:07  lisu
+- updated to 2.8.4
+- drop cmake options provided by cmake macro
+- add -link.patch which fixes linking
+
 Revision 1.31  2011/02/05 01:16:48  sparky
 - marked pl description as UTF-8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/OpenSceneGraph/OpenSceneGraph.spec?r1=1.31&r2=1.32&f=u



More information about the pld-cvs-commit mailing list