%define name OpenProducer %define aname Producer %define version 0.8.4 %define cvsdate 20040615 %define release 2mdk Summary: Cross-platform libray for Opengl rendering Name: %{name} Version: %{version} Release: %{release} Epoch: 1 License: GPL Group: Development/C++ Source0: %{aname}-%{cvsdate}.tar.bz2 URL: http://www.andesengineering.com/BlueMarbleViewer/producer_install.html BuildRequires: XFree86-devel MesaGLU-devel OpenThreads >= v1.2.1 BuildRoot: %{_tmppath}%{name}-%{version}-%{release}-buildroot %description Open Producer (or simply Producer) is a cross-platform, C++ library for managing OpenGL rendering contexts in a windowing system independent manner. Producer provides a simple, yet powerfully scalable approach for real-time 3D applications wishing to run within a single window to large, multidisplay systems. Producer is highly portable and has been tested on Linux, Windows, Mac OSX, Solaris and IRIX. Producer works on all Unix based OS's (including Mac OSX) through the X11 Windowing system, and through the native win32 on Windows. Producer is written with productivity, performance and scalability in mind by adhering to industry standard and employing advanced software engineering practices. Software developers wishing to produce 3D rendering software that can display on a desktop, and move to a large system or clustered system of displays by simply changing a configuration file, can depend on Open Producer to handle all the complexity for them. %prep %setup -q -n %{aname} rm -rf `find -type d -name CVS` %build %make CXX="%{__cxx} $RPM_OPT_FLAGS -fPIC -fpermissive" %install %{__rm} -rf $RPM_BUILD_ROOT %make INST_LOCATION=$RPM_BUILD_ROOT%{_prefix} install %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README.txt doc %{_libdir}/lib%{aname}.so %{_includedir}/%{aname} %changelog * Tue Jun 15 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.8.4-2mdk - new cvs snapshot - fix buildrequires - compile with -fpermissive to allow build with gcc-3.4 * Mon Nov 24 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.8.4-1mdk - new cvs snapshot * Sun Aug 24 2003 Michael Scherer <scherer.michael@free.fr> 0.8.2-2mdk - Buildrequires libMesaGLU1-devel * Mon Jun 16 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.8.2-1mdk - new cvs snapshot - use the real version, Epoch tag to handle this - fix group * Fri Apr 25 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 20030422-2mdk - fixed BuildRequires - less clutter from deleting CVS stuff * Wed Apr 23 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 20030422-1mdk - initial mdk release