%global forgeurl https://gitlab.gnome.org/jwestman/blueprint-compiler Name: blueprint-compiler Version: 0.2.0 Release: %autorelease Summary: A markup language for GTK user interfaces %global tag v%{version} %forgemeta License: LGPL-3.0-or-later URL: %{forgeurl} Source0: %{forgesource} BuildArch: noarch BuildRequires: meson BuildRequires: gtk4-devel BuildRequires: python3-devel BuildRequires: python3-gobject-devel BuildRequires: python3-sphinx Requires: python3-gobject-devel %description GtkBuilder XML format is quite verbose, and many app developers don't like using WYSIWYG editors for creating UIs. Blueprint files are intended to be a concise, easy-to-read format that makes it easier to create and edit GTK UIs. Internally, it compiles to GtkBuilder XML as part of an app's build system. It adds no new features, just makes the features that exist more accessible. Another goal is to have excellent developer tooling--including a language server--so that less knowledge of the format is required. Hopefully this will increase adoption of cool advanced features like GtkExpression. %prep %forgeautosetup %build %meson #-Ddocs=true %meson_build %install %meson_install %py_byte_compile %{python3} %{buildroot}%{_datadir}/%{name}/blueprintcompiler/ %check %meson_test %files %license COPYING %doc README.md docs/*.rst %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/pkgconfig/%{name}.pc %changelog %autochangelog