blueprint-compiler/blueprint-compiler.spec

59 lines
1.5 KiB
RPMSpec

Name: blueprint-compiler
Version: 0.4.0
Release: 1
Summary: A markup language for GTK user interfaces
License: LGPL 3.0
URL: https://gitlab.gnome.org/jwestman/blueprint-compiler
Source0: %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.gz
Group: Development/Other
BuildArch: noarch
BuildRequires: meson
#BuildRequires: gtk4-devel
BuildRequires: python3-devel
BuildRequires: python-gobject3-devel
#Requires: python-gobject3
%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
%setup -qn %{name}-v%{version}
%build
%meson
%meson_build
%install
%meson_install
%check
#meson_test
%files
%doc README.md COPYING docs/*.rst
%{_bindir}/%{name}
%{python3_sitelib}/blueprintcompiler
%package devel
Summary: Development package for blueprint-compiler
%description devel
Development package for blueprint-compiler
%files devel
%{_datadir}/pkgconfig/%{name}.pc
%changelog