add: stardust-solar-sailer-nightly (#9117) (#9129)

(cherry picked from commit 45a56431c4)

Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-01-12 16:23:18 -08:00
committed by GitHub
parent d4b9c0b16b
commit cfe1ccb39b
6 changed files with 59 additions and 0 deletions
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "stardust-solar-sailer-nightly.spec"
}
labels {
nightly = 1
}
}
@@ -0,0 +1,46 @@
%global commit 40ca9fc446756a5151275dcbac914cee399dbc4c
%global commit_date 20251218
%global shortcommit %(c=%{commit}; echo ${c:0:7})
# Exclude input files from mangling
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
Name: stardust-xr-solar-sailer-nightly
Version: 0~%{commit_date}git.%{shortcommit}
Release: 1%?dist
Summary: Glide through space! This play space mover allows you to fly by dragging the space with momentum!
URL: https://github.com/StardustXR/solar-sailer
Source0: %url/archive/%commit.tar.gz
License: MIT
BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold python3-devel
Provides: solar-sailer-nightly stardust-solar-sailer-nightly
Conflicts: stardust-xr-solar-sailer
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%summary
%prep
%autosetup -n solar-sailer-%commit
%cargo_prep_online
%build
%cargo_build
%install
mkdir -p %{buildroot}%{_datadir}/%{name}/solar_sailer
%cargo_install
install -Dm644 res/solar_sailer/move_icon.glb %{buildroot}%{_datadir}/%{name}/solar_sailer/move_icon.glb
%{cargo_license_online} > LICENSE.dependencies
%files
%doc README.md
%license LICENSE
%license LICENSE.dependencies
%_bindir/solar-sailer
%{_datadir}/%{name}/solar_sailer/move_icon.glb
%changelog
* Sun Jan 11 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit (port from stable)
@@ -0,0 +1,5 @@
rpm.global("commit", gh_commit("StardustXR/solar-sailer"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
}