diff --git a/ultramarine/readymade/anda.hcl b/ultramarine/readymade/anda.hcl new file mode 100644 index 0000000..3f252be --- /dev/null +++ b/ultramarine/readymade/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "readymade.spec" + } +} diff --git a/ultramarine/readymade/readymade.spec b/ultramarine/readymade/readymade.spec new file mode 100644 index 0000000..d66acba --- /dev/null +++ b/ultramarine/readymade/readymade.spec @@ -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 diff --git a/ultramarine/readymade/update.rhai b/ultramarine/readymade/update.rhai new file mode 100644 index 0000000..6a4f29a --- /dev/null +++ b/ultramarine/readymade/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("readymade"));