Summary: A Tubing and Extrusion Library for OpenGL Name: OpenGL-gle Version: 3.1.0 Release: 2 License: GPLv2 Group: System Environment/Libraries URL: http://www.linas.org/gle/ Source: http://www.linas.org/gle/pub/gle-%{version}.tar.gz BuildRequires: mesa-libGL-devel mesa-libGLU-devel freeglut-devel BuildRequires: libXt-devel libXmu-devel libXi-devel BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description The GLE Tubing and Extrusion Library consists of a number of "C" language subroutines for drawing tubing and extrusions. It is a very fast implementation of these shapes, outperforming all other implementations, most by orders of magnitude. It uses the OpenGL (TM) programming API to perform the actual drawing of the tubing and extrusions. %package devel Requires: %{name} = %{version} Summary: GLE includes and development libraries Group: Development/Libraries %description devel Includes, man pages, and development libraries for the GLE Tubing and Extrusion Library. %prep %setup -q -n gle-%{version} %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # Clean up a bit rm $RPM_BUILD_ROOT%{_docdir}/gle/*.lsm rm $RPM_BUILD_ROOT%{_libdir}/*.la rm $RPM_BUILD_ROOT%{_libdir}/*.a mv $RPM_BUILD_ROOT%{_docdir}/gle docs %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/*.so.* %doc docs/AUTHORS docs/COPYING docs/README %files devel %defattr(-,root,root,-) %{_libdir}/*.so %{_includedir}/* %{_mandir}/man?/* %doc docs/examples docs/html %changelog * Wed Sep 30 2009 Mary Ellen Foster - 3.1.0-2 - Incorporating some clean-ups from Ralf Corsépius's spec file * Tue Sep 29 2009 Mary Ellen Foster - 3.1.0-1 - Initial version, based on upstream .spec file