name : ftgl version : 2.1.5 release : 3 source : - https://sourceforge.net/projects/iup/files/3.30/Docs%20and%20Sources/ftgl-2.1.5_Sources.tar.gz : c9ca938cf856bc88be3d45107ad0c3a84ee575eda3cfebfded6e18230bd8bf9e homepage : https://sourceforge.net/projects/ftgl license : LGPL-2.0-or-later component : programming summary : c++ library to simplify font rendering in openGL applications description: | FTGL is a free cross-platform Open Source C++ library that uses Freetype2 to simplify rendering fonts in OpenGL applications. FTGL supports bitmaps, pixmaps, texture maps, outlines, polygon mesh, and extruded polygon rendering modes. builddeps : - pkgconfig(cppunit) - pkgconfig(freetype2) - pkgconfig(gl) - pkgconfig(glu) - pkgconfig(lua) - lsb-release patterns : - /usr/lib64/*.so - devel : - /usr/include - /usr/lib64/*.a environment: export USE_PKGCONFIG=Yes export USE_LUA53=Yes export LUA_INC=/usr/include export LUA_LIB=/usr/lib export LUA_BIN=/usr/bin/lua setup : | %patch -p1 < $pkgfiles/without-lua-prefix-with-linux6.patch build : | %make -j1 install : | install -dm00755 $installdir/usr/lib64 install -Dm00755 lib/Linux61_64/{*.so,*.a} $installdir/usr/lib64/ install -dm00755 $installdir/usr/include/FTGL install -Dm00755 include/FTGL/* $installdir/usr/include/FTGL