]> git.pld-linux.org Git - packages/GLM.git/blobdiff - GLM.spec
- updated to 0.9.6.3
[packages/GLM.git] / GLM.spec
index d28d41c17fa8b4e9677dfbd6ce75f6fd20b263fb..dc0605fbe65072efce4cda4cc033becba967568f 100644 (file)
--- a/GLM.spec
+++ b/GLM.spec
@@ -6,12 +6,13 @@
 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.4.4
+Version:       0.9.6.3
 Release:       1
 License:       MIT
 Group:         Development/Libraries
 Source0:       http://downloads.sourceforge.net/ogl-math/glm-%{version}.7z
-# Source0-md5: 1c5a626c025dff9664b08d8f39c7e11b
+# Source0-md5: 044224370047034c3d9340550e0ed52a
+Patch0:                %{name}-opt.patch
 URL:           http://glm.g-truc.net/
 BuildRequires: cmake
 %if %{with p7zip}
@@ -26,8 +27,8 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 OpenGL Mathematics (GLM) is a C++ mathematics library for graphics
 software based on the OpenGL Shading Language (GLSL) specification.
 
-GLM is a header only library, there is nothing to build,
-just include it.
+GLM is a header only library, there is nothing to build, just include
+it.
 
 %description -l pl.UTF-8
 OpenGL Mathematics (GLM) to biblioteka matematyczna C++ dla programów
@@ -35,11 +36,12 @@ graficznych opartych na specyfikacji OpenGL Shading Language (GLSL).
 
 %prep
 %if %{with p7zip}
-%setup -q -c -T -n glm-%{version}
+%setup -q -c -T -n glm
 7z x %{SOURCE0} -o..
 %else
-%setup -q -n glm-%{version}
+%setup -q -n glm
 %endif
+%patch0 -p1
 
 %build
 mkdir build
@@ -51,7 +53,6 @@ cd build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-#install -d $RPM_BUILD_ROOT
 
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -63,3 +64,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc readme.txt doc/glm.pdf
 %attr(755,root,root) %{_includedir}/glm
+%{_libdir}/cmake/FindGLM.cmake
This page took 2.167586 seconds and 4 git commands to generate.