%define name OpenSceneGraph %define version 2.6.1 %define release %mkrel 2 Summary: A C++ scene graph API on OpenGL for real time graphics Name: %{name} Version: %{version} Release: %{release} License: LGPLv2+ with exceptions Group: System/Libraries Source0: http://www.openscenegraph.org/downloads/developer_releases/%name-%version.zip Patch0: OpenSceneGraph-2.6.1-fix-str-fmt.patch Patch1: OpenSceneGraph-2.6.1-linkage.patch URL: http://www.openscenegraph.org/ BuildRequires: png-devel tiff-devel ungif-devel jpeg-devel jasper-devel BuildRequires: gdal-devel freetype2-devel mesaglut-devel libxine-devel BuildRequires: curl-devel gtk+2-devel gtkglext-devel librsvg-devel BuildRequires: wxgtku2.8-devel BuildRequires: cmake BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description The Open Scene Graph is a cross-platform C++/OpenGL library for the real-time visualization. Uses range from visual simulation, scientific modeling, virtual reality through to games. Open Scene Graph employs good practices in software engineering through the use of standard C++, STL and generic programming, and design patterns. Open Scene Graph strives for high performance and quality in graphics rendering, protability, and extensibility. %files %defattr(-,root,root,-) %doc AUTHORS.txt ChangeLog LICENSE.txt NEWS.txt README.txt %doc doc/* %{_bindir}/* %{_libdir}/*.so.* %{_libdir}/osgPlugins-%{version} #------------------------------------------------------------------ %package devel Summary: Development package for %name Group: Development/C++ Requires: %{name} = %{version} %description devel This package contains development files for %name %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so #------------------------------------------------------------------ %prep %setup -q -n %{name}-%{version} %patch0 -p0 %patch1 -p0 %build %cmake %make %install %{__rm} -rf $RPM_BUILD_ROOT %makeinstall_std -C build %clean %{__rm} -rf $RPM_BUILD_ROOT %changelog * Sun Feb 01 2009 Funda Wang <fundawang@mandriva.org> 2.6.1-2mdv2009.1 + Revision: 336057 - add more BRs * Sat Jan 31 2009 Funda Wang <fundawang@mandriva.org> 2.6.1-1mdv2009.1 + Revision: 335875 - New version 2.6.1 + Thierry Vignaud <tvignaud@mandriva.com> - rebuild - fix mesaglu-devel BR - kill re-definition of %%buildroot on Pixel's request - buildrequires X11-devel instead of XFree86-devel - import OpenSceneGraph + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Fri Jan 13 2006 Per Ãyvind Karlsen <pkarlsen@mandriva.com> 1.0.0-1mdk - 1.0.0 - %%mkrel * Mon Nov 24 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.9.6-1mdk - 0.9.6-2 - fix buildrequires (lib64..) - drop -fPIC, flag already in makefile now:) * Fri Apr 25 2003 Per Ãyvind Karlsen <peroyvind@sintrax.net> 0.9.4-2mdk - fixed buildrequires - fixed file permissions - added docs * Wed Apr 23 2003 Per Ãyvind Karlsen <peroyvind@sintrax.net> 0.9.4-1mdk - initial mdk release