Name: glm Version: 0.9.8.0 Release: 1mamba Summary: A header only C++ mathematics library for graphics software based on the OpenGL Shading Language Group: Development/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://glm.g-truc.net/ Source: https://github.com/g-truc/glm.git/%{version}/glm-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: cmake BuildRoot: %{_tmppath}/%{name}-%{version}-root %description OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specification and released under the MIT license. This library provides classes and functions designed and implemented following as strictly as possible the GLSL conventions and functionalities so that when a programmer knows GLSL, he knows GLM as well, making it really easy to use. This project isn't limited to GLSL features. An extension system provides extended capabilities: matrix transformations, quaternions, half-based types, random number generation, procedural noise functions, etc. GLM ensures interoperability with third party libraries, SDKs and OpenGL; replacing advantageously the deprecated matrix functions. It is a good candidate for software rendering (Raytracing / Rasterisation), image processing, physic simulations and any context that requires a simple and convenient mathematics library. %package -n lib%{name}-devel Group: Development/Libraries Summary: A header only C++ mathematics library for graphics software based on the OpenGL Shading Language %description -n lib%{name}-devel OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specification and released under the MIT license. This library provides classes and functions designed and implemented following as strictly as possible the GLSL conventions and functionalities so that when a programmer knows GLSL, he knows GLM as well, making it really easy to use. This project isn't limited to GLSL features. An extension system provides extended capabilities: matrix transformations, quaternions, half-based types, random number generation, procedural noise functions, etc. GLM ensures interoperability with third party libraries, SDKs and OpenGL; replacing advantageously the deprecated matrix functions. It is a good candidate for software rendering (Raytracing / Rasterisation), image processing, physic simulations and any context that requires a simple and convenient mathematics library. %prep %setup -q %build # % cmake macro has problems mkdir build cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DINCLUDE_INSTALL_DIR=%{_includedir} %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/glm %{_includedir}/glm/CMakeLists.txt %{_includedir}/glm/*.hpp %dir %{_includedir}/glm/detail %{_includedir}/glm/detail/* %{_includedir}/glm/detail/dummy.cpp %dir %{_includedir}/glm/gtc %{_includedir}/glm/gtc/* %dir %{_includedir}/glm/gtx %{_includedir}/glm/gtx/* %dir %{_includedir}/glm/simd %{_includedir}/glm/simd/*.h %dir %{_libdir}/cmake/glm %{_libdir}/cmake/glm/glm*.cmake %{_libdir}/pkgconfig/glm.pc %changelog * Tue Sep 20 2016 Automatic Build System 0.9.8.0-1mamba - automatic version update by autodist * Tue Aug 23 2016 Automatic Build System 0.9.7.6-1mamba - automatic version update by autodist * Fri May 27 2016 Automatic Build System 0.9.7.5-1mamba - automatic version update by autodist * Tue Apr 12 2016 Automatic Build System 0.9.7.4-1mamba - automatic version update by autodist * Mon Feb 22 2016 Automatic Build System 0.9.7.3-1mamba - automatic version update by autodist * Sat Oct 10 2015 Silvan Calarco 0.9.7.1-1mamba - update to 0.9.7.1 * Tue May 19 2015 Automatic Build System 0.9.6.3-1mamba - automatic version update by autodist * Thu Dec 11 2014 Automatic Build System 0.9.6.1-1mamba - automatic version update by autodist * Mon Jul 21 2014 Silvan Calarco 0.9.5.4-1mamba - package created using the webbuild interface