Name: oils-for-unix Version: 0.23.0 Release: 1%{?dist} Summary: command language interpreter License: Apache 2.0 URL: https://www.oilshell.org Source0: https://www.oilshell.org/download/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: readline-devel Requires: readline %description The osh utility is a bash(1)-compatible command language interpreter: it reads commands either from standard input, a script file or com‐ mand-line arguments and executes them. osh accepts POSIX sh(1) arguments, with the following differences: -n Only validate the syntax. Also prints the AST. --ast-format What format the AST should be in. %prep %autosetup %build ./configure --with-readline _build/oils.sh %install rm -rf $RPM_BUILD_ROOT install -p -D -m 0755 _bin/cxx-opt-sh/%{name} %{buildroot}%{_bindir}/%{name} install -p -D -m 0644 doc/osh.1 %{buildroot}%{_mandir}/man1/osh.1 ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/osh ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/ysh %files %license LICENSE.txt %doc README-native.txt %{_bindir}/%{name} %{_bindir}/osh %{_bindir}/ysh %{_mandir}/man1/osh.1.gz %changelog * Thu Sep 26 2024 Tonkünstler-on-the-Bund - First oils-for-unix package