| 1 | Name: firp |
| 2 | Version: 0.2.0 |
| 3 | Release: 1%{?dist} |
| 4 | Summary: A modern Fortran interpreter built in Rust |
| 5 | |
| 6 | License: MIT |
| 7 | URL: https://github.com/FortranGoingOnForty/firp |
| 8 | Source0: %{name}-%{version}.tar.gz |
| 9 | |
| 10 | BuildRequires: rust >= 1.70 |
| 11 | BuildRequires: cargo |
| 12 | |
| 13 | # Disable debug package |
| 14 | %global debug_package %{nil} |
| 15 | |
| 16 | %description |
| 17 | FIRP is a modern interpreter for Fortran, built in Rust with JIT compilation |
| 18 | support via Cranelift. It provides an interactive REPL for executing Fortran |
| 19 | code on the fly. |
| 20 | |
| 21 | Features: |
| 22 | - Modern Fortran language support |
| 23 | - Interactive REPL with rustyline |
| 24 | - JIT compilation via Cranelift |
| 25 | - Parallel execution with rayon |
| 26 | - Colorized terminal output |
| 27 | |
| 28 | %prep |
| 29 | %autosetup |
| 30 | |
| 31 | %build |
| 32 | export CARGO_TARGET_DIR=target |
| 33 | cargo build --release |
| 34 | |
| 35 | %install |
| 36 | install -Dm755 target/release/%{name} %{buildroot}%{_bindir}/%{name} |
| 37 | |
| 38 | %files |
| 39 | %{_bindir}/%{name} |
| 40 | %doc README.md |
| 41 | %license Cargo.toml |
| 42 | |
| 43 | %changelog |
| 44 | * Fri Jan 10 2025 mfw <espadonne@outlook.com> - 0.2.0-1 |
| 45 | - Add real-time syntax highlighting to REPL |
| 46 | - Improved user experience with colorized Fortran code |
| 47 | |
| 48 | * Fri Jan 10 2025 mfw <espadonne@outlook.com> - 0.1.0-1 |
| 49 | - Initial RPM release of firp |
| 50 | - Fortran interpreter built in Rust |
| 51 | - Interactive REPL with JIT compilation |
| 52 | - Multi-architecture support (aarch64, x86_64) |
| 53 |