## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global astal_commit d538d8e1b789f9c5fd673c9bc00eb18d4be6a6f3 %global astal_shortcommit %(c=%{astal_commit}; echo ${c:0:7}) %global bumpver 3 %global debug_package %{nil} %global _vpath_srcdir lang/gjs Name: astal-gjs Version: 0~%{bumpver}.git%{astal_shortcommit} Release: %autorelease Summary: Astal GJS pacakge License: LGPL-2.1-only URL: https://github.com/Aylur/astal Source0: %{url}/archive/%{astal_commit}/%{name}-%{astal_shortcommit}.tar.gz BuildRequires: meson BuildRequires: pkgconfig(astal-io-0.1) BuildRequires: pkgconfig(astal-3.0) Requires: gjs%{?_isa} Requires: astal-io%{?_isa} Supplements: astal %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for %{name}. %description %{summary}. %prep %autosetup -n astal-%{astal_commit} -p1 %build %meson %meson_build %install %meson_install %files %license LICENSE %dir %{_datadir}/astal %{_datadir}/astal/gjs/ %files devel %{_libdir}/pkgconfig/%{name}.pc %changelog ## START: Generated by rpmautospec * Thu Nov 14 2024 John Doe - 0~3.gitd538d8e-1 - Uncommitted changes ## END: Generated by rpmautospec