add: monita (#6740)

This commit is contained in:
madomado
2025-10-14 00:14:28 +08:00
committed by GitHub
parent 00c0ffda81
commit 881e190bfb
3 changed files with 51 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "monita.spec"
}
labels {
nightly = 1
}
}
+38
View File
@@ -0,0 +1,38 @@
%global commit ac498cd3b228c5218dd91ab6876459a7790b3c8a
%global shortcommit %{sub %commit 1 7}
%global commit_date 20251012
Name: monita
Version: 0~%{commit_date}git.%shortcommit
Release: 1%?dist
Summary: A modern, beautiful system monitor
License: GPL-3.0-only
URL: https://github.com/tau-OS/monita
Source0: %url/archive/%commit.tar.gz
Packager: madonuko <mado@fyralabs.com>
BuildRequires: meson vala
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libhelium-1)
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(libgtop-2.0)
BuildRequires: %_bindir/update-desktop-database
%description
A modern, beautiful system monitor for Linux built with GTK4 and libhelium.
%prep
%autosetup -n %name-%commit
%build
%meson
%meson_build
%install
%meson_install
%files
%doc README.md
%license COPYING
%_bindir/com.fyralabs.Monita
%_datadir/applications/com.fyralabs.Monita.desktop
%_iconsdir/hicolor/*/apps/com.fyralabs.Monita.svg
+5
View File
@@ -0,0 +1,5 @@
rpm.global("commit", gh_commit("tau-OS/monita"));
if rpm.changed() {
rpm.release();
rpm.global("date", date());
}