%global debug_package %{nil} %define reponame nushell Name: nu Version: 0.95.0 Release: 1%{?dist} Summary: A new type of shell License: MIT URL: https://github.com/nushell/%{reponame} Source: https://github.com/nushell/%{reponame}/archive/refs/tags/%{version}.tar.gz BuildRequires: cargo BuildRequires: rust BuildRequires: openssl-devel %description Nu takes cues from a lot of familiar territory: traditional shells like bash, object based shells like PowerShell, gradually typed languages like TypeScript, functional programming, systems programming, and more. But rather than trying to be a jack of all trades, Nu focuses its energy on doing a few things well: - Being a flexible cross-platform shell with a modern feel - Solving problems as a modern programming language that works with the structure of your data - Giving clear error messages and clean IDE support %prep %autosetup -n %{reponame}-%{version} %build cargo build --release --locked --workspace %install install -Dpm 0755 target/release/%{name} -t %{buildroot}%{_bindir}/ %files %license LICENSE %doc README.md %{_bindir}/%{name} %changelog * Wed Jun 26 2024 Andrey Brusnik - 0.95.0-1 - chore(nu): Bump to 0.95.0 * Tue Jun 18 2024 Andrey Brusnik - 0.94.2-2 - refactor: Make RPM specs cleaner * Tue Jun 11 2024 Andrey Brusnik - 0.94.2-1 - feat: Added nu package