Summary: A high-performance terrain rendering library Name: libMini Version: 9.0.3 Release: 2%{?dist} License: LGPLv2 Group: System Environment/Libraries URL: http://www.stereofx.org/terrain.html Source0: http://libmini.googlecode.com/files/MINI-%{version}.zip Patch0: mini-configure.ac.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: automake BuildRequires: autoconf BuildRequires: libtool BuildRequires: libGL-devel BuildRequires: libGLU-devel BuildRequires: freeglut-devel BuildRequires: curl-devel BuildRequires: libXmu-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: ImageMagick %description The Mini library is the core of the high-performance terrain renderer which is described in the paper "Real-Time Generation of Continuous Levels of Detail for Height Fields". The Mini library applies a view-dependent mesh simplification scheme to render large-scale terrain data at real-time. For this purpose, a quadtree representation of a height field is built. This quadtree is also utilized for fast view frustum culling and geomorphing. %package devel Summary: Development files for the mini terrain rendering library Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig Requires: libGL-devel Requires: libGLU-devel Requires: freeglut-devel Requires: curl-devel Requires: libXmu-devel Requires: libjpeg-devel Requires: libpng-devel %description devel This package contains the libraries and header files needed for developing applications which use libMini. The Mini library is the core of the high-performance terrain renderer which is described in the paper "Real-Time Generation of Continuous Levels of Detail for Height Fields". The Mini library applies a view-dependent mesh simplification scheme to render large-scale terrain data at real-time. For this purpose, a quadtree representation of a height field is built. This quadtree is also utilized for fast view frustum culling and geomorphing. %prep %setup -q -n mini %patch0 %{__rm} -rf GL %build sh autogen.sh %configure --disable-static --without-squish sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool %{__make} %install %{__rm} -rf %{buildroot} %{__make} DESTDIR=%{buildroot} INSTALL="%{__install} -p" install find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' %clean %{__rm} -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc LICENSE.txt %{_libdir}/libMini.so.* %{_libdir}/libMiniSFX.so.* %files devel %defattr(-,root,root,-) %doc README.html libMini.css libMini.ico libMini.jpg libMini.ppm %{_includedir}/mini %{_libdir}/libMini.so %{_libdir}/libMiniSFX.so %{_libdir}/pkgconfig/Mini.pc %changelog * Mon Jul 13 2009 Rick L Vinyard Jr - 9.0.3-2 - Change rm of mini/GL to GL - Changed buildrequires and requires to one per line * Tue Jul 7 2009 Rick L Vinyard Jr - 9.0.3-1 - New upstream release * Tue Oct 14 2008 Rick L Vinyard Jr - 8.9-1 - New upstream release * Fri Sep 19 2008 Rick L Vinyard Jr - 8.8.8-0.1.1091svn - Changed mesa-libGL-devel and mesa-libGLU-devel to libGL-devel and libGLU-devel - Changed name back to libMini - Changed release to 8.8.8 pre- Two more minor patches for the autotools files are attached. release and used specific svn release number - Added 0 to release tag to ensure upgrade path to 8.8.8 - Removed previous patches for new release - Added Mini.pc.in patch to remove -DNOSQUISH flag - Added Makefile.am patch to add -lMini to compilation of libMiniSFX - Added line to remove unused-direct-shlib-dependency warning * Mon Sep 15 2008 Rick L Vinyard Jr - 8.8.6-1.20080915svn - Removed Yukon and Stuttgart subpackages - Removed autotools files that are included upstream - Added build off of svn - Changed name to mini per Fedora naming guidelines to match tarball * Thu May 22 2008 Rick L Vinyard Jr - 8.7.5-1 - New upstream release - Added libpng-devel dependency - Added ImageMagick BR - Added desktop-file-utils BR * Mon Mar 24 2008 Rick L Vinyard Jr - 8.7-1 - New upstream release * Wed Dec 19 2007 Rick L Vinyard Jr - 8.6-1 - New upstream release - Removed squish dependency - Added yukon and stuttgart subpackages * Wed Nov 07 2007 Rick L Vinyard Jr - 8.5-1 - New upstream release fixes license issue - Moved autotools patch files into separate files - Added squish dependency * Tue Jul 03 2007 Rick L Vinyard Jr - 8.1-3 - Added a copy of the LGPL v2.1 to the patch - Revised the pkgconfig .pc file in the patch to add x11 dependencies - Renamed to autotools patch - Remove mini/GL prior to building * Mon Jul 02 2007 Rick L Vinyard Jr - 8.1-2 - Changed source and patch to use version tag - Changed package name to libMini - Added dist tag - Added pkgconfig requires devel - Fixed X11 include header in Mini.pc - Changed enable-static=no to disable-static in configure * Sat Jun 30 2007 Rick L Vinyard Jr - 8.1-1 - Initial version