%global commit 92dcf4ce74f2e2554a98fea09be7c705c17daa5a Name: glfw-devel Version: 3.6.0 Release: 1%{?dist} Summary: Development files and shared library for GLFW License: Zlib URL: https://www.glfw.org/ Source0: https://github.com/glfw/glfw/archive/%{commit}.tar.gz#/glfw-devel-%{version}.tar.gz Group: Development/Libraries Packager: openEuler Builder BuildRequires: cmake BuildRequires: gcc BuildRequires: make BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXrandr-devel BuildRequires: libXinerama-devel BuildRequires: libXcursor-devel BuildRequires: libXi-devel BuildRequires: xorg-x11-proto-devel BuildRequires: wayland-devel BuildRequires: libxkbcommon-devel %description GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development. It provides a simple, platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc. This package provides the GLFW shared library together with its development files (headers, CMake package files and pkgconfig file). On Linux, GLFW is built with both the X11 and the Wayland backends enabled. # topdir: glfw-devel-3.6.0 (produced by the packaging transform; equals name-version) %prep %autosetup -n %{name}-%{version} %build %cmake_conf \ -DBUILD_SHARED_LIBS=ON \ -DGLFW_BUILD_EXAMPLES=OFF \ -DGLFW_BUILD_TESTS=OFF \ -DGLFW_BUILD_DOCS=OFF \ -DGLFW_BUILD_X11=ON \ -DGLFW_BUILD_WAYLAND=ON %cmake_build %install %cmake_install %files %license LICENSE.md %doc README.md %{_libdir}/libglfw.so %{_libdir}/libglfw.so.3 %{_libdir}/libglfw.so.3.6 %{_includedir}/GLFW/ %{_libdir}/cmake/glfw3/ %{_libdir}/pkgconfig/glfw3.pc %changelog * Tue Sep 22 2026 openEuler Builder - 3.6.0-1 - Initial package