diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-23 11:03:33 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-23 11:03:33 +0000 |
| commit | 860b4761c2ff771da4879cf8f4096486fdc66d16 (patch) | |
| tree | 8d16ea5eb31d6e4e8d0cfa712485a4a96618bc6b /libglfw3-dev.spec | |
| parent | c21e28a741f2654ac5c2d30bb0db3747c86b3b30 (diff) | |
automatic import of libglfw3-dev
Diffstat (limited to 'libglfw3-dev.spec')
| -rw-r--r-- | libglfw3-dev.spec | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/libglfw3-dev.spec b/libglfw3-dev.spec new file mode 100644 index 0000000..37cd13a --- /dev/null +++ b/libglfw3-dev.spec @@ -0,0 +1,61 @@ +# topdir: libglfw3-dev-%{version} +Name: libglfw3-dev +Version: 3.6.0 +Release: 1%{?dist} +Summary: A multi-platform library for OpenGL, window and input + +License: Zlib +URL: https://www.glfw.org/ +Source0: https://github.com/glfw/glfw/archive/master.tar.gz#/libglfw3-dev-%{version}.tar.gz + +Group: Development/Libraries +Packager: openEuler Builder <builder@openeuler.org> + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: libX11-devel +BuildRequires: libXrandr-devel +BuildRequires: libXinerama-devel +BuildRequires: libXcursor-devel +BuildRequires: libXi-devel +BuildRequires: libXext-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. + +GLFW is written in C99 and supports Windows, macOS and Linux (Wayland and X11). + +This package provides the shared library, headers, CMake configuration +files and pkg-config file needed to develop applications with GLFW. + +%prep +%autosetup -n %{name}-%{version} + +%build +%cmake \ + -DBUILD_SHARED_LIBS=ON \ + -DGLFW_BUILD_EXAMPLES=OFF \ + -DGLFW_BUILD_TESTS=OFF \ + -DGLFW_BUILD_DOCS=OFF +%cmake_build + +%install +%cmake_install + +%files +%license LICENSE.md +%doc README.md +%{_libdir}/libglfw.so.3* +%{_libdir}/libglfw.so +%{_includedir}/GLFW/ +%{_libdir}/cmake/glfw3/ +%{_libdir}/pkgconfig/glfw3.pc + +%changelog +* Wed Sep 23 2026 openEuler Builder <builder@openeuler.org> - 3.6.0-1 +- Initial package |
