package created using the webbuild interface [release 0.9.5.4-1mamba;Mon Jul 21 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 23:08:30 +01:00
parent d71c097992
commit f84e128d76
2 changed files with 68 additions and 0 deletions

View File

@ -1,2 +1,7 @@
# glm # 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.

63
glm.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.9.5.4-1mamba
- package created using the webbuild interface