Name: bat Version: 0.23.0 Release: 1 Summary: A cat(1) clone with syntax highlighting and Git integration. License: Apache-2.0, MIT URL: https://github.com/sharkdp/bat Source0: https://gitee.com/zerocraft/bat/blob/master/bat-%{version}.tar.gz Source1: config BuildRequires: cargo git %description A cat(1) clone with syntax highlighting and Git integration. %prep %setup -n %{name}-%{version} mkdir -p ~/.cargo/ cp %{SOURCE1} ~/.cargo/ cargo -V cargo check %build cargo build --release %install ls target/release -al target/release/bat README.md %changelog * 07 06 2023 zerocraft - 0.23.0 - openEuler init