mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* package readymade (https://github.com/ublue-os/titanoboa/issues/66)
* omit branding
(cherry picked from commit b1349d1c45)
Co-authored-by: Pornpipat Popum <cappy@cappuchino.xyz>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "readymade.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
Name: readymade
|
||||
Version: 0.11.2
|
||||
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
|
||||
BuildRequires: cmake
|
||||
|
||||
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
|
||||
License: MIT
|
||||
Requires: readymade
|
||||
Provides: readymade-config
|
||||
|
||||
%description config-ultramarine
|
||||
This package contains the configuration files for Readymade to install Ultramarine Linux.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
./install.sh %buildroot
|
||||
ln -sf %{_datadir}/applications/com.fyralabs.Readymade.desktop %{buildroot}%{_datadir}/applications/liveinst.desktop
|
||||
|
||||
%find_lang com.fyralabs.Readymade
|
||||
|
||||
%files config-ultramarine
|
||||
%_sysconfdir/readymade.toml
|
||||
|
||||
|
||||
%files -f com.fyralabs.Readymade.lang
|
||||
%_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 @@
|
||||
rpm.version(gh_tag("FyraLabs/readymade"));
|
||||
Reference in New Issue
Block a user