Summary: OpenGL Mathematics (GLM) - C++ mathematics library for GLSL
Summary(pl.UTF-8): OpenGL Mathematics (GLM) - biblioteka matematyczna C++ dla GLSL
Name: GLM
-Version: 0.9.9.4
+Version: 0.9.9.5
Release: 1
License: MIT
Group: Development/Libraries
#Source0Download: https://github.com/g-truc/glm/releases
Source0: https://github.com/g-truc/glm/releases/download/%{version}/glm-%{version}.7z
-# Source0-md5: 3a58542dde670d63ec5360d649c11693
+# Source0-md5: 8be5a872024077c6bcdde2a395817232
Patch0: %{name}-opt.patch
Patch1: %{name}-cmake.patch
+Patch2: revision.patch
URL: https://glm.g-truc.net/
BuildRequires: cmake >= 3.2
%if %{with p7zip}
%endif
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
mkdir build
--- /dev/null
+--- glm/glm/detail/setup.hpp.orig 2019-04-02 11:27:10.000000000 +0200
++++ glm/glm/detail/setup.hpp 2019-08-03 14:14:01.942258319 +0200
+@@ -6,7 +6,7 @@
+ #define GLM_VERSION_MAJOR 0\r
+ #define GLM_VERSION_MINOR 9\r
+ #define GLM_VERSION_PATCH 9\r
+-#define GLM_VERSION_REVISION 4\r
++#define GLM_VERSION_REVISION 5\r
+ #define GLM_VERSION 995\r
+ #define GLM_VERSION_MESSAGE "GLM: version 0.9.9.5"\r
+ \r