## 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 920e7d2b03e72043f55dbb4bddc020f407748518 %global astal_shortcommit %(c=%{astal_commit}; echo ${c:0:7}) %global bumpver 3 Name: astal-libs Version: 0~%{bumpver}.git%{astal_shortcommit} Release: %autorelease Summary: Astal libraries 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-3.0) BuildRequires: pkgconfig(astal-io-0.1) BuildRequires: pkgconfig(dbusmenu-gtk3-0.4) 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(gobject-introspection-1.0) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libnm) BuildRequires: pkgconfig(pam) BuildRequires: pkgconfig(wireplumber-0.5) 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 cd lib for lib in $(find -maxdepth 1 -mindepth 1 -type d -not -path ./astal -not -path ./cava);do pushd $lib %meson %meson_build popd done %install cd lib for lib in $(find -maxdepth 1 -mindepth 1 -type d -not -path ./astal -not -path ./cava);do pushd $lib %meson_install popd done %files %license LICENSE %config(noreplace) /etc/pam.d/astal-auth %{_bindir}/astal-apps %{_bindir}/astal-auth %{_bindir}/astal-battery %{_bindir}/astal-greet %{_bindir}/astal-hyprland %{_bindir}/astal-mpris %{_bindir}/astal-notifd %{_bindir}/astal-power-profiles %{_bindir}/astal-river %{_bindir}/astal-tray %{_libdir}/girepository-1.0/AstalApps-0.1.typelib %{_libdir}/girepository-1.0/AstalAuth-0.1.typelib %{_libdir}/girepository-1.0/AstalBattery-0.1.typelib %{_libdir}/girepository-1.0/AstalBluetooth-0.1.typelib %{_libdir}/girepository-1.0/AstalGreet-0.1.typelib %{_libdir}/girepository-1.0/AstalHyprland-0.1.typelib %{_libdir}/girepository-1.0/AstalMpris-0.1.typelib %{_libdir}/girepository-1.0/AstalNetwork-0.1.typelib %{_libdir}/girepository-1.0/AstalNotifd-0.1.typelib %{_libdir}/girepository-1.0/AstalPowerProfiles-0.1.typelib %{_libdir}/girepository-1.0/AstalRiver-0.1.typelib %{_libdir}/girepository-1.0/AstalTray-0.1.typelib %{_libdir}/girepository-1.0/AstalWp-0.1.typelib %{_libdir}/libastal-apps.so.0{,.*} %{_libdir}/libastal-auth.so.0{,.*} %{_libdir}/libastal-battery.so.0{,.*} %{_libdir}/libastal-bluetooth.so.0{,.*} %{_libdir}/libastal-greet.so.0{,.*} %{_libdir}/libastal-hyprland.so.0{,.*} %{_libdir}/libastal-mpris.so.0{,.*} %{_libdir}/libastal-network.so.0{,.*} %{_libdir}/libastal-notifd.so.0{,.*} %{_libdir}/libastal-power-profiles.so.0{,.*} %{_libdir}/libastal-river.so.0{,.*} %{_libdir}/libastal-tray.so.0{,.*} %{_libdir}/libastal-wireplumber.so.0{,.*} %files devel %{_datadir}/gir-1.0/Astal*-0.1.gir %{_datadir}/vala/vapi/astal-*-0.1.deps %{_datadir}/vala/vapi/astal-*-0.1.vapi %{_includedir}/astal-*.h %{_includedir}/astal/ %{_libdir}/libastal-apps.so %{_libdir}/libastal-auth.so %{_libdir}/libastal-battery.so %{_libdir}/libastal-bluetooth.so %{_libdir}/libastal-greet.so %{_libdir}/libastal-hyprland.so %{_libdir}/libastal-mpris.so %{_libdir}/libastal-network.so %{_libdir}/libastal-notifd.so %{_libdir}/libastal-power-profiles.so %{_libdir}/libastal-river.so %{_libdir}/libastal-tray.so %{_libdir}/libastal-wireplumber.so %{_libdir}/pkgconfig/astal-*.pc %changelog ## START: Generated by rpmautospec * Wed Nov 20 2024 John Doe - 0~3.git920e7d2-1 - Uncommitted changes ## END: Generated by rpmautospec