diff --git a/glm.spec b/glm.spec index 401a9dc..8dbc1a3 100644 --- a/glm.spec +++ b/glm.spec @@ -1,5 +1,5 @@ Name: glm -Version: 0.9.6.3 +Version: 0.9.7.1 Release: 1mamba Summary: A header only C++ mathematics library for graphics software based on the OpenGL Shading Language Group: Development/Libraries @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://glm.g-truc.net/ -Source: https://downloads.sourceforge.net/project/ogl-math/glm-%{version}/glm-%{version}.zip +Source: https://github.com/g-truc/glm.git/%{version}/glm-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END @@ -31,10 +31,16 @@ This project isn't limited to GLSL features. An extension system provides extend 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 -n %{name} +%setup -q %build -%cmake -d build +# % cmake macro has problems +mkdir build +cd build +cmake .. \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DINCLUDE_INSTALL_DIR=%{_includedir} + %make %install @@ -56,9 +62,13 @@ GLM ensures interoperability with third party libraries, SDKs and OpenGL; replac %{_includedir}/glm/gtc/* %dir %{_includedir}/glm/gtx %{_includedir}/glm/gtx/* -%{_libdir}/cmake/FindGLM.cmake +%dir %{_libdir}/cmake/glm +%{_libdir}/cmake/glm/glm*.cmake %changelog +* 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