mirror of
https://github.com/terrapkg/packages.git
synced 2026-07-02 08:18:27 +00:00
48 lines
970 B
RPMSpec
48 lines
970 B
RPMSpec
Name: cglm
|
|
Version: 0.9.6
|
|
Release: 2%{?dist}
|
|
Summary: Highly Optimized Graphics Math (glm) for C
|
|
Packager: Jan200101 <sentrycraft123@gmail.com>
|
|
|
|
License: MIT
|
|
URL: https://github.com/recp/cglm
|
|
Source0: %{url}/archive/v%{version}.tar.gz#/cglm-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: cmake
|
|
|
|
%description
|
|
Highly optimized 2D|3D math library, also known as OpenGL Mathematics
|
|
(glm) for `C`.
|
|
cglm provides lot of utils to help math operations to be fast and
|
|
quick to write. It is community friendly, feel free to bring any
|
|
issues, bugs you faced.
|
|
|
|
%package devel
|
|
Requires: %{name} = %{version}
|
|
%pkg_devel_files
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%conf
|
|
%cmake
|
|
|
|
%build
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%files
|
|
%license LICENSE
|
|
%{_libdir}/libcglm.so.%{version}
|
|
%{_libdir}/libcglm.so.0
|
|
|
|
%files devel
|
|
%{_libdir}/cmake/cglm/
|
|
|
|
%changelog
|
|
* Mon Jun 29 2026 Jan200101 <sentrycraft123@gmail.com>
|
|
- Initial package
|