mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
8dab199f66
* bump: heroic-games-launcher Signed-off-by: Gilver <rockgrub@disroot.org> * bump: readymade-git Signed-off-by: Gilver <rockgrub@disroot.org> --------- Signed-off-by: Gilver <rockgrub@disroot.org>
65 lines
1.9 KiB
RPMSpec
65 lines
1.9 KiB
RPMSpec
%global commit eced36223a7683dec87af0f6496a5c01ff757bab
|
|
%global commit_date 20250610
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
Name: readymade-git
|
|
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
|
|
Obsoletes: readymade-nightly < 20250502.4dc78ec-3
|
|
|
|
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-git
|
|
Provides: readymade-git-config
|
|
Conflicts: readymade-config-ultramarine
|
|
Obsoletes: readymade-nightly-config-ultramarine < 20250502.4dc78ec-3
|
|
|
|
%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
|
|
%{cargo_build} --locked
|
|
|
|
%install
|
|
install -Dm755 target/rpm/readymade -t %buildroot%_bindir
|
|
./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
|
|
%ghost %_datadir/readymade
|
|
%_datadir/icons/hicolor/scalable/apps/com.fyralabs.Readymade.svg
|