mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit 5401ab57c1)
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "readymade-nightly.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
%global commit c0eeb68ca45c7aca207c874b9ecd53e6300c900a
|
||||
%global commit_date 20250418
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: readymade-nightly
|
||||
Version: %commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
Summary: Install ready-made distribution images!
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://github.com/FyraLabs/readymade
|
||||
Source0: %url/archive/%commit.tar.gz
|
||||
BuildRequires: anda-srpm-macros rust-packaging mold
|
||||
BuildRequires: pkgconfig(libhelium-1)
|
||||
BuildRequires: pkgconfig(gnome-desktop-4)
|
||||
BuildRequires: clang-devel
|
||||
BuildRequires: cmake
|
||||
Conflicts: readymade
|
||||
|
||||
Requires: efibootmgr
|
||||
|
||||
%description
|
||||
Readymade is a simple Linux Distribution installer.
|
||||
|
||||
It is created as a replacement to Red Hat's Anaconda installer.
|
||||
|
||||
|
||||
%package config-ultramarine
|
||||
Summary: Readymade Configuration for Ultramarine Linux
|
||||
Requires: readymade-nightly
|
||||
Provides: readymade-nightly-config
|
||||
Conflicts: readymade-config-ultramarine
|
||||
|
||||
%description config-ultramarine
|
||||
This package contains the configuration files for Readymade to install Ultramarine Linux.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n readymade-%commit
|
||||
ls -l
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
./install.sh %buildroot
|
||||
ln -sf %{_datadir}/applications/com.fyralabs.Readymade.desktop %{buildroot}%{_datadir}/applications/liveinst.desktop
|
||||
|
||||
|
||||
%files config-ultramarine
|
||||
%_sysconfdir/readymade.toml
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%_bindir/readymade
|
||||
%_datadir/polkit-1/actions/com.fyralabs.pkexec.readymade.policy
|
||||
%_datadir/applications/com.fyralabs.Readymade.desktop
|
||||
%_datadir/applications/liveinst.desktop
|
||||
%_datadir/readymade
|
||||
%_datadir/icons/hicolor/scalable/apps/com.fyralabs.Readymade.svg
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
rpm.global("commit", gh_commit("FyraLabs/readymade"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
Reference in New Issue
Block a user