70 lines
3.6 KiB
RPMSpec
70 lines
3.6 KiB
RPMSpec
Name: glm
|
|
Version: 0.9.6.3
|
|
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
|
|
* Tue May 19 2015 Automatic Build System <autodist@mambasoft.it> 0.9.6.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Dec 11 2014 Automatic Build System <autodist@mambasoft.it> 0.9.6.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jul 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5.4-1mamba
|
|
- package created using the webbuild interface
|