diff --git a/anda/stardust/telescope/nightly/anda.hcl b/anda/stardust/telescope/nightly/anda.hcl new file mode 100644 index 0000000000..5ef65d9402 --- /dev/null +++ b/anda/stardust/telescope/nightly/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "stardust-telescope-nightly.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/stardust/telescope/nightly/stardust-telescope-nightly.spec b/anda/stardust/telescope/nightly/stardust-telescope-nightly.spec new file mode 100644 index 0000000000..18bb6cd079 --- /dev/null +++ b/anda/stardust/telescope/nightly/stardust-telescope-nightly.spec @@ -0,0 +1,55 @@ +%global commit 3f6bbbb6bfaf28da8e3635a67a7d9502ae7a7b11 +%global commit_date 20260104 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: stardust-xr-telescope-nightly +Version: 0~%{commit_date}git.%{shortcommit} +Release: 1%?dist +Summary: See the stars! Easy stardust setups to run on your computer +License: MIT +URL: https://github.com/StardustXR/telescope +Source0: %url/archive/%commit.tar.gz + +Requires: bash +Requires: xwayland-satellite +Requires: stardust-xr-armillary-nightly +Requires: stardust-xr-atmosphere-nightly +Requires: stardust-xr-black-hole-nightly +Requires: stardust-xr-comet-nightly +Requires: stardust-xr-flatland-nightly +Requires: stardust-xr-gravity-nightly +Requires: stardust-xr-magnetar-nightly +Requires: stardust-xr-non-spatial-input-nightly +Requires: stardust-xr-protostar-nightly +Requires: stardust-xr-server-nightly +Requires: stardust-xr-solar-sailer-nightly + +BuildArch: noarch +Provides: telescope-nightly stardust-telescope-nightly +Conflicts: stardust-xr-telescope + +%description +See the stars! Easy stardust setups to run on your computer. + +%prep +%autosetup -n telescope-%commit + +%build + +%install +install -Dm755 scripts/telescope %buildroot%_bindir/telescope +install -Dm755 scripts/_telescope_startup %buildroot%_bindir/_telescope_startup +install -Dm644 org.stardustxr.Telescope.desktop %buildroot%_appsdir/org.stardustxr.Telescope.desktop +install -Dm644 org.stardustxr.Telescope.png %buildroot%_hicolordir/512x512/apps/org.stardustxr.Telescope.png + +%files +%doc README.md +%license LICENSE +%_bindir/telescope +%_bindir/_telescope_startup +%_appsdir/org.stardustxr.Telescope.desktop +%_hicolordir/512x512/apps/org.stardustxr.Telescope.png + +%changelog +* Sun Jan 11 2026 Owen Zimmerman +- Initial commit (port from stable) diff --git a/anda/stardust/telescope/nightly/update.rhai b/anda/stardust/telescope/nightly/update.rhai new file mode 100644 index 0000000000..fa41be03c8 --- /dev/null +++ b/anda/stardust/telescope/nightly/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("StardustXR/telescope")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +} diff --git a/anda/stardust/telescope/anda.hcl b/anda/stardust/telescope/stable/anda.hcl similarity index 100% rename from anda/stardust/telescope/anda.hcl rename to anda/stardust/telescope/stable/anda.hcl diff --git a/anda/stardust/telescope/stardust-telescope.spec b/anda/stardust/telescope/stable/stardust-telescope.spec similarity index 100% rename from anda/stardust/telescope/stardust-telescope.spec rename to anda/stardust/telescope/stable/stardust-telescope.spec diff --git a/anda/stardust/telescope/update.rhai b/anda/stardust/telescope/stable/update.rhai similarity index 100% rename from anda/stardust/telescope/update.rhai rename to anda/stardust/telescope/stable/update.rhai