# # spec file for package bat # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: bat Version: 0.12.1 Release: 0 Summary: A cat(1) clone with syntax highlighting and Git integration License: MIT OR Apache-2.0 Group: Productivity/Text/Utilities URL: https://github.com/sharkdp/bat Source0: https://github.com/sharkdp/bat/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: vendor.tar.xz # Instructions on how to generate vendor.tar.xz Source2: README.packager BuildRequires: cargo BuildRequires: clang BuildRequires: cmake BuildRequires: rust BuildRequires: rust-std BuildRequires: zlib-devel %description A cat(1) clone which supports syntax highlighting for a large number of programming and markup languages. It has git integration and automatic paging. %prep %setup -qa1 mkdir .cargo cat >.cargo/config <