%global commit 1156b3503a04780bbdcb6a781cce87281b8bf87d %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global tag 0.3.0 %global bumpver 1 Name: wldash Version: %{tag}^%{bumpver}.git.%{shortcommit} Release: 1%{?dist} Summary: Dashboard, launcher and control panel for Wayland License: GNU GPL v3 URL: https://git.sr.ht/~kennylevinsen/%{name} Source0: https://git.sr.ht/~kennylevinsen/%{name}/archive/%{shortcommit}.tar.gz Source1: %{name}-%{shortcommit}-vendor.tar.zst BuildRequires: wayland-devel BuildRequires: fontconfig-devel BuildRequires: dbus-devel BuildRequires: pulseaudio-libs-devel BuildRequires: libxkbcommon-devel BuildRequires: rust-packaging %description A wayland launcher/dashboard with calculator, battery, volume, brightness, clock and date widgets. %prep %autosetup -n %{name}-%{shortcommit} -p1 -a1 mv %{name}-%{shortcommit}-vendor/vendor vendor %cargo_prep -v vendor %build %cargo_vendor_manifest %cargo_build %install %cargo_install %files %license LICENSE cargo-vendor.txt %doc README.md %{_bindir}/wldash %define debug_package %{nil} %changelog * Sun Nov 15 2026 Lachlan Marie - 0.3.0^1.git.1156b35-1 - Normalize spec for mx-rpm -U * Mon Mar 23 2026 Lachlan Marie - 0.3.0-3 - Update to 0.3.0 * Sat Nov 22 2025 Lachlan Marie - git^1.git.1156b35-3 - Update to commit 1156b3503a04780bbdcb6a781cce87281b8bf87d * Sun Jul 06 2025 Lachlan Marie - git^0.git.1156b35-3 - Adjusted spec to build based on git commit. - Use short commit in source filenames * Sun Jul 06 2025 Lachlan Marie - 1156b3503a04780bbdcb6a781cce87281b8bf87d-2 - Vendored rust cargo to allow offline building. * Wed Jun 04 2025 Lachlan Marie - 1156b3503a04780bbdcb6a781cce87281b8bf87d-1 - Initial RPM packaging of wldash