2024-01-05 23:08:30 +01:00
|
|
|
Name: glm
|
2024-02-28 09:58:12 +01:00
|
|
|
Version: 1.0.1
|
2024-01-05 23:08:30 +01:00
|
|
|
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/
|
2024-01-05 23:08:31 +01:00
|
|
|
Source: https://github.com/g-truc/glm.git/master/glm-%{version}.tar.bz2
|
2024-01-05 23:08:30 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
%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
|
2024-01-05 23:08:31 +01:00
|
|
|
%setup -q
|
2024-01-05 23:08:30 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 23:08:31 +01:00
|
|
|
# % cmake macro has problems
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
|
|
-DINCLUDE_INSTALL_DIR=%{_includedir}
|
|
|
|
|
2024-01-05 23:08:30 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 23:08:31 +01:00
|
|
|
#% makeinstall -C build
|
|
|
|
install -d -m0755 %{buildroot}%{_includedir}
|
|
|
|
cp -a glm %{buildroot}%{_includedir}
|
2024-01-05 23:08:30 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/glm
|
|
|
|
%{_includedir}/glm/CMakeLists.txt
|
|
|
|
%{_includedir}/glm/*.hpp
|
2024-01-26 16:50:56 +01:00
|
|
|
%{_includedir}/glm/*.cppm
|
2024-01-05 23:08:30 +01:00
|
|
|
%dir %{_includedir}/glm/detail
|
|
|
|
%{_includedir}/glm/detail/*
|
2024-01-05 23:08:31 +01:00
|
|
|
%dir %{_includedir}/glm/ext
|
|
|
|
%{_includedir}/glm/ext/*
|
2024-01-05 23:08:30 +01:00
|
|
|
%dir %{_includedir}/glm/gtc
|
|
|
|
%{_includedir}/glm/gtc/*
|
|
|
|
%dir %{_includedir}/glm/gtx
|
|
|
|
%{_includedir}/glm/gtx/*
|
2024-01-05 23:08:31 +01:00
|
|
|
%dir %{_includedir}/glm/simd
|
|
|
|
%{_includedir}/glm/simd/*.h
|
2024-01-05 23:08:30 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-02-28 09:58:12 +01:00
|
|
|
* Tue Feb 27 2024 Automatic Build System <autodist@openmamba.org> 1.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-26 16:50:56 +01:00
|
|
|
* Fri Jan 26 2024 Automatic Build System <autodist@openmamba.org> 1.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Tue Apr 14 2020 Automatic Build System <autodist@mambasoft.it> 0.9.9.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Sat Jan 18 2020 Automatic Build System <autodist@mambasoft.it> 0.9.9.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Thu Dec 26 2019 Automatic Build System <autodist@mambasoft.it> 0.9.9.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Tue Apr 09 2019 Automatic Build System <autodist@mambasoft.it> 0.9.9.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Fri Mar 22 2019 Automatic Build System <autodist@mambasoft.it> 0.9.9.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Mon Nov 05 2018 Automatic Build System <autodist@mambasoft.it> 0.9.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Sun Sep 23 2018 Automatic Build System <autodist@mambasoft.it> 0.9.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Wed May 23 2018 Automatic Build System <autodist@mambasoft.it> 0.9.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Sat May 05 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.8.5.20180505git-1mamba
|
|
|
|
- update to 0.9.8.5.20180505git
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Wed Sep 06 2017 Automatic Build System <autodist@mambasoft.it> 0.9.8.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Wed Feb 01 2017 Automatic Build System <autodist@mambasoft.it> 0.9.8.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Thu Jan 05 2017 Automatic Build System <autodist@mambasoft.it> 0.9.8.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Fri Sep 30 2016 Automatic Build System <autodist@mambasoft.it> 0.9.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Tue Sep 20 2016 Automatic Build System <autodist@mambasoft.it> 0.9.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Tue Aug 23 2016 Automatic Build System <autodist@mambasoft.it> 0.9.7.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Fri May 27 2016 Automatic Build System <autodist@mambasoft.it> 0.9.7.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Tue Apr 12 2016 Automatic Build System <autodist@mambasoft.it> 0.9.7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Mon Feb 22 2016 Automatic Build System <autodist@mambasoft.it> 0.9.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Sat Oct 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.7.1-1mamba
|
|
|
|
- update to 0.9.7.1
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Tue May 19 2015 Automatic Build System <autodist@mambasoft.it> 0.9.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:31 +01:00
|
|
|
* Thu Dec 11 2014 Automatic Build System <autodist@mambasoft.it> 0.9.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:08:30 +01:00
|
|
|
* Mon Jul 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5.4-1mamba
|
|
|
|
- package created using the webbuild interface
|