%global debug_package %{nil} %global forgeurl https://github.com/Immediate-Mode-UI/Nuklear %global version0 4.12.7 %forgemeta Name: nuklear Version: %{forgeversion} Release: %{autorelease} Summary: ANSI C immediate mode cross-platform GUI library License: MIT URL: %{forgeurl} VCS: git:%{forgeurl}.git Source0: %{forgesource} BuildRequires: gcc BuildRequires: make BuildRequires: python3 #Documentation BuildRequires: doxygen %description This is a minimal-state, immediate-mode graphical user interface toolkit written in ANSI C. It was designed as a simple embeddable user interface for application and does not have any dependencies, a default render backend or OS window/input handling but instead provides a highly modular, library-based approach, with simple input state for input and draw commands describing primitive shapes as output. So instead of providing a layered library that tries to abstract over a number of platform and render backends, it focuses only on the actual UI. Features - Immediate-mode graphical user interface toolkit - Single-header library - Written in C89 (ANSI C) - Small codebase (~18kLOC) - Focus on portability, efficiency and simplicity - No dependencies (not even the standard library if not wanted) - Fully skinnable and customizable - Low memory footprint with total control of memory usage if needed / wanted - UTF-8 support - No global or hidden state - Customizable library modules (you can compile and use only what you need) - Optional font baker and vertex buffer output %package devel Provides: nuklear-static = %{version}-%{release} Summary: Header file for GUI library %description devel Development header library for nuklear, a GUI library. %prep %autosetup %build make nuke %install install -pDm0644 nuklear.h %{buildroot}{_includedir}/nuklear.h %check make demos %files devel %license LICENSE %doc src/CREDITS %doc src/CHANGELOG %doc README %{_includedir}/nuklear.h %changelog %autochangelog