add: vetro and desktops/singularity folder (#12359) (#12361)

* add: vetro and desktops/singularity folder



* oop



---------


(cherry picked from commit 7039e2db20)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-05-16 17:33:11 -05:00
committed by GitHub
parent cb17210748
commit 46a239bfcc
3 changed files with 55 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "vetro.spec"
}
labels {
nightly = 1
}
}
@@ -0,0 +1,5 @@
rpm.global("commit", gh_commit("singularityos-lab/vetro"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
}
@@ -0,0 +1,42 @@
%global commit 751ccb251d9fb2c472e193bc478c3b928e3514c9
%global commit_date 20260405
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global goipath github.com/singularityos-lab/vetro
Version: 0~%{commit_date}git.%{shortcommit}
%gometa -f
Name: vetro
Release: 1%{?dist}
Summary: Declarative GTK4 UI transpiler with a built-in Language Server Protocol (LSP) server
URL: https://github.com/singularityos-lab/vetro
Source0: %{url}/archive/%{commit}/vetro-%{commit}.tar.gz
License: MIT
BuildRequires: golang
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%{summary}.
%gopkg
%prep
%autosetup -n vetro-%{commit}
%build
%define gomodulesmode GO111MODULE=on
%gobuild -o %{gobuilddir}/bin/vetro .
%install
install -Dm755 %{gobuilddir}/bin/vetro %{buildroot}%{_bindir}/vetro
%files
%{_bindir}/vetro
%license LICENSE
%doc README.md
%changelog
* Sat May 16 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit