# Disable debuginfo and debugsource packages for Nuitka onefile builds %global debug_package %{nil} Name: ethos Version: 0.2.0 Release: 1%{?dist} Summary: The Ethos programming language compiler. License: Apache-2.0 URL: https://github.com/AmanCode22/ethos-lang Source0: https://github.com/AmanCode22/ethos-lang/archive/refs/tags/v0.2.0-alpha.tar.gz#/ethos-lang-v0.2.0-alpha.tar.gz BuildRequires: python3-devel >= 3.7 BuildRequires: gcc BuildRequires: python3-pip BuildRequires: patchelf Requires: bash %description Ethos is a modern, lightweight programming language designed for cross-platform development. It features a native compiler powered by Nuitka, enabling fast execution and seamless distribution. %prep %setup -q -n ethos-lang-0.2.0-alpha %build python3 -m pip install --user -r requirements.txt python3 -m nuitka --assume-yes-for-downloads --onefile main.py --output-filename=ethos %install mkdir -p %{buildroot}%{_bindir} install -m 0755 ethos %{buildroot}%{_bindir}/ethos %files %{_bindir}/ethos %changelog * Sat Jan 01 2025 Aman Adlakha - 0.2.0-1 - Initial RPM build with Nuitka and debug package fix.