Group :: Development/GNOME and GTK+
RPM: blueprint-compiler
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_enable snapshot
%define ver_major 0.10
%define beta %nil
%define pypi_name blueprintcompiler
%def_disable docs
%def_enable check
Name: blueprint-compiler
Version: %ver_major.0
Release: alt1%beta
Summary: A markup language for GTK user interface files
Group: Development/GNOME and GTK+
License: GPL-3.0
Url: https://gitlab.gnome.org/jwestman/blueprint-compiler
%if_disabled snapshot
Source: %url/-/archive/v%version/%name-%version%beta.tar.bz2
%else
Vcs: https://gitlab.gnome.org/jwestman/blueprint-compiler.git
Source: %name-%version%beta.tar
%endif
BuildArch: noarch
BuildRequires(pre): rpm-macros-meson rpm-build-python3 rpm-build-gir
BuildRequires: meson
%{?_enable_check:BuildRequires: xvfb-run /bin/dbus-launch python3-module-pygobject3
BuildRequires: fontconfig at-spi2-core typelib(Adw) = 1}
%description
%summary
See also https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/
%prep
%setup -n %name-%version%beta
%build
%meson \
%{?_enable_docs:-Ddocs=true}
%nil
%meson_build
%install
%meson_install
%find_lang %name
%check
xvfb-run %__meson_test -t 2
%files -f %name.lang
%_bindir/%name
%python3_sitelibdir_noarch/%pypi_name/
%_datadir/pkgconfig/%name.pc
%doc NEWS* README*
%changelog
…
Full changelog you can see here
%define ver_major 0.10
%define beta %nil
%define pypi_name blueprintcompiler
%def_disable docs
%def_enable check
Name: blueprint-compiler
Version: %ver_major.0
Release: alt1%beta
Summary: A markup language for GTK user interface files
Group: Development/GNOME and GTK+
License: GPL-3.0
Url: https://gitlab.gnome.org/jwestman/blueprint-compiler
%if_disabled snapshot
Source: %url/-/archive/v%version/%name-%version%beta.tar.bz2
%else
Vcs: https://gitlab.gnome.org/jwestman/blueprint-compiler.git
Source: %name-%version%beta.tar
%endif
BuildArch: noarch
BuildRequires(pre): rpm-macros-meson rpm-build-python3 rpm-build-gir
BuildRequires: meson
%{?_enable_check:BuildRequires: xvfb-run /bin/dbus-launch python3-module-pygobject3
BuildRequires: fontconfig at-spi2-core typelib(Adw) = 1}
%description
%summary
See also https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/
%prep
%setup -n %name-%version%beta
%build
%meson \
%{?_enable_docs:-Ddocs=true}
%nil
%meson_build
%install
%meson_install
%find_lang %name
%check
xvfb-run %__meson_test -t 2
%files -f %name.lang
%_bindir/%name
%python3_sitelibdir_noarch/%pypi_name/
%_datadir/pkgconfig/%name.pc
%doc NEWS* README*
%changelog
…
Full changelog you can see here