Name: prismlinux-release Version: 1.0 Release: 1%{?dist} Summary: PrismLinux release files License: MIT URL: https://prismlinux.org Provides: fedora-release = 43 Provides: fedora-release(43) Provides: system-release = 43 Provides: system-release(43) Provides: redhat-release Conflicts: fedora-release Conflicts: generic-release #Requires: prismlinux-repos BuildArch: noarch %description PrismLinux release files including os-release and system identification. %install mkdir -p %{buildroot}%{_sysconfdir} # os-release cat > %{buildroot}%{_sysconfdir}/os-release << 'EOF' NAME="PrismLinux" VERSION="1.0 (Crystal)" ID=prismlinux ID_LIKE=fedora VERSION_ID=1.0 PLATFORM_ID="platform:prism1" PRETTY_NAME="PrismLinux 1.0 (Crystal)" ANSI_COLOR="0;35" LOGO=prismlinux-logo CPE_NAME="cpe:/o:prismlinux:prismlinux:1.0" HOME_URL="https://prismlinux.org/" SUPPORT_URL="https://forum.prismlinux.org/" BUG_REPORT_URL="https://bugs.prismlinux.org/" EOF # system-release cat > %{buildroot}%{_sysconfdir}/system-release << 'EOF' PrismLinux release 1.0 (Crystal) EOF # redhat-release (симлінк) ln -s system-release %{buildroot}%{_sysconfdir}/redhat-release # prismlinux-release cat > %{buildroot}%{_sysconfdir}/prismlinux-release << 'EOF' PrismLinux release 1.0 (Crystal) EOF # issue cat > %{buildroot}%{_sysconfdir}/issue << 'EOF' PrismLinux \r (\l) EOF cat > %{buildroot}%{_sysconfdir}/issue.net << 'EOF' PrismLinux EOF %files %config(noreplace) %{_sysconfdir}/os-release %config(noreplace) %{_sysconfdir}/system-release %{_sysconfdir}/redhat-release %config(noreplace) %{_sysconfdir}/prismlinux-release %config(noreplace) %{_sysconfdir}/issue %config(noreplace) %{_sysconfdir}/issue.net %changelog * Sun Nov 23 2025 CrystalNetwork Studio - 1.0-1 - Initial PrismLinux release