## 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 1 %global _vpath_srcdir lib/astal/gtk3 Name: astal Version: 0~%{bumpver}.git%{astal_shortcommit} Release: %autorelease Summary: Building blocks for creating custom desktop shells License: LGPL-2.1-only URL: https://github.com/Aylur/astal Source0: %{url}/archive/%{astal_commit}/%{name}-%{astal_shortcommit}.tar.gz BuildRequires: gcc BuildRequires: meson BuildRequires: python3 BuildRequires: vala BuildRequires: valadoc BuildRequires: pkgconfig(astal-io-0.1) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gtk-layer-shell-0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wayland-scanner) %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for %{name}. %description %{summary}. %prep %autosetup -n %{name}-%{astal_commit} -p1 %build %meson %meson_build %install %meson_install %files %license LICENSE %{_libdir}/girepository-1.0/Astal-3.0.typelib %{_libdir}/libastal.so.3{,.*} %files devel %{_datadir}/gir-1.0/Astal-3.0.gir %{_datadir}/vala/vapi/astal-3.0.vapi %{_includedir}/astal.h %{_libdir}/libastal.so %{_libdir}/pkgconfig/astal-3.0.pc %changelog ## START: Generated by rpmautospec * Thu Nov 14 2024 John Doe - 0~1.gitd538d8e-1 - Uncommitted changes ## END: Generated by rpmautospec