Name: uroam Version: 1.0.0 Release: 1%{?dist} Summary: Unified RAM Optimization and Management Framework License: GPLv3+ URL: https://github.com/TheCreateGM/UROAM Group: System Environment/Daemons Source0: %{name}-%{version}-binary.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc Requires: systemd %define debug_package %{nil} %description UROAM is a cross-distribution, cross-architecture Linux framework that transparently optimizes RAM for AI, gaming, development, and general workloads without requiring application changes. Features: - Architecture Abstraction Layer (AAL) for x86_64, ARM64, ARM32, RISC-V64, PPC64LE, s390x, and LoongArch64 - Rust-based daemon (uroamd) with workload classification - Memory compression via ZRAM and Zswap - Gaming optimizations (Steam/Proton/Wine detection) - Idle optimizations with automatic cache management - CLI tool (ramctl) for status and control - TOML-based configuration with multiple profiles %package -n uroam-cli Summary: CLI tool for UROAM Requires: %{name} = %{version}-%{release} %description -n uroam-cli UROAM CLI tool (ramctl) for controlling the daemon. %prep %setup -q %build # No build needed - using pre-built binaries %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_sysconfdir}/uroam mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_rundir}/uroam mkdir -p %{buildroot}%{_localstatedir}/log/uroam # Install pre-built Rust binaries install -m 755 uroamd %{buildroot}%{_bindir}/ install -m 755 ramctl %{buildroot}%{_bindir}/ # Install configuration mkdir -p %{buildroot}%{_sysconfdir}/uroam cat > %{buildroot}%{_sysconfdir}/uroam/uroam.toml << 'EOF' [general] enabled = true log_level = "info" socket_path = "/run/uroam/uroamd.sock" polling_interval_ms = 500 [zram] enabled = true size_percent = 50 num_devices = "auto" default_algorithm = "lz4" [zswap] enabled = true max_pool_percent = 20 EOF %files %{_bindir}/uroamd %dir %{_sysconfdir}/uroam %config(noreplace) %{_sysconfdir}/uroam/uroam.toml %files -n uroam-cli %{_bindir}/ramctl %changelog * Thu Apr 24 2025 UROAM Team - 1.0.0-1 - Initial release