diff --git a/README.md b/README.md index fcd5a92..33ad5ac 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # glm +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. + diff --git a/glm.spec b/glm.spec new file mode 100644 index 0000000..6940f34 --- /dev/null +++ b/glm.spec @@ -0,0 +1,63 @@ +Name: glm +Version: 0.9.5.4 +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://downloads.sourceforge.net/project/ogl-math/glm-%{version}/glm-%{version}.zip +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 -n %{name} + +%build +%cmake -d build +%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/* +%{_libdir}/cmake/FindGLM.cmake + +%changelog +* Mon Jul 21 2014 Silvan Calarco 0.9.5.4-1mamba +- package created using the webbuild interface