File blueprint-compiler.spec of Package blueprint-compiler

#
# spec file for package blueprint-compiler
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

Name:           blueprint-compiler
Version:        0.8.1+git20230517.aa76796
Release:        0
Summary:        A markup language for GTK user interfaces
License:        LGPL-3.0-only
URL:            https://gitlab.gnome.org/jwestman/%{name}
Source:         %{name}-%{version}.tar.gz
BuildRequires:  meson
# https://gitlab.gnome.org/jwestman/blueprint-compiler/-/issues/91
Requires:       python3-gobject
BuildArch:      noarch

%description
A markup language for GTK user interfaces.
Docs: https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/

%package devel
Summary: Development files for blueprint-compiler

%description devel
Development files and headers for blueprint-compiler

%prep
%autosetup

%build
%meson
%meson_build

%install
%meson_install
sed -i '1s|#!/usr/bin/env |#!/usr/bin/|' %{buildroot}%{_bindir}/blueprint-compiler

%files
%license COPYING
%doc README.md NEWS.md
%{_bindir}/blueprint-compiler
%{python_sitelib}/blueprintcompiler

%files devel
%{_datadir}/pkgconfig/%{name}.pc

%changelog

openSUSE Build Service is sponsored by