# # spec file for package fltk (Version 1.0.4) # # Copyright (c) 1999 SuSE GmbH Nuernberg, Germany. # # please send bugfixes or comments to feedback@suse.de. # # neededforbuild mesa mesasoft gpp libgpp Vendor: SuSE GmbH, Nuernberg, Germany Distribution: SuSE Linux 6.2 (i386) Name: fltk Release: 7 Copyright: LGPL Group: unsorted Provides: fltk #Requires: mesa Autoreqprov: on Packager: feedback@suse.de Patch: fltk.dif Version: 1.0.4 Summary: free C++ GUI toolkit for X, OpenGL and WIN32 (Windows 95,98,NT) Source: fltk-1.0.4.tar.gz %description The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a LGPL'd C++ graphical user interface toolkit for X (UNIX(r)), OpenGL(r), and Microsoft(r) Windows(r) NT 4.0, 95, or 98. It was originally developed by Mr. Bill Spitzak and is currently maintained by a small group of developers across the world with a central repository in the US. The installation of this package requires you to install a 3D-library. If you don't have hardware 3D you can use the software OpenGL library in package mesasoft (series x3d). The library can be recompiled without 3D-support. %prep %setup -n fltk-1.0.4 %patch -p1 %build ./configure --enable-shared --bindir=/usr/X11R6/bin --libdir=/usr/X11R6/lib --includedir=/usr/X11R6/include --prefix=/usr/X11R6 make %install make install #Check %files %doc CHANGES COPYING README documentation/ test/ /usr/X11R6/lib/libfltk.a /usr/X11R6/lib/libfltk.so /usr/X11R6/lib/libfltk.so.1 /usr/X11R6/include/FL/ /usr/X11R6/include/Fl /usr/X11R6/bin/fluid %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog * Tue Aug 1 2000 Dobrica Pavlinusic - make it compile on RedHat 6.1, no mesa dependency any more added %post and %postrun with ldconfig