Skip to content

Commit

Permalink
Merge pull request #28 from Ultramarine-Linux/w/readymade
Browse files Browse the repository at this point in the history
feat(readymade): add readymade installer
  • Loading branch information
lleyton authored Dec 8, 2024
2 parents 39feca4 + 2e8a522 commit 5b025f9
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ultramarine/readymade/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "readymade.spec"
}
}
34 changes: 34 additions & 0 deletions ultramarine/readymade/readymade.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Name: readymade
Version: 0.2.0
Release: 1%?dist
Summary: Install ready-made distribution images!
License: MIT
URL: https://github.com/FyraLabs/readymade
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
BuildRequires: anda-srpm-macros rust-packaging mold
BuildRequires: pkgconfig(libhelium-1)
BuildRequires: pkgconfig(gnome-desktop-4)
BuildRequires: clang-devel

%description
Readymade is a Linux Distribution installer based on the great distinst library by System76.

It is created as a replacement to Red Hat's Anaconda installer for Ultramarine Linux and tauOS after we have heard many complaints about the poor UX design of Anaconda, and the lack of working alternative installers for RPM-based distributions.

%prep
%autosetup
%cargo_prep_online

%build

%install
%cargo_install
./install.sh %buildroot

%find_lang com.fyralabs.Readymade

%files -f com.fyralabs.Readymade.lang
%_bindir/readymade
%_datadir/polkit-1/actions/com.fyralabs.pkexec.readymade.policy
%_datadir/readymade
%_sysconfdir/readymade.toml
1 change: 1 addition & 0 deletions ultramarine/readymade/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(crates("readymade"));

0 comments on commit 5b025f9

Please sign in to comment.