## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global forgeurl https://gitlab.freedesktop.org/monado/demos/openxr-simple-playground %global commit 3b3c91f1d7f972061e6a151c1c59daf5823f3875 %global date 20240424 %forgemeta Name: openxr-simple-playground Version: 0 Release: %autorelease Summary: OpenXR C Playground License: BSL-1.0 AND MIT AND Apache-2.0 URL: %{forgeurl} Source0: %{forgesource} ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig(opengl) BuildRequires: pkgconfig(openxr) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xrandr) # external/openxr_headers/*.h Apache-2.0 Provides: bundled(openxr) # external/math_3d/math_3d.h MIT Provides: bundled(math3d) %description This example exercises many areas of the OpenXR API. Some parts of the API are abstracted, though the abstractions are intentionally kept simple for simple editing. Note: Currently this application only supports the XrGraphicsBindingOpenGLXlibKHR (glx) graphics binding. %prep %forgeautosetup -p1 mv external/math_3d/LICENSE LICENSE.MIT mv external/openxr_headers/LICENSE LICENSE.Apache-2.0 %build # W: no-manual-page-for-binary openxr-playground %cmake %cmake_build %install %cmake_install %files %doc Readme.md %license LICENSE LICENSE.MIT LICENSE.Apache-2.0 %{_bindir}/openxr-playground %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat May 04 2024 Jonathan Steffan - 0-2 - Exclude ix86 builds. * Sat May 04 2024 Jonathan Steffan - 0-1 - Initial import (fedora#2274949). ## END: Generated by rpmautospec